i added the line -Djava.net.preferIPv4Stack=true inside jmeter.bat file and after I restart jmeter i get this on my command prompt
c:\apache-jmeter-2.9\bin>jmeter '-Djava.net.preferIPv4Stack' is not recognized as an internal or external command On Thu, Aug 15, 2013 at 3:24 PM, umesh prajapati <[email protected]>wrote: > 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) >> > > >> > >> > >
