I am beginner in GATLING. I want to execute performance scenarios with below expectations:
Start with 10 user and add every 5 min 50 user. This means:
below is my simulation setup:
setUp(Scenarios.inject(
nothingFor(5 seconds),
atOnceUsers(Environment.atOnceusersCount.toInt),
rampUsers(Environment.rampUsersCount.toInt) during (Environment.durationForRampusers.toInt seconds)
)
where rampUsersCount = 2
durationForRampusers = 10 seconds
I want to understand how to increase rampUsers
count gradually.
Use either incrementUsersPerSec
or incrementConcurrentUsers
, depending on if you want an open or closed workload model, see official documentation .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.