This should ensure that they are executed sequentially:

So start with the thread group.
The number of threads (users) is 5.
So, suppose you have a logical job for your proxy server. Just add an additional sampler to it. So, right-click on this sample Add > Post Processors > BSF PostProcessor , inside this mail processor a large space script enter ${__setProperty(ThreadValue,${__threadNum},)} .
This will save the thread number in your property called ThreadValue . Make sure you select your language as beanshell in the drop-down list.
Then after the input probe adds an if controller. Add this to the condition field (${JMeterThread.last_sample_ok}==true) && (${__property(ThreadValue,,)} == ${__threadNum})
What does this mean that → do only login, until the actual login is successful, and if the login thread matches the thread you are currently in.
What do you do your login only inside the if controller. If you want to be sure that you are leaving the right place for the user, add it if the controller surrounds it.
Greetings
ant
source share