We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Artillery fails to caputure websocket responses and display the messages_received count and rate
Version info:
Artillery: 2.0.6 Node.js: v21.5.0 OS: linux
Running this command:
artillery run test.yml
I expected to see this happen:
I expected to see the following stats on top of all the others
websocket.messages_received websocket.receive_rate
The websocket (wss://echo.websocket.org) echoes back as expected, verified with Postman.
Instead, this happened:
All VUs finished. Total time: 26 seconds -------------------------------- Summary report @ 14:30:24(+0530) -------------------------------- vusers.completed: .............................................................. 200 vusers.created: ................................................................ 200 vusers.created_by_name.My WebSocket test: ...................................... 200 vusers.failed: ................................................................. 0 vusers.session_length: min: ......................................................................... 4326 max: ......................................................................... 4588.5 mean: ........................................................................ 4382.4 median: ...................................................................... 4403.8 p95: ......................................................................... 4492.8 p99: ......................................................................... 4583.6 websocket.messages_sent: ....................................................... 400 websocket.send_rate: ........................................................... 20/sec artillery run test.yml 11.56s user 1.19s system 43% cpu 29.190 total
Files being used:
test.yml configuration
config: target: "wss://echo.websocket.org" phases: - duration: 20 arrivalRate: 10 ws: # Set WebSocket subprotocols: scenarios: - name: My WebSocket test engine: ws # Enable the Socket.io engine flow: - send: "Hello world!" - think: 3 - send: "Booo" - think: 1
Others: On top of that, debug messages printed with DEBUG=ws artillery run test.yml only shows SENT messages. There's no mention of RECEIVED messages.
DEBUG=ws artillery run test.yml
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Artillery fails to caputure websocket responses and display the messages_received count and rate
Version info:
Running this command:
I expected to see this happen:
I expected to see the following stats on top of all the others
The websocket (wss://echo.websocket.org) echoes back as expected, verified with Postman.
Instead, this happened:
Files being used:
test.yml configuration
Others:
On top of that, debug messages printed with
DEBUG=ws artillery run test.yml
only shows SENT messages. There's no mention of RECEIVED messages.The text was updated successfully, but these errors were encountered: