You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a setup function is present the iteration_duration metrics are wrong.
It seems that the time used to run setup() is incorporated into the iteration_duration metric.
Brief summary
If a setup function is present the iteration_duration metrics are wrong.
It seems that the time used to run
setup()
is incorporated into theiteration_duration
metric.Maybe related to #2718
k6 version
v0.51.0
OS
Linux
Docker version and image (if applicable)
No response
Steps to reproduce the problem
script.js
Expected behaviour
iteration_duration metrics (avg, min, med, max, p(90), p(95)) are all 1s.
Actual behaviour
iteration_duration min shows a very low value:
The time used to run
setup()
is incorporated into theiteration_duration
metric.If put a
sleep(1)
into the setup function the metric appears correct.The text was updated successfully, but these errors were encountered: