Reading the documentation on timers (s4.4) I get the impression that a timer
will only be applied at the thread group level. In actual practice it
appears that I can put a timer in a controller and it will only affect the
timing of the samplers within the controller. The actual behaviour makes
sense as there is clearly a need to cater for long delays on some pages and
shorter delays in others.
So in practice I can do this:
Thread group
HTTP Request
Loop controller
HTTP Request
Constant timer 5 seconds
HTTP Request
...and only the requests within the loop will have the 5 second delay.
The same documentation refers to the possibility of having multiple timers
within a thread group, but confusingly states that these will be applied
cumulatively. I take this to mean that:
Thread group
HTTP Request
HTTP Request
Constant timer 5 seconds
Constant timer 5 seconds
...will result in 10 seconds between each request - this makes sense.
But what about this:
Thread group
HTTP Request
Loop controller
HTTP Request
Constant timer 5 seconds
HTTP Request
Constant timer 5 seconds
...I assume in this case that the request in the loop will be delayed by 10
seconds and the remaining requests by 5 seconds. It is a little difficult
to confirm this one manually - can someone please confirm that this is
correct?
If the above comments are correct then we should update the documentation to
clarify these points.
Cheers,
Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
.Mac Chat/AIM: seade at mac dot com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>