jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elí Obed De la Rosa Raymundo <edelarosa1...@gmail.com>
Subject Re: java.net.SocketException: Connection reset
Date Thu, 15 Aug 2013 22:33:19 GMT
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 <praumesh86@gmail.com>

> 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 <
> edelarosa1990@gmail.com> 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 <praumesh86@gmail.com>
> >
> > > 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 <praumesh86@gmail.com
> > > >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)
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message