Quality Testing

Quality is delighting customers

'Java.net.SocketException: Connection reset' error on the browser while recording the steps iusing JMETER.

Hi,

I have set up the JAVA_HOME and PATH in environmental variable. Now followed the steps present in the 'Proxy configuring details step by step,pdf'. THe pdf is a part of Jakarta site. Now Jmeter is able to record steps but in browser I have received the following exception:

'

java.net.SocketException: Connection reset         at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)      at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1296)       at java.security.AccessController.doPrivileged(Native Method)   at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1290)         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:944)       at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)       at org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:267)       at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:516)     at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:965)     at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:242) Caused by: java.net.SocketException: Connection reset        at java.net.SocketInputStream.read(SocketInputStream.java:168)  at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)       at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)      at java.io.BufferedInputStream.read(BufferedInputStream.java:317)       at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)     at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1000)      at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2052)      at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:579)     at java.net.URLConnection.getContentLength(URLConnection.java:474)      at org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:237)'

  

Views: 1568

Reply to This

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2020   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service