Configuration:Jmeter 3.0
and OS:Linux
jdk:1.8
When I run a https(REST Api) request, View Results Tree
shows:
Response code:Non Http Response code:java.net.socketException
Response message:Connection Reset
How can I fix this issue?
Configuration:Jmeter 3.0
and OS:Linux
jdk:1.8
When I run a https(REST Api) request, View Results Tree
shows:
Response code:Non Http Response code:java.net.socketException
Response message:Connection Reset
How can I fix this issue?
Change Implementation
of all your HTTP Request
samplers to HttpClient4
.
Add the following properties in user.properties
file which located under /bin
folder of your JMeter installation:
httpclient4.retrycount=1
hc.parameters.file=hc.parameters
Add the next line to hc.parameters
file (same location, JMeter's /bin
folder)
http.connection.stalecheck$Boolean=true
Restart JMeter.
Use KeepAlive
checkbox in the HTTP Request Sampler/Defaults
.Connection reset might indicate an issue on the server side or in an intermediate component of your architecture.