JMeter - Using Uniform Random Timer Under Request

Now yous already knows what is uniform random timer in addition to how it industrial plant inwards software charge examination excogitation equally nosotros convey already discussed all those things inwards previous posts. So i volition non item it to a greater extent than now. Let's motion to practical illustration directly. Here nosotros wants to run into how uniform random timer behaves if nosotros pose it nether specific request.

Scenario : In my software examination plan, There are iv requests. I wants to pose random delay of iv to vi seconds on specific asking of my software charge examination excogitation let's state on "My Orders" asking equally shown inwards bellow image. So i set
  • Constant Delay Offset = 4000 ms
  • Random Delay Maximum = 2000 ms

I wants to execute all requests iv times in addition to then i convey laid Loop Count = iv inwards Thread Group equally shown inwards bellow image.


Now run software charge examination excogitation in addition to verify lawsuit inwards table. It volition looks similar bellow.


You tin plow over the axe run into that every time, Start fourth dimension divergence betwixt "My Account" asking in addition to "My Orders" is random betwixt iv to vi seconds. Example : Start fourth dimension of outset "My Account" asking is "07:02:56.894" in addition to get down fourth dimension of 1st "My Orders" asking is "07:03:02.326". So hither divergence is 5.432 seconds.

This means yous tin plow over the axe pose uniform random timer nether whatsoever asking of your software charge examination excogitation to render it random delay.

More interesting articles here :Generation Enggelmundus Internet Marketing Tool here :Zeageat IM http://www.software-testing-tutorials-automation.com/
Post a Comment (0)
Previous Post Next Post