mahesh bhasme
2016-10-27 04:36:40 UTC
Hi ,
we have jmeter request which hit to tomcat server and which required aorunf
30 minutes to process by server, When we hit request to server, jmeter get
timeout after 300 sec and throws below error. It dont wait till get response
*SamplerError-Response code: Non HTTP response code:
java.net.SocketException Response message: Non HTTP response message:
socket closed
*
To solve above error applied below solution in jmeter
1. Changed "Implementation" of your HTTP Requests to HTTPClient4
2. Added below parameters in user.properties
httpclient4.retrycount=1
hc.parameters.file=hc.parameters
3. added below parameter in hc.parameters
http.connection.stalecheck$Boolean=true
https://wiki.apache.org/jmeter/JMeterSocketClosed
Note: same request is running fine in POSTMAN, no timeout error.
Could you please help ?
we have jmeter request which hit to tomcat server and which required aorunf
30 minutes to process by server, When we hit request to server, jmeter get
timeout after 300 sec and throws below error. It dont wait till get response
*SamplerError-Response code: Non HTTP response code:
java.net.SocketException Response message: Non HTTP response message:
socket closed
*
To solve above error applied below solution in jmeter
1. Changed "Implementation" of your HTTP Requests to HTTPClient4
2. Added below parameters in user.properties
httpclient4.retrycount=1
hc.parameters.file=hc.parameters
3. added below parameter in hc.parameters
http.connection.stalecheck$Boolean=true
https://wiki.apache.org/jmeter/JMeterSocketClosed
Note: same request is running fine in POSTMAN, no timeout error.
Could you please help ?
--
Thanks,
MAhesh
Thanks,
MAhesh