My load model is based on historic data stating that on the “top-hour” there are 1500 user doing the scenario per minute. I want to simulate this and I have this rationale:
During 1 minute my scenario should put through 1500 users. This means 25 user per second during 60 seconds (25*60=1500)
This again gives me this load model:
`
setUp(scn.inject(constantUsersPerSec(25) during (60 seconds))).protocols(httpConf)
`
however my scenario takes 4 seconds to complete in real-wordl.
Is it correct, then to multiply my load model by 4?
As in:
`
setUp(scn.inject(constantUsersPerSec(100) during (240 seconds))).protocols(httpConf)
`
Or does the first one work to simulate close to exactly what I want to simulate?
In my head a requirement that mean-responstimes should be x seconds given the load of 1500 user per minute could easliy be simulated (during 10 seconds) like the first load model:
`
setUp(scn.inject(constantUsersPerSec(25) during (60 seconds))).protocols(httpConf)
`
But then I am not taking into account the duration of 4 seconds.