I'm working on a polling tool and want a bunch of users to connect to my nodejs server from a React Native app via websockets. To be able to poll the user needs to login first. It is already working, when I log in with one user and do the poll.
I want to test it as there were multiple users at the same time using the app and doing the poll, so that I can see if everything is working and see the poll results changing in real time.
How can I build those test requests to a webserver via websockets from let's say 20 different virtual clients? My main problems is that I have no idea how to simulate those 20 different virtual clients connecting to a websocket and to let them fake-react to push messages coming from the server. Which tools/frameworks would be good to use here also maybe with automatic session/cookie management for the login?
Aucun commentaire:
Enregistrer un commentaire