Gatling for Load/Soak Testing


I am trying to create a pattern for my performance testing, such that I want to ramp up users to a maximum in some ‘T1’ time/duration, which I can easily do using the users and ramp options.
However, after this I want to maintain the same(consistent) load for some ‘T2’ duration.

How can I achieve the same with Gatling?

In Gatling 1, the only way it to have your users last long enough, for example with a during loop.
In Gatling 2, you have a nice injection DSL:



Thanks for the prompt reply, that was very helpful

You’re welcome.
Have fun!