You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by danimni <da...@gmail.com> on 2015/03/01 22:35:45 UTC
Preventing 2 users executing specific sampler at the same time
Hi All,
I am creating script with 10 threads.
our system contains "locking" mechanism. this means that when 1 user is
executing a specific step, all other users can't do the same.
Hence, I need to prevent 2 (or more) users from executing the specific step
at the same time. In other words, I would like to make sure that the sample
request will be executed only be 1 thread, while next user will "wait" till
the first user will complete its step.
I hope I am clear enough :)
does anyone know how to do so?
Thanks,
Dan.
--
View this message in context: http://jmeter.512774.n5.nabble.com/Preventing-2-users-executing-specific-sampler-at-the-same-time-tp5721873.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: Preventing 2 users executing specific sampler at the same time
Posted by danimni <da...@gmail.com>.
Thank you very much, Philippe! :)
working as expected!
--
View this message in context: http://jmeter.512774.n5.nabble.com/Preventing-2-users-executing-specific-sampler-at-the-same-time-tp5721873p5721875.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: Preventing 2 users executing specific sampler at the same time
Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
You could use :
http://jmeter.apache.org/usermanual/component_reference.html#Critical_Section_Controller
Regards
On Sun, Mar 1, 2015 at 10:35 PM, danimni <da...@gmail.com> wrote:
> Hi All,
> I am creating script with 10 threads.
> our system contains "locking" mechanism. this means that when 1 user is
> executing a specific step, all other users can't do the same.
> Hence, I need to prevent 2 (or more) users from executing the specific
> step
> at the same time. In other words, I would like to make sure that the sample
> request will be executed only be 1 thread, while next user will "wait"
> till
> the first user will complete its step.
>
> I hope I am clear enough :)
>
> does anyone know how to do so?
>
> Thanks,
> Dan.
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Preventing-2-users-executing-specific-sampler-at-the-same-time-tp5721873.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
--
Cordialement.
Philippe Mouawad.