On 18 January 2011 14:57, danimni <[email protected]> wrote:
>
> Hi ALL,
> I am running two thread groups:
> 1. The test plan thread group.
> 2. The monitor server thread group.
>
> I am not sure how long the test plan will take, so I can't set the the
> monitor server thread time, but I would like it to stop as the test plan
> thread stops.
> I tried to stop the monitor server thread with a 'While controller' (with a
> flag variable set from the test plan thread. It didn't work for me.
>
> Is there a way to tell the second thread group to stop when the first group
> stops?

Yes.

> Any ideas?

Use a property, rather than a JMeter variable.

See:

http://jakarta.apache.org/jmeter/usermanual/functions.html#__setProperty
http://jakarta.apache.org/jmeter/usermanual/functions.html#__P
> Thanks! :)
> Dan.
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/Thread-group-dependencies-tp3346281p3346281.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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