You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Duncan Davidson <dd...@staffmail.ed.ac.uk> on 2009/01/28 13:47:21 UTC
Synchronisation of Thread Groups
Hi
I have 3 thread groups which have 9, 1 and 1 samplers respectively. I wish to run these threads numerous times but want them to start each new iteration in synch. I have tried a synchronisation timer but this didn't work. Any ideas grateful received.
Thanks
Duncan
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Synchronisation of Thread Groups
Posted by sebb <se...@gmail.com>.
I don't think this is possible without writing some code.
You could add a BSF or BSH Timer which used some kind of locking to
achieve what you want. For example:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/CyclicBarrier.html
This requires Java 1.5.
On 28/01/2009, Duncan Davidson <dd...@staffmail.ed.ac.uk> wrote:
> Hi
>
> I have 3 thread groups which have 9, 1 and 1 samplers respectively. I wish to run these threads numerous times but want them to start each new iteration in synch. I have tried a synchronisation timer but this didn't work. Any ideas grateful received.
>
> Thanks
> Duncan
>
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org