la1
la1

Reputation: 539

HTTP Requests are lost when executed load test in Jmeter

We are executing load tests using JMeter 5.1.1 tool. The test plan is created to execute for 100 threads in 60 seconds with loop 1. The Summary Results shows Total 'n' requests have been triggered however when verified in our backend/API level where only 80 requests are reached/triggered.

Where can other 20 requests gone? Is the tool really triggered for 'n' threads. Also please suggest to debug further for the lost requests.

Marked 'Delay threads until needed' in Thread Group.

Upvotes: 0

Views: 353

Answers (1)

Dmitri T
Dmitri T

Reputation: 168147

Not all of 100 requests may be successful, i.e. 20 requests may be malformed or timed out

enter image description here Use View Results Tree listener and inspect request/response details for the failing sampler(s) or look into .jtl results file, responseCode and responseMessage columns normally contain the output:

enter image description here

Also it worth checking jmeter.log file, in case of the error on JMeter side it should contain enough troubleshooting information.

And last but not the least, as per 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure article you should always be using the latest version of JMeter so consider upgrading to JMeter 5.2 (or whatever is the latest stable version available at JMeter Downloads page) on next available opportunity

Upvotes: 1

Related Questions