I was playing with “minIterationDuration”: “15s” and script got stuck for that duration after which it exited with “setup timeout” error. The only way to avoid setup timeout is to set setupTimeout option with value higher than minIterationDuration. This doesn’t look like expected behavior. Why would iteration setting affect setup?
Hi, thank you for reporting this. You are right,
minIterationDuration shouldn’t affect
setup() and `teardown(), so this is a bug. I’ve added a new issue about it: minIterationDuration must not apply in setup() and teardown() · Issue #1003 · grafana/k6 · GitHub