Load Testing · Middle · Question 37 of 76
In Gatling, what is the difference between constantUsersPerSec and constantConcurrentUsers?
- 1The first is an open model (arrivals), the second a closed model
- 2The first is for HTTP, the second only for WebSockets
- 3The first runs on one machine, the second on many
Show the answer
Correct answer: The first is an open model (arrivals), the second a closed model
Explanation
Gatling separates open injection (users arrive at a rate) from closed injection (keep N users). Mixing them in one population isn't allowed.