0

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?

2
  • Share your request Commented Aug 9, 2016 at 10:39
  • 1 thread user and 1sec ramp up time, nothing more in it, same jmx file works well on windows system Commented Aug 9, 2016 at 10:58

2 Answers 2

1

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.

  • Additionally, Use KeepAlive checkbox in the HTTP Request Sampler/Defaults.

Also these thread#1 and thread#2 might help.

Sign up to request clarification or add additional context in comments.

Comments

0

Connection reset might indicate an issue on the server side or in an intermediate component of your architecture.

See https://stackoverflow.com/a/31781529/460802

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.