JMeter - How to rampup a specific number of users and to control their iteration per second
I've a requirement for a performance test which says: To ramp-up in 30 minutes, hold the iterations for 60 minutes and then to ramp-down in 30 minutes.
The Iteration includes 6 transactions The Iteration time takes 10 seconds average to go through the 6 transactions
I always face an issue to make a ramp-up which corresponds with firing 2 iterations per seconds.
Would you pls help with this in JMeter?
I don't really see how you can fit 2 iterations which take 20 seconds into 1 second so you need to come up with better explanation like what is throughput (requests per second to start with, how many requests per second you want to add each second or minute of the ramp-up, etc.)
In Throughput Shaping Timer you can easily define ramp-up/ramp-down behaviour as well as the time to hold the load:
and you can connect it to the Concurrency Thread Group via Feedback Function:
this way Concurrency Thread Group will be able to kick off extra threads (virtual users) if current amount is not enough to reach/maintain the defined throughput.
This way you can precisely control the number of requests per second at each stage of your performance test.