-
Notifications
You must be signed in to change notification settings - Fork 232
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
Improve externally-controlled
executor docs to explain internals better
#615
Comments
This can't be done because "max" VUs basically means "initialized" VUs, and you can't initialize infinite VUs. To see what I mean, run your script with
That said, https://k6.io/docs/using-k6/scenarios/executors/externally-controlled can probably be greatly improved, so I'll move this issue to the k6-docs repo and rename it. It somewhat overlaps with #148 and #367, but is specific enough to merit its own issue. |
maxVUs
for externally-controlled executor should imply "unlimited"externally-controlled
executor docs to explain internals better
Should we not code a default |
What value would that have and why? Given that you can adjust the max VUs once a k6 test run has been started, I don't see a lot of utility in it. Improving the docs and potentially the k6 error messages seems both more beneficial and less problematic 🤷♂️ |
To me, the error message made perfect sense, but what didn't make sense is the usage. If I don't deny that documentation can always be improved, but to me, it's not the best usability for the API. |
It doesn't. The k6 test run could have other
Again, what do you think is a reasonable default? I don't think such a value can be determined 😕 Maybe I am not saying the current API is the best, I already mentioned that |
Feature Description
Attempts to scale up a test run will fail unless a maximum value is also specified or has previously been specified.
Start a script with the basic options below:
Attempt to scale up using k6 commandline:
Scaling up while also providing the maximum (e.g.
k6 scale --vus 2 --max 10
) works successfully, as expected.I feel that unless explicitly set, the max should be understood as being unlimited. Otherwise, the
maxVUs
setting should be a required parameter for the externally-controlled executor configuration options.Suggested Solution (optional)
No response
Already existing or connected issues / PRs (optional)
No response
The text was updated successfully, but these errors were encountered: