I wanted to execute a Test Plan as Below. Example : I wanted every http request should take delay of two minutes
All request are in same thread group
Gaussian Random Timer element is used to delay each user request for a random period of time. It has a random deviation around the Constant Delay Offset based on Gaussian curve distribution. For Example: Deviation Value: 100 milliseconds.
To add a timer element, we need to right-click on the Thread Group element and select Add, Timer, Constant Timer. Here, we've added a Constant Timer with a Thread Delay of three seconds to our thread group. This timer adds a delay between each request.
Constant Delay offset (in milliseconds): Constant delay offset number is the number which shows a constant delay to be added in random number generated.
JMeter waits for a HTTP response by default. If you're using the HTTP Sampler then you can view the response for each request using the View Results Listener. You can also set the timeout for requests in the sampler itself or by using the HTTP Defaults Control.
or if only 2 request are there then add only 1 constant timer in between both the requests.
The simplest way is to add a single 'Constant Timer' to your thread group at the same level as your HTTP requests.
Right click Thread Group > Add > Timer > Constant Timer.
Set the timer value to however many milliseconds you need (in your case 120000), and it inserts a delay between all requests in that thread group.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With