On 25/11/05, Bruno Charloup <[EMAIL PROTECTED]> wrote:
> Hi all,
> I try to create a scenario with the following kind of sequence :
>
> http_request_1
> http_request_2 (with wait 10 secondes the 1st time (the 1st loop), and only
> 2 secondes next times)
> http_request_3
>
> Then I make the following thing :
> simple controller
> |- http_request_1
>
> simple controller
> |- only once controller
> |   |- constant timer 8000

I think timers only get invoked if there is an associated sampler.

> |-constant timer 2000 (because 2000 + 8000 = 10 secondes)
> |- http_request_2
>
> simple controller
> |- http_request_3
>
> With such organisation, result is not as I expect ...

What do you get then?

> I don't know how to use If Controller (and if it is the right controller to
> use) : in the document an example is given with comparison to ${count} but I
> don't know how (where ?) to increase ${count} (in a loop controller ?) ...
>

You could try defining a variable to hold the wait time.

Set it in the test plan to 10 seconds.
Reset it to 2 seconds after the first sample (does not matter if it is
reset each time) - this will need to be done at a lower level than the
main test loop, e.g. as a child of the simple controller with
http_request_3.

S.

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

Reply via email to