Patricia
Patricia

Reputation: 15

How to execute Thread Groups in order

My Test plan in look like this:

Test Plan
   |- Thread Group A
   |     |- HTTP request 1
   |- Thread Group B
   |     |- HTTP request2
   |     |- HTTP request3
   |- Thread Group C
   |     |- HTTP request4
   |     |- HTTP request5
   |- Thread Group D
   |     |- HTTP request6

when i run it, it don't execute threads in order! (B -> A-> D -> C) How can i fix it please ?

Upvotes: 0

Views: 507

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

By default JMeter executes Thread Groups simultaneously, if you want JMeter to execute them one by one - tick Run Thread Groups consecutively at Test Plan level

enter image description here

You can also consider using Inter-Thread Communication Plugin in order to setup some custom rules for requests execution in case if request in one thread group needs to be executed after specific request in another thread group.

Upvotes: 1

Related Questions