Reputation: 3
Requests are getting failed with error code "499" when application is loaded with 1000 users with ramp-up time as 150 seconds using jmeter. could not find any error in jmeter.log in bin folder. it would be great help if some pointers for this failures? Thanks in advance.
Upvotes: 0
Views: 9708
Reputation: 638
I know its late.. If you triple (like pressing on Ctrl + R for 10 seconds) refresh a page in the browser, you would get a 499 on nginx, that means the client prematurely closed the connection. This has nothing do to do with how you application is behaving its mainly a client closing before actually waiting for a response. This could also lead to a broken pipe in some other circumstances.
Upvotes: 0
Reputation: 168072
Status code 499 isn't listed in the standard so you need to see your application logs to know what it means and what could be possible cause.
If you're using nginx as the backend status code 499 means that the client (in your case JMeter) has closed the connection in the middle of communication, most probably due to timeout so if response times are higher than your configured or default timeout - it may be the cause of the issue, consider increasing connect/response timeouts, the setting lives at "Advanced" tab of the HTTP Request sampler or HTTP Request Defaults configuration element
Upvotes: 2