You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by umesh prajapati <pr...@gmail.com> on 2013/08/15 23:07:30 UTC
java.net.SocketException: Connection reset
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)
Re: java.net.SocketException: Connection reset
Posted by umesh prajapati <pr...@gmail.com>.
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 <pr...@gmail.com>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 <
> 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 <pr...@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)
>> > >
>> >
>>
>
>
Re: java.net.SocketException: Connection reset
Posted by mpistella <mp...@kingsisle.com>.
Elí Obed De la Rosa Raymundo wrote
> 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"
So I was getting the same stack-traces and this fixed it for me, Can you
explain or point me in the direction to an explanation why this fixes the
issue?
--
View this message in context: http://jmeter.512774.n5.nabble.com/java-net-SocketException-Connection-reset-tp5717859p5720533.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: java.net.SocketException: Connection reset
Posted by umesh prajapati <pr...@gmail.com>.
problem solved, somehow my jmeter.bat file was changed. I reinstall the
jmeter and ran the script and got no more of those issue.
On Thu, Aug 15, 2013 at 3:56 PM, Elí Obed De la Rosa Raymundo <
edelarosa1990@gmail.com> wrote:
> 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 <pr...@gmail.com>
>
> > 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 <praumesh86@gmail.com
> > >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 <
> > > edelarosa1990@gmail.com> 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 <pr...@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 <pr...@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)
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> > >
> > >
> >
>
Re: java.net.SocketException: Connection reset
Posted by Elí Obed De la Rosa Raymundo <ed...@gmail.com>.
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 <pr...@gmail.com>
> 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 <praumesh86@gmail.com
> >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 <
> > edelarosa1990@gmail.com> 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 <pr...@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 <pr...@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)
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> >
> >
>
Re: java.net.SocketException: Connection reset
Posted by umesh prajapati <pr...@gmail.com>.
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 <pr...@gmail.com>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 <
> edelarosa1990@gmail.com> 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 <pr...@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 <pr...@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)
>> > > > >
>> > > >
>> > >
>> >
>>
>
>
Re: java.net.SocketException: Connection reset
Posted by umesh prajapati <pr...@gmail.com>.
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 <
edelarosa1990@gmail.com> 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 <pr...@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 <pr...@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)
> > > > >
> > > >
> > >
> >
>
Re: java.net.SocketException: Connection reset
Posted by Elí Obed De la Rosa Raymundo <ed...@gmail.com>.
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 <pr...@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 <pr...@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)
> > > >
> > >
> >
>
Re: java.net.SocketException: Connection reset
Posted by umesh prajapati <pr...@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 <pr...@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)
> > >
> >
>
Re: java.net.SocketException: Connection reset
Posted by Elí Obed De la Rosa Raymundo <ed...@gmail.com>.
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 <pr...@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)
> >
>
Re: java.net.SocketException: Connection reset
Posted by umesh prajapati <pr...@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 <pr...@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)
>