Well, I found the recommendation here " http://osdir.com/ml/jmeter-user.jakarta.apache.org/2010-01/msg00243.html" then I searched by the web and found that sometimes if you use JDK7 by default try to connects over IPv6 and this is the reason why jmeter sometimes fails.
2013/8/15 umesh prajapati <[email protected]> > Sorry, but i am still getting the error. so, looks like this is not working > > > On Thu, Aug 15, 2013 at 3:44 PM, umesh prajapati <[email protected] > >wrote: > > > i am running the test now will let u know if i get the error again. but > if > > you dont mind me asking what actually does this do or how does this get > rid > > of the error > > > > > > On Thu, Aug 15, 2013 at 3:33 PM, Elí Obed De la Rosa Raymundo < > > [email protected]> wrote: > > > >> You must have this line, > >> "set ARGS=%DUMP% %HEAP% %NEW% %SURVIVOR% %TENURING% %RMIGC% %PERM% > >> %DDRAW% " > >> change this line by(without quotes) > >> "set ARGS=%DUMP% %HEAP% %NEW% %SURVIVOR% %TENURING% %RMIGC% %PERM% > %DDRAW% > >> %IPV4%" > >> > >> before this line add this (without quotes): > >> 2. "set IPV4=-Djava.net.preferIPv4Stack=true" > >> > >> tell me, if it works > >> > >> > >> > >> > >> > >> > >> 2013/8/15 umesh prajapati <[email protected]> > >> > >> > where in jmeter.bat file do i add this?...anywhere in the file > >> > > >> > > >> > On Thu, Aug 15, 2013 at 3:11 PM, Elí Obed De la Rosa Raymundo < > >> > [email protected]> wrote: > >> > > >> > > Hi Umesh, I had this problem but the solution that i have found is > add > >> > > "-Djava.net.preferIPv4Stack=true" on jmeter.bat file. > >> > > > >> > > > >> > > > >> > > 2013/8/15 umesh prajapati <[email protected]> > >> > > > >> > > > I checked the server logs and I dont see any error on the logs.. > >> > > > > >> > > > > >> > > > On Thu, Aug 15, 2013 at 2:07 PM, umesh prajapati < > >> [email protected] > >> > > > >wrote: > >> > > > > >> > > > > I am getting this error since today. I never used to get this > >> error > >> > > while > >> > > > > running the test in the past days with same load and same ramp > >> up. I > >> > > > tried > >> > > > > different test which has different scripts and each and every > >> test is > >> > > > > giving this error which I never used to get them till yesterday. > >> > > > > > >> > > > > java.net.SocketException: Connection reset > >> > > > > at java.net.SocketInputStream.read(SocketInputStream.java:168) > >> > > > > at > >> > > > > > >> > > > >> com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293) > >> > > > > at > >> > com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:746) > >> > > > > at > >> > > > > > >> > > > >> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:90) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:281) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:717) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:522) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:286) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1088) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1077) > >> > > > > at > >> > > > > > >> > > > > >> > > > >> > > >> > org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:428) > >> > > > > at > >> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256) > >> > > > > at java.lang.Thread.run(Thread.java:619) > >> > > > > > >> > > > > >> > > > >> > > >> > > > > >
