JMeter (pararell run threads)

Viewed 14

I need to run my script. example: enter image description here

Here 10 threads, which running it alternately. He is creating create open connection, open connection, open conncetion... and also seven times, after read,read,read...7x samplers write,write, write..7x after read, read, read..x7.

I need to make open connection, read, write, read ten times parallel. How i can to make it?

1 Answers

Once started each JMeter thread (virtual user) starts executing Samplers upside down (or according to Logic Controllers) as fast as it can.

If you want all 10 users to first execute Open Connection, then all 10 users to execute read, etc. you need to add Synchronizing Timer and set Number of Simultaneous Users to Group by to be equal to the number of threads in your Thread Group.

This way each Sampler in the Synchronizing Timer's scope will be executed by 10 users at exactly the same moment so you will have

  • 10 concurrent executions of open connection
  • followed by 10 concurrent executions of read
  • etc.
Related