-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Differences between tests run in cloud vs run environments #864
Comments
Thanks for mentioning those differences and sorry for the delayed response!
And finally, the bug you described in point 1 is also perfectly valid and we will leave this issue open until we fix it |
❗ Yeah, well spotted, it seems like I inadvertently fixed the bug from point 1 and forgot that it had its own issue 🎉 Closing this now! 🎊 What's more, the bug from point 2 would be coincidentally fixed by #1007! 3 and 4 are in the roadmap as well, though their implementation depends more on changes in the cloud execution backend, not k6... |
thanks! |
Hi,
During my tests with k6 (v0.23.0, brew installed on MacOS), I have found a few differences which have confused me a bit. As I didn't see it mentioned anywhere in the docs, I'm opening this issue. BTW, great work on k6, it's an awesome tool. Differences are:
-c
parameter works withk6 run
and doesn't work withk6 cloud
When I fire a
k6 run -c config.json test.js
, the configurations are read properly from the config.json file and added to the options variable. When using it via the cloud environment (k6 cloud -c config.json test.js
). K6 fails with the message below:One thing to notice is that
k6 cloud --help
does show-c
as a possible parameter.options
variable is available on thesetup
function when executing the test locally, but it isn't available when running it withk6 cloud
. It would be great to have the options variable available there. One possible use case is: based on the number of VUs being used for a given test, create and authenticate X numbers with my application--http-debug
works when executing a test withk6 run
, but produces no output when executing it withk6 cloud
k6 run
, I can see output fromconsole.log
calls coming from a test JS script. That's not the same case withk6 cloud
, even though the parameter is listed underk6 cloud --help
I'm aware that there might be a performance reason behind these differences, but would like to point them out, as maybe updating the docs for these items while they are different can potentially help other users.
Thanks!
Gabriel
The text was updated successfully, but these errors were encountered: