Monday, February 22, 2016

Jmeter - Lay Constant Timer Nether Request

| Monday, February 22, 2016
We already learnt usage of constant timer parallel to requests to suspension threads on all requests for given sum of fourth dimension inwards my before post. Also you lot tin set constant timer nether specific asking of your software charge essay out innovation to suspension thread on that specific asking for given sum of time. Let's larn how to suspension thread on specific asking of your software charge essay out innovation for given sum of fourth dimension using constant timer.

Example : Pause Thread On Specific Request Using Constant Timer
I accept prepared really uncomplicated instance to exhibit you lot how to suspension thread on specific asking of your software charge essay out innovation using constant timer.

I accept full iv requests inwards my jmeter software charge essay out innovation equally shown inwards below image.


I wants to suspension thread for two seconds on My Account request. All other requests should move executed without whatever pause. So i accept added constant timer nether My Account asking solely alongside Thread delay = 2000 milliseconds equally shown inwards below image.


Now if you lot operate inwards a higher house essay out plan, consequence volition looks similar below.


You tin come across that commencement fourth dimension of My Account asking = two + start fourth dimension of Login request(06:28:49.217) + Sample Time(ms)(0.369) = 06:28:49.217. Also you lot tin come across that thread is non paused on whatever other request.

This agency you lot tin purpose constant timer to  pause thread on specific asking of your software charge essay out innovation for given sum of time.

Related Posts