Search code examples
jmeterperformance-testing

Jmeter load test is not getting over at given time


I'm running Jmeter load test from command prompt for about one hour and test is not ending at one hour. It is taking more time that one hour.

I'm getting errors in Jmeter logs for failed transactions:

Non HTTP response code: java.net.SocketException 

Non HTTP response message: Unexpected end of file from server

Please advise. Is it because of some threads is hanging and how to rectify it.

Thank you


Solution

  • Most probably you didn't set Connect and Read Timeout in Http Request default. So if you server hangs, JMeter will wait infinitely for the response.

    Beside ensure you set correct values in your scheduler.

    If issue persists, please give more details with screenshot.