Hi Sonam,

this is one more occurence of a common misunderstanding -- the famous script vs. configuration-tree behaviour: timers do not 'execute' in the way samplers and controllers do, but they apply to every sampler in their same controller or any subcontroller thereafter. So if you have 5 requests and place one timer before each of them, you get 5 times the delay before each request. Leave only 1 of the timers and you'll be set.

BTW, your 2nd measurement is probably in error: the real value is more like 2500.

Hope this helps,

Jordi.

P.S.: we should do something to avoid this confusion. Is took me a loot of time to understand what was going on with the timers.

En/na Sonam Chauhan ha escrit:
Has anyone seen timers taking longer than they should? I have a JMX that
makes 5 HTTP requests with Uniform Random Timer inserting a delay in between
each request. Setting the timer's random delay to 0, and varying the timer's constant
delay, I got the following figures for the real delay of each timer.
(numbers adjusted for page load delays.)
Constant delay Approx. actual delay.
(ms) (ms)
=======================================
0 0 500 2000 1000 5000
1500 7500 2000 10000 =======================================
In this case, the timer actually seem to take 4-5 times as long. With regards,
Sonam Chauhan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to