Rashmi
Rashmi

Reputation: 27

JMeter: What could be possible reason of same throughput though user load has increased

What could be the possible reason for throughput remaining the same though load has increased much compared to previous tests? NOTE: I even received the error "Internal Server Error" while running my performance test.

Upvotes: 0

Views: 1550

Answers (2)

Dmitri T
Dmitri T

Reputation: 168157

Ideal load test in ideal world looks like:

  • response time remains the same, not matter how many virtual users are hitting the server
  • throughput increases by the same factor as the load increases, i.e:

    • 100 virtual users - 500 requests/second
    • 200 virtual users - 1000 requests/second
    • etc.

In reality application under test might scale up to certain extent, but finally you will reach the point when you will be increasing the load but the response time will be going up and throughput will remain the same (or going down)

Looking into HTTP Status Code 500

The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

Most probably it indicates the fact that the application under test is overloaded, the next step would be to find out the reason which may be in:

  1. Application is not properly configured for the high loads (including all the middleware: application server, database, load balancer, etc.)
  2. Application lacks resources (CPU, RAM, etc.), can be checked using i.e. JMeter PerfMon Plugin
  3. Application uses inefficient functions/algorithms, can be checked using profiling tools

Upvotes: 1

Masud Jahan
Masud Jahan

Reputation: 2978

It means you have reached the Saturation Point - the point for maximum performance!

A certain amount of concurrent users adjoining with maximum CPU utilization and peak throughput. Adding any more concurrent users will lead to degradation of response time and throughput, and will cause peak CPU utilization. Also, it can throw some errors!

After that, If you continue increasing the number of virtual users you may see these:

  • Response time is increasing.
  • Some of your requests got failed.
  • Throughput is either remains the same or decreases - this indicates the performance bottleneck!

Upvotes: 1

Related Questions