If it takes a single user 2 minutes to complete the scenario flow, since the request is for 10 users to execute concurrently, after the rampUpTime of 2 minutes, will Gatling just keep adding users continually to keep the concurrent user count at 10 until the 20 minutes is up?
If not, how would I change this so that after the ramp up time, the number of users stays consistently at 10
Given the previous discussions, I think @trinp 's advice is better suited.
IIRC, you want the same users to loop (reuse). Then use a loop.
Again, maxDuration neither makes your users loop or last longer, nor have any impact on your injection profile (which controls when new users are started).
It forcefully stops the test after a given duration, typically when you’re using a forever loop of because your tests triggers so many long timeouts that it would take forever. As the name states, it just controls the maximum duration of the test.