See
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller
The While Controller condition needs to return the string "FALSE" or
"false" in order to exit the loop.
${counter}<3
will never be "false"
it will be perhaps "0<3" or "1<3" or "100<3" etc
You need to use a Javascript or Beanshell function to evaluate the
string as an expression.
S
On 24/08/05, Anton Andreev <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> I'm trying to set up a counter to be used with while
> controller and i'm having dificulty (my while loop
> does not stop). What i did, just before while
> controller i have "user variables" where i set
> {counter} to 0. In while controller my condition is
> ${counter}<3 and i have counter (name {counter}, just
> like user var) inside the loop which starts from 1 and
> increments by 1 till 4. My while loop does not stop.
> Please tell me what i'm doing wrong or if i have to
> use something else to accomplish what i'm trying to
> do.
>
> Thank you,
>
> Anton Andreev
>
>
>
>
>
>
> __________________________________________________________
> Find your next car at http://autos.yahoo.ca
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]