Skip to content
New issue

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

Support for websockets? #323

Closed
abslodov opened this issue Aug 20, 2015 · 4 comments
Closed

Support for websockets? #323

abslodov opened this issue Aug 20, 2015 · 4 comments

Comments

@abslodov
Copy link

Howdy,

I have an app I'd like to test out using Locust but it also requires my clients have open websockets as well - does anyone have an example for something similar? I've seen this #17 (comment), and http://docs.locust.io/en/latest/testing-other-systems.html but I'm hoping for a solid example if possible.

Thanks!

@abslodov abslodov closed this as completed Sep 1, 2015
@irshad-qb
Copy link

inexion : Can you please provide an example for websocket support?

@abslodov
Copy link
Author

@irshad-qb sure, so I have an app that simultaneously connects all clients to a websocket server as well as the normal app server - in this case it would be great to simultaneously test both servers since that would be an accurate test...

@irshad-qb
Copy link

@inexion I asked since you closed the issue. I also actually need an example to test my webSocket server using locust. Could you provide me one ? I saw the custom client support and the eg for the same in doc. But I dint understand it correctly.

@ad34
Copy link

ad34 commented Nov 28, 2018

I m using locustio together with websocket-client library. it is working fine, but I still experiencing a few issue, for exemple if I restart my server , only a few part of the total client get reconnected, even if I added a call to self.on_start() in all exception cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants