Load Testing · Middle · Question 9 of 76
What does startTime do in a k6 scenario?
- 1Defines how long a VU waits before each iteration
- 2Sets the wall-clock time when the whole test must begin
- 3Delays the start of that scenario relative to the test start
Show the answer
Correct answer: Delays the start of that scenario relative to the test start
Explanation
With several scenarios you can run, say, a background load from 0s and a spike scenario starting at startTime: '5m'.