Reputation: 115
What I have tried so far
Creating 100 Thread Groups which has 20 different HTTP Request listeners each, so total 100*20 => 2000 unique different http requests..
Each Thread Group configured with
Number of Threads = 1
Ramp-up Period = 0
For Test Plan Unchecked Run Thread Groups Consecutively
Problem: Total 2000 requests are making in span of 10 - 20 seconds, but I want to make the all requests simultaneously, or at least in span of 1-2 seconds is ok
Upvotes: 0
Views: 994
Reputation: 168207
Put your HTTP Request samplers under a single Thread Group, you don't need to have different Thread Groups with 1 user (or at least going forward consider using Module Controller to avoid code duplication)
Add Synchronizing Timer at the same level with HTTP Request samplers and set Number of Simulated Users to Group by
to 20
Upvotes: 1
Reputation: 169
Threads are supposed to bring you concurrency, not ThreadGroups. Those are meant to model different user behaviours.
Please try 1 ThreadGroup with 100 Threads.
Depending on what exactly your use case is, you could then put all the listeners into one Random Controller inside the ThreadGroup. Our you could use any other controllers that suit your needs.
Upvotes: 0