-
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
Iteration duration is calculated incorrectly when vus's are more than requests per second #1631
Comments
This is expected. I would argue that given that we now have arrival rate executors they are a much better match and are probably what you need. With them you can say that you want X number of iterations to be started every Y timeUnits and so if you just have 1 HTTP request inside you will get what I am not going to close it as I would argue given the above solution |
Thanks for your detailed analysis MStoykov. Really appreciate it. Going forward, i will use the arrival rate executors. |
Closing this in favor of grafana/k6-docs#187 |
Environment
Expected Behavior
The Iteration duration should be calculated only on the basis of active VU's which have been used in the test.
Actual Behavior
When the VU's are more than rps, the iteration_duration values ( average, min, med etc) are showing very high values.
Assumption: It looks like while calculating the iteration_duration, when there are lot of VU's which are idle, the iteration_duration is shown more than what is actually required.
Steps to Reproduce the Problem
Results
The text was updated successfully, but these errors were encountered: