[Question] How to monitor messages arriving on socket.io channel?
See original GitHub issueI understand how flows can be written to emit socket.io messages and wait (for some indeterminate amount of time) for a response message, but how would we write flows that can receive arbitrary (real-time) messages sent from other virtual users?
I can envision some type of monitor
function that receives messages for a given flow and can verify that they are correct. Perhaps this monitoring can occur during a “think” phase.
I don’t see anything in the documentation that addresses this type of real-time message validation. Is that consistent with the vision for Artillery?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:18 (9 by maintainers)
Top Results From Across the Web
Keep track of the messages sent on a socket, socket.io
1 Answer 1 ... Just create a table for the messages and make sure one of the columns is the chatroom name or...
Read more >Emit cheatsheet
Emit cheatsheet | Socket.IO. This is documentation for Socket.IO 3. x, which is no longer actively maintained. For up-to-date documentation, ...
Read more >Everything you need to know about Socket.IO
Inside the function we are using io.emit() to send a message to all the connected clients. This code will notify when a user...
Read more >Realtime Chat With Users & Rooms - Socket.io, Node & Express
In this project we will build a chat app using Node, express & websockets in under 60 minutesCode:https://github.com/bradtraversy/chatcord ...
Read more >WebSocket: message event - Web APIs | MDN
The message event is fired when data is received through a WebSocket.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hassy hi! I am looking if you have tried to implement Listen/Receive Events feature on Artillery. This feature is something I need in my load testing where I am trying to Emit and Listen on like 50+ users.
Any work around from your side would be really appreciated. Thanks!!
@hassy @gboysko Is anyone working on this feature? I need this feature but I’m new to the Artillery code base. Any pointer on how this can be implemented?