Roshan r
Roshan r

Reputation: 522

Why number of requests are reduced when number of Threads are increased?

I have a test suite which has many HTTP requests. Each HTTP requests have different number of threads but with 30 seconds as Ramp up time.

Set 1: enter image description here

Set 2: enter image description here

The difference between Set 1 and Set 2 are only in the number of Threads. Its exactly the double number of requests in Set 2. But you can see the total count is reduced. Why is this? i was expecting the number of requests also to go up when the number of Threads are increased.

Can someone please put some light into this?

Upvotes: 0

Views: 505

Answers (1)

Dmitri T
Dmitri T

Reputation: 168157

Your tables don't tell the full story and the could be multiple explanations, for example:

  • You increase number of threads by factor of 2
  • Your application becomes overloaded hence response time increases
  • So assuming the same test duration JMeter is able to execute less requests as it waits for response from previous request prior to sending a new one

So pay attention not only to number of requests but also check response time for all the samplers and correlation between increased amount of active users and response time by looking into i.e. Response Times vs Threads and Transaction Throughput vs Threads charts.

Aforementioned graphs can be installed using JMeter Plugins Manager

JMeter Plugins Manager KPI vs KPI

Upvotes: 2

Related Questions