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

Websocket Question #1000

Closed
davidmoshal opened this issue Apr 13, 2019 · 2 comments
Closed

Websocket Question #1000

davidmoshal opened this issue Apr 13, 2019 · 2 comments
Labels

Comments

@davidmoshal
Copy link

Hi, I'm looking to stress test a system using websockets.
Specifically I'd like to know about error rates with different server configurations.

As I understand it, K6 is written in Go, using Goja JS interpreter + babel.js,
ie: not representative of any real-world client.

So, my question is whether it's possible to have K6 control a real browser (eg puppeteer) and report on errors generated ?

@na--
Copy link
Member

na-- commented Apr 17, 2019

Hi @davidmoshal, you can't control a real browser with k6. In general, k6 scripts are very insulated from the environment they're running on, so you can't control other processes.

That said, I'm not sure in what way you find k6 websockets lacking and unrepresentative of real-world clients. They can certainly be improved (most notably by #865 (comment)), but even so, they should still be enough to stress test a system in a lot of cases.

I'm closing this issue, since github issues aren't the best place for questions, but feel free to open a topic on the community forum for further discussion. Or, if you have specific change suggestions or bug reports, feel free to reopen this issue or open a new one.

@na-- na-- closed this as completed Apr 17, 2019
@na-- na-- added the question label Apr 17, 2019
@davidmoshal
Copy link
Author

thanks

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

No branches or pull requests

2 participants