On 22/02/2009, Hiro Protagonist <[email protected]> wrote:
> Hi all,
>
>  I tried to dynamically set the number of users for the second thread in
>  my test plan (based on how many results from a query in the first thread
>  I find in the first) by giving ${__property(NUMBER_OF_CODES)} which
>  seems to set the property value correctly

The function __property() does not set a property.

Did you mean _setProperty()?

>  - I can see the right number
>  appear when using the debug sampler - and I can use this anywhere in the
>  first thread, but when I try to specify the number of users in the
>  second thread (in the "Number of Threads (users):" field) the thread
>  doesn't get started !

I assume you mean you have two thread *groups* and you are trying to
use the result of running the first thread group to control the number
of threads in the second group.

Is that correct?

>  Can this be done ? If so, how ?

Works fine for me.

Of course, you have to set the thread groups to run consecutively so
that the first group completes before the second one starts.

>  Thanks,
>  hiro
>
>
>  ---------------------------------------------------------------------
>  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]

Reply via email to