You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Srinath vaidyanathan <sr...@gmail.com> on 2005/09/16 10:32:03 UTC

Question about Constant Timer

Hi,

Will there be any difference in behaviour between the following 2 sample 
test plans ? In the first one, constant timer is at thread group level, 
while in the second one , it's under each http request. 

Sample Test Plan 1: 

ThreadGroup with 100 threads
--------HTTP Request 1 
--------Constant Timer of 100 ms
--------HTTP Request 2 
--------Constant Timer of 100 ms
--------HTTP Request 1 

Sample Test Plan 2:

ThreadGroup with 100 threads
--------HTTP Request 1 
--------Constant Timer of 100 ms
--------HTTP Request 2 
--------Constant Timer of 100 ms
--------HTTP Request 1 

Thanks
Srinath

Re: Question about Constant Timer

Posted by Michael Stover <ms...@apache.org>.
Yes, there's a difference.  In Plan #1 with the two timers at the
threadgroup level, they will be added together for every request under
that threadgroup - for a total of 200ms delay.

In Plan #2, Request 1 will be delayed 100ms, Request #2 will be delayed
100ms, but the last request, which has no timer, will not be delayed.

-Mike

On Fri, 2005-09-16 at 03:32 -0500, Srinath vaidyanathan wrote:
> Hi,
> 
> Will there be any difference in behaviour between the following 2 sample 
> test plans ? In the first one, constant timer is at thread group level, 
> while in the second one , it's under each http request. 
> 
> Sample Test Plan 1: 
> 
> ThreadGroup with 100 threads
> --------HTTP Request 1 
> --------Constant Timer of 100 ms
> --------HTTP Request 2 
> --------Constant Timer of 100 ms
> --------HTTP Request 1 
> 
> Sample Test Plan 2:
> 
> ThreadGroup with 100 threads
> --------HTTP Request 1 
> --------Constant Timer of 100 ms
> --------HTTP Request 2 
> --------Constant Timer of 100 ms
> --------HTTP Request 1 
> 
> Thanks
> Srinath


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org