On 22 November 2012 13:01, Cyril SANTUNE <[email protected]> wrote:
> Hi, I use severals csv in my jmx script to configure my sampler.
> However, I should also configure my thread group.
>
> I try to do this :
>
> Test plan
>  + -- CVS Data Set Config
>        variable name : loop_count
>  + -- Theard Group
>        Loop count : ${loop_count}
>        ....
>
>
> But It doesn't work. The thread group don't start.
>
> Is it possible to do this ?

No, because the CSV file is not read until after the Thread Group has started.

However you can use properties defined on the command-line:

jmeter ... -Jloops=123 ...

 Loop count : ${__P(loops)}


> ---------------------------------------------------------------------
> 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