Hi all,
I am looking for the opportunity to emulate the scenario where system sends 10 requests at the same moment of time and than repeats it again after 1 sec during some period of time.
Something like: 10 requests at once - 1 sec pause - 10 requests at once - 1 sec pause…
If I use constantUsersPerSec(10).during(duration) the system generate load in format:
1st request - 100ms pause - 2nd request - 100ms pause…
As I understand, constantUsersPerSec(10).during(duration).randomized also doesn’t emulate needed behavior.
To implement needed load I found construction:
inject((1 to duration).flatMap(i => Seq(atOnceUsers(10), nothingFor(1))))
which gives me needed results, but want to know if exists any other options that I miss.
Thanks in advance