jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Non HTTP response code: java.net.SocketException for long running test
Date Wed, 04 Dec 2013 07:55:33 GMT
On 4 December 2013 05:56, Thirukumaran Kubendran <t1279k@gmail.com> wrote:
> Hi
>
> Environment
> Jmeter 2.10
> Window 2003 r2 64bit
> 1 Thread Test for 20hr with 1 Thread Group with 10 HTTP Request Samplers.
>
>
> I got the below about 5 time over a period of 20hr. Is this error due to
> Jmeter.

No.

As can be seen from the stack trace, JMeter was trying to read the
response headers from it, and the connection was reset by the server.

Check the server logs; probably some kind of (temporary) overload or
resource exhaustion.

> The environment i am testing is website hosted on IIS.
>
>
> <httpSample ts="1386082601170" rc="Non HTTP response code:
> java.net.SocketException">
> <assertionResult>
> <name>Response Assertion</name>
> <failure>true</failure>
> <error>false</error>
> <failureMessage>Test failed: text expected to contain
> /&lt;QL&gt;/</failureMessage>
> </assertionResult>
> <responseData class="java.lang.String">java.net.SocketException: Connection
> reset&#xd;
> at java.net.SocketInputStream.read(Unknown Source)&#xd;
> at java.net.SocketInputStream.read(Unknown Source)&#xd;
> at
> org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166)&#xd;
> at
> org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:90)&#xd;
> at
> org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:281)&#xd;
> at
> org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92)&#xd;
> at
> org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:61)&#xd;
> at
> org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)&#xd;
> at
> org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)&#xd;
> at
> org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)&#xd;
> at
> org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191)&#xd;
> at
> org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)&#xd;
> at
> org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)&#xd;
> at
> org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715)&#xd;
> at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520)&#xd;
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)&#xd;
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)&#xd;
> at
> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:475)&#xd;
> at
> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:295)&#xd;
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)&#xd;
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1105)&#xd;
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1094)&#xd;
> at
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)&#xd;
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)&#xd;
> at java.lang.Thread.run(Unknown Source)&#xd;
> </responseData>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message