Sunday, February 21, 2016

Jmeter - Constant Timer Job Parallel To Request

| Sunday, February 21, 2016
Constant Timer is real useful chemical gene of JMeter software charge essay innovation equally it allows y'all to interruption each thread for same total of fourth dimension when executes the requests. You tin add together constant timer nether controller as well as parallel to software charge essay plan's requests if y'all wants to position interruption on each request. Also y'all tin add constant timer under asking if y'all wants to position interruption on that specific request. Let's run across how to add together as well as purpose constant timer parallel to requests inward software charge essay innovation alongside example.

Add Constant Timer Under Controller In Your Software Load Test Plan
To add together constant timer nether controller,
  • Right click on your controller -> Add -> Select Timer -> Constant Timer. See below given image.

It volition add together constant timer nether controller.

Example : Using Constant Timer Parallel To Request
As described earlier, It volition apply interruption on all requests if y'all position constant timer parallel to request. I accept prepared real unproblematic jmeter software charge essay trial to demo y'all how to interruption threads for specific total of fourth dimension on each asking past times adding constant timer.

In below given image, You tin run across that my software charge essay innovation has iv requests as well as added constant timer parallel to those requests. Thread grouping configuration is equally below.


Now i wants to interruption thread for ii seconds on each asking of my software charge essay plan. So what i accept doe is added constant timer parallel to requests as well as laid Thread delay = 2000 milliseconds equally shown inward below image.


So similar a shot it volition interruption thread thread for ii seconds on each request. 

Now if y'all live on inward a higher house software charge essay innovation as well as thus trial volition looks similar bellow.


In trial y'all tin run across that starting fourth dimension time deviation betwixt each asking is nearest ii seconds + Sample time(ms). i.e. Start Time for My Account asking = ii + Start Time of Login request(09:23:53.405) + Sample time(ms)(0.941) = 09:23:56.346.

This agency y'all tin purpose constant fourth dimension inward your software charge essay innovation to position constant interruption betwixt requests.

Related Posts