Why not use the OnceOnly Controller?

Or:
Loop, count=1
+ http1
Loop, count=n
+ http2

Remember that Config + Pre-processors apply to ALL samplers in scope.
It might help to move them all to the start of the level in which they
appear, i.e. instead of

Thread Group
+ Config 1
+ Sampler
+ Pre-Proc 1
+ Sampler
+ Config 2
+ Pre-Proc 2

you have

Thread Group
+ Config 1
+ Pre-Proc 1
+ Config 2
+ Pre-Proc 2
+ Sampler
+ Sampler

S.
On 28/11/05, Bruno Charloup <[EMAIL PROTECTED]> wrote:
> Hi all,
> i need to perform the following action to have in my tree listener :
> http_request1
> http_request2
> http_request2
> http_request2
> http_request2
> ...
>
> My test plan is defined as below :
>
> myvar = 1 (user defined variable)
>
> if myvar==1 then (1st If Controller)
>    http_request1
>    myvar = 2
> end if
>
> if myvar == 2 then (2nd If Controller)
>    http_request2
> end if
>
>
>
> myvar is defined as user defined variable in my test plan (high level).
> My problem is that the value given to myvar is always the value re-defined
> in my 1st IfController and the http_request1 is nevel called, always the
> second http_request defined in my second ifController.
> In my tree listener i have :
> http_request2
> http_request2
> http_request2
> http_request2
> ...
>
> PS : If i set the value of myvar in another simple controller (after the two
> If Controllers), I have the same result : it works as if myvar has always
> the value 2.
>
> Thanks in advance for any help/clarifications.
>
>
> --
> Bruno
>
>
>

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

Reply via email to