Hi,
using latest version of gatling for API testing.
configured loops in scenario. In closed model, need to understand how to control the rampdown. can you please help?
For example, below are the details given (just for understanding)
setUp(
scn.inject(
incrementConcurrentUsers(2)
.times(3)
.eachLevelLasting(30 seconds)
.separatedByRampsLasting(2 seconds)
.startingFrom(2)
)
).maxDuration(5 minutes)
used ‘during’ Loop in scenario. In this case it is during(94 seconds)
94 seconds arrived based on 3 level * 30 seconds + 2 ramp * 2 seconds
Ramp down also taking the same time as actual level schedule. Attached snapshot for reference.
thank you very much for your time.
Thanks
sakthivel raja v
Closed model support currently only starts new users if the target isn’t reached.
It doesn’t “kill” users in the middle of their scenario when the current number of concurrent users is above the target.
Hi Stephane,
Thanks for your time and feedback.
Still i am not able to understand the line ‘if the target isn’t reached’. Since the simulation is defined exactly. In my case, it is defined as 3 level where each level lasting 30 seconds. It should end once 3 level satisfies the 30 second duration.
can you please provide me some details in this?
Again, Thanks for your time Stephane.
Thanks and Regards,
Sakthivel Raja V
Sorry, I can’t investigate if you don’t provide an SSCCE as requested in this mailing list rules:
Provide a Short, Self Contained, Correct (Compilable), Example (see http://sscce.org/)
Sorry, I can't investigate if you don't provide an SSCCE as requested in this
mailing list rules <https://groups.google.com/g/gatling>:
*Provide a **Short, Self Contained, Correct (Compilable), Example (see
**http://sscce.org/
<http://sscce.org/>)*
[image: Logo] <https://gatling.io>
*Stéphane Landelle**Chief Technical Officer*
twitter: @slandelle <https://twitter.com/slandelle>
site: gatling.io