setUp(scn.inject(atOnceUsers(numUsers)).throttle(reachRps(20) in (40 seconds),holdFor(1000 seconds))
.protocols(httpConf)
I am expecting the rps to ramp up from 0 to 20 in 40 seconds, then to remain constant at 20 rps for 1000 seconds.
What is happening is after the initial ramp the rps resets to 0 and it ramps up again over 40 seconds, leading to a saw profile over time.
Is my config/understanding wrong or is there a defect?
Thanks,
Alex
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
2014-04-11 16:59:22 11s elapsed
---- get pseudo-random sequence of images --------------------------------------
[##########################################################################]100%
waiting: 0 / running: 0 / done:30
I tried
setUp(scn.inject(constantUsersPerSec(21).during(1000 seconds)).throttle(reachRps(20) in (40 seconds),holdFor(1000 seconds))
but it still resets to 0rps every 40 seconds
tried
setUp(scn.inject(constantUsersPerSec(5).during(1000 seconds))
roughly every 90 seconds
I don't really understand the difference between inject with throttle and just inject.
I need an arrival rate for an open workload model, which seems to be provided by inject, and if implemented reliably shouldn't need a "throttle"? what do you think
thanks,
Alex
scn.inject(rampUsersPerSec(1) to (20) during (10 seconds),constantUsersPerSec(20).during(1 minute))
thanks for your swift reply in any case earlier.
Thanks,
Alex