Gatling: how to set users only for the specific step in ramp up and down test?

63 views
Skip to first unread message

Iryna Samchuk

unread,
May 18, 2021, 10:11:55 AM5/18/21
to Gatling User Group
Hi,
I am implementing Gatling tests where users are ramped up and the ramped down.
For example, I need to run test with 4 users for 1minutes and add 4 more users after every 1 minute while I achieve 3 steps and than decreases users after every 1 minutes to have 4 users back. 
Now I am using incrementConcurrentUsers() with repeat(1). And simulation looks like:
2021-05-18_16h55_50.png

But I don't want every time to start new users and send only one request.

Is there way to allow users to be terminated inside each step and start new users for the new step? 
I think that it can be done with during() usage for scenario but can't find the solution.
Please suggest me something. 

Thanks,
Iryna
Reply all
Reply to author
Forward
0 new messages