jmeter

TPS based test execution


I have a requirement to run a load test based on TPS.

10 requests per second - 10 minutes
20 requests per second - 10 minutes
50 requests per second - 10 minutes
100 requests per second - 30 minutes

The total duration of the test should be one hour.

I have tried to achieve this by using Ultimate thread group, throughput controller & throughput timer. But the design looks very messy and complicated.

Please throw some light if we have any particular thread group to run a load test based on TPS?

Thanks in advance..


Solution

  • I think the fastest and the easiest way to implement this is going for Throughput Shaping Timer

    In combination with Concurrency Thread Group and Feedback function it will only be required to configure the Throughput Shaping Timer like this:

    enter image description here