'Response time is high in JMeter [closed]
I am sending 100 user requests in JMeter. It is taking more than 10 minutes to respond. At the same time, when I sending request from browser the server taking only 5 seconds to respond.
Why is the response time in JMeter higher than the browser time?
Solution 1:[1]
If single request takes around 5 seconds it is quite expected that 100 requests take 500 seconds if you run them sequentially.
If you run them in parallel - consider the following troubleshooting tecnhiques
- Run your test with 1-2 virtual users / iterations with View Results Tree listener enabled to ensure that it is doing what it is supposed to be doing
- Once you verify your test integrity define the load pattern (how many users will be used for test, ramp-up and ramp-down periods, time to hold the load, etc.). If you are new to JMeter you may find Ultimate Thread Group more convenient to use than normal JMeter Thread Groups. You can install custom Thread Groups using JMeter Plugins Manager
- Make sure you are following JMeter Best Practices
- Make sure to monitor the health of your application under test (and JMeter load generator(s)) via either built-in OS performance monitoring tools or using JMeter PerfMon Plugin
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Dmitri T |