Using Throughput Shaping Timer
Sometimes, stakeholders give you a projected target for several components within the system under load. For example, you might be told that at peak hours, the reporting module of an application receives high volumes of traffic, while the product viewing module receives much less traffic. With the help of network engineers, you will be able to come up with the number of requests per second during peak and off-peak hours for various modules within the application under test. However, once you have such numbers, it becomes increasingly difficult to tweak thread groups and timer delay settings within JMeter to simulate a targeted requests per second (RPS) value for the modules. This is exactly what the Throughput Shaping Timer component is for. It allows you to easily control a targeted RPS more easily.
How to do it…
In this recipe, we will show you how to leverage the Throughput Shaping Timer component in test plans. Perform the following steps:
Download the standard...