Reputation: 75
Trying to hit Rest API web service through Jmeter for a range of users. (20, 30,50,80 users). 80% of the request samples get processed, but around 20% of the samples error out with below message under sampler Result.
"Response code: Non HTTP response code: java.net.ConnectException Response message: Non HTTP response message: Connection timed out: connect".
Is it the issue with Jmeter or server side? What is the resolution for this?
Upvotes: 6
Views: 18700
Reputation: 1
It basically happens when your request is taking longer time to get the response back, lets say 62 Seconds.
In this cases by default the ELB has 59 Seconds time out condition , that means if any request is in time wait state for than 59 seconds , it would be automatically killed by ELB mentioning "gateway time out or Connection time out "
Upvotes: 0
Reputation: 168002
Usually timeout indicates a problem on the server side. Few things to check:
Upvotes: 1