How to set up the constant active user

I use rampUsers(20) over(120) in my gatling load test. But I got the following result for active users. I expected the active users should be a constant rate during the test.

rampUsers is a closed model injection profile where you just specify the arrival rate of users. So you’re starting a user every 6 seconds, but each user is finishing the scenario in less than that so there’s never more than one active at a time.

it sounds like you want something like constantConcurrentUsers(20) during (120)

rampUsers is an open model injection profile :slight_smile: