Using Constant Throughput Timer
While running test simulations, it is sometimes necessary to be able to specify the throughput in terms of the number of requests per minute. This is the function of Constant Throughput Timer. This component introduces pauses to the test plan in such a way as to keep the throughput as close as possible to the target value specified. Though the name implies it is constant, various factors affect the behavior, such as server capacity, other timers or time-consuming elements in the test plan, and so on. As a result, the targeted throughput could be lowered.
How to do it…
In this recipe, we will add Constant Throughput Timer to our test plan and see how we can specify the expected throughput with it. Perform the following steps:
Launch JMeter.
Open the prerecorded script
ch7_constant_throughput.jmx
bundled with the book. Alternatively, you can download it fromhttp://git.io/constant_throughput
.Add Constant Throughput Timer to Thread Group by navigating to Thread Group...