During load testing, it is very normal that you get some errors for your requests. But sometimes these errors don’t occur because of server problems. One of the most common exceptions in JMeter is NoHttpResponseException. To solve this issue, you can try the following alternative solutions.
Change the Implementation of Your HTTP Requests
On JMeter, choose a specific HTTP request sampler. On Advanced tab, you will see a section called “Implementation”. Change this option to “HttpClient4”. Then rerun your load test.
Change Your “user.properties” File
Adding some values to your user.properties file could also help. Under the bin folder of your JMeter location, navigate to user.properties file and add the following lines:
Then navigate to hc.parameters file and uncomment the following line:
If Nothing Helps, Check Your Server Logs
If the issue still persists, it can be happening because of a server error. So you should find the breaking point on your system to solve NoHttpResponseException. You can also check if there are any timeout values for the requests on your system.
To keep learning and staying up to date, keep in touch with Loadium blog posts. Happy load testing with Loadium!