0
votes

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

2
I tried Parallel HTTP request sampler plugin, but in listeners it showing combined sample time of 20 requests, but I need individual request response time - krishna

2 Answers

1
votes
  1. 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)

  2. Add Synchronizing Timer at the same level with HTTP Request samplers and set Number of Simulated Users to Group by to 20

    enter image description here

0
votes

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.