i want create a strategy of load test about e-card payment, but i have to define 1 iteration for each virtual user (payment) Duration Policy: By Time 60 min Load Variation Policy: constant Initial user Number: 100 Increment by: 100 Every 2 min Total of transactions: 1000 total of vusers : 1000
how can i setup time and load variation policy?
Hello Younes,
Your total of transactions is 1000. From that, you need to know the number of virtual users capable of processing that many.
Each virtual user can go through multiple iterations using different sessions, values etc.
Let's assume a user path pacing is 30s.
Then the number of transactions possible in an hour for one virtual user is NBtx/h = 3600/Pacing(30s)
And, you need to make 1000 transactions in an hour. So, the number of virtual users you need is approximately = 1000/(NBtx/h).
In the end, you just have to set your maximum virtual users number to NBvu = 1000/(3600/Pacing). (Increasing load)
And, the Duration policy will be 60min.
Also, make sure your variable consumption change policy is by iteration.
I hope it helped.
Best Regards,
Fousseyni B.
Think you M.Fousseyni, your answer is very helpful, but the load strategy of my client is the injection of 100 virtual user every 2 min to reach 1000 VU in 20min then continue this level for 40min (duration of test : 1h)