Hi,
I have a simulation that I’d like to run multiple times with a different number of users. Basically, I want to see how the application behaves with, say, 100, 200, 300 users.
I tried doing something like this:
`
val hundred = scenario("100 Users").exec(MyTest.test)
val two_hundred = scenario("200 Users").exec(MyTest.tes)
val three_hundred = scenario("200 Users").exec(MyTest.tes)
setUp(hundred.inject(atOnceUsers(100)),
two_hundred.inject(atOnceUsers(200)),
three_hundred.inject(atOnceUsers(300))
).protocols(httpProtocol)
`
The problem is that gatling seems to run all of them at once, which sort of defeats my purpose (it’s running with 600 users at once).
Is there any way to achieve this? Am I looking at the problem the wrong way?
Right now I just have a single scenario, and I update the users for every run. Which is a bit cumbersome.
Thanks!
Roberto