Load Testing · Middle · Question 39 of 76
In Locust, what does wait_time = between(1, 3) do?
- 1Limits each request to 1-3 seconds of timeout
- 2Makes each user wait 1-3 seconds between tasks
- 3Starts between 1 and 3 users per second
Show the answer
Correct answer: Makes each user wait 1-3 seconds between tasks
Explanation
It is think time. The number of users and the spawn rate are set when starting the test, not in the class.