Niraj | 11 Jul 2012 13:03
Picon

Error while running Jmeter script

Hello All,

I am running a Jmeter script in version 2.6. After running script in result
tree i am getting below mentioned error. But this error is not coming to
any specific request. I am getting this error for any random request. If i
ran test 1st time i am getting error for one png request. In next run same
png request passed successfully and error is seen for some different
request.

Can someone please help me to resolve this issue?

java.net.SocketException: Connection reset at
java.net.SocketInputStream.read(SocketInputStream.java:168) at
java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at
java.io.BufferedInputStream.read1(BufferedInputStream.java:258) at
java.io.BufferedInputStream.read(BufferedInputStream.java:317) at
sun.net.www.MeteredStream.read(MeteredStream.java:116) at
java.io.FilterInputStream.read(FilterInputStream.java:116) at
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2676)
at
org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:99)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at
java.io.BufferedInputStream.read(BufferedInputStream.java:317) at
java.io.FilterInputStream.read(FilterInputStream.java:90) at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTTPSamplerBase.java:1620)
at
org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.readResponse(HTTPAbstractImpl.java:236)
at
org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.readResponse(HTTPJavaImpl.java:282)
at
(Continue reading)

Flavio Cysne | 11 Jul 2012 13:39
Picon

Re: Error while running Jmeter script

Niraj,

    some question come up when this kind of error occurs:

    1. How many threads have you started?
    2. Can you post server error logs, if any?
    3. If starting many threads, have you decreased the load to see if and
when this error stops?
    4. If starting many threads, have you increased connection/thread pool
or any other server/application configuration to see if error stops?
    5. Is the load applied overloading your network bandwidth?

    I have ran into a situation like this and, for my case, decreasing the
load stops the error. At this point I started monitoring network
(interfaces and bandwidth) and server connections. The problem was server's
connections pool/queue too low for the load.

Hope it helps you.
Flávio Cysne

2012/7/11 Niraj <niraj.khatmode <at> gmail.com>

> Hello All,
>
> I am running a Jmeter script in version 2.6. After running script in result
> tree i am getting below mentioned error. But this error is not coming to
> any specific request. I am getting this error for any random request. If i
> ran test 1st time i am getting error for one png request. In next run same
> png request passed successfully and error is seen for some different
> request.
(Continue reading)

Niraj | 11 Jul 2012 13:54
Picon

Re: Error while running Jmeter script

Thanks for the response.Please find below my answers.

1. How many threads have you started? Only 1 Thread
2. Can you post server error logs, if any .... There are no server logs
3. If starting many threads, have you decreased the load to see if and
when this error stops? I am running test for single user
 4. If starting many threads, have you increased connection/thread pool
or any other server/application configuration to see if error stops? I
haven't done anything on server
  5. Is the load applied overloading your network bandwidth? I
am running the test on internal which has bandwidth of 1GBPS.

On Wed, Jul 11, 2012 at 5:09 PM, Flavio Cysne <flaviocysne <at> gmail.com> wrote:

> Niraj,
>
>     some question come up when this kind of error occurs:
>
>     1. How many threads have you started?
>     2. Can you post server error logs, if any?
>     3. If starting many threads, have you decreased the load to see if and
> when this error stops?
>     4. If starting many threads, have you increased connection/thread pool
> or any other server/application configuration to see if error stops?
>     5. Is the load applied overloading your network bandwidth?
>
>     I have ran into a situation like this and, for my case, decreasing the
> load stops the error. At this point I started monitoring network
> (interfaces and bandwidth) and server connections. The problem was server's
> connections pool/queue too low for the load.
(Continue reading)

ZK | 11 Jul 2012 16:29
Picon

Re: Error while running Jmeter script

Do you have a load balancer?

ZK

--
View this message in context: http://jmeter.512774.n5.nabble.com/Error-while-running-Jmeter-script-tp5713976p5713980.html
Sent from the JMeter - User mailing list archive at Nabble.com.
Niraj | 12 Jul 2012 06:07
Picon

Re: Error while running Jmeter script

Nope. Is it because of Ping server or it's a Jmeter issue?

On Wed, Jul 11, 2012 at 7:59 PM, ZK <stevesenior69 <at> gmail.com> wrote:

> Do you have a load balancer?
>
>
> ZK
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Error-while-running-Jmeter-script-tp5713976p5713980.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe <at> jmeter.apache.org
> For additional commands, e-mail: user-help <at> jmeter.apache.org
>
>
sebb | 13 Jul 2012 11:05
Picon

Re: Error while running Jmeter script

On 11 July 2012 12:03, Niraj <niraj.khatmode <at> gmail.com> wrote:
> Hello All,
>
> I am running a Jmeter script in version 2.6. After running script in result
> tree i am getting below mentioned error. But this error is not coming to
> any specific request. I am getting this error for any random request. If i
> ran test 1st time i am getting error for one png request. In next run same
> png request passed successfully and error is seen for some different
> request.
>
> Can someone please help me to resolve this issue?
>
> java.net.SocketException: Connection reset at
> java.net.SocketInputStream.read(SocketInputStream.java:168) at
> java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at
> java.io.BufferedInputStream.read1(BufferedInputStream.java:258) at
> java.io.BufferedInputStream.read(BufferedInputStream.java:317) at
> sun.net.www.MeteredStream.read(MeteredStream.java:116) at

This is almost certainly caused by the server dropping the connection,
most likely because it is overloaded.

Check the server logs to see if there is any relevant information.

Does the frequency of the errors vary with the total load on the server?

If it's not the server, then it must be some other part of the route
between JMeter and the server, e.g. router/gateway.
Niraj | 13 Jul 2012 12:05
Picon

Re: Error while running Jmeter script

Hello Sebbaz,

I am running test for single user and i am not able anything in error log
of server.

Frequency is any one random request per on load test run. If i ran load
test for 5 users, one random request for per users fail with the mentioned
error.

Thanks,
Niraj

On Fri, Jul 13, 2012 at 2:35 PM, sebb <sebbaz <at> gmail.com> wrote:

> On 11 July 2012 12:03, Niraj <niraj.khatmode <at> gmail.com> wrote:
> > Hello All,
> >
> > I am running a Jmeter script in version 2.6. After running script in
> result
> > tree i am getting below mentioned error. But this error is not coming to
> > any specific request. I am getting this error for any random request. If
> i
> > ran test 1st time i am getting error for one png request. In next run
> same
> > png request passed successfully and error is seen for some different
> > request.
> >
> > Can someone please help me to resolve this issue?
> >
> > java.net.SocketException: Connection reset at
(Continue reading)

Flavio Cysne | 13 Jul 2012 14:05
Picon

Re: Error while running Jmeter script

Just to check. Did you test using Java, H3.1 and H4 implementations? All
implementations throws that error?

Regrads.

2012/7/13 Niraj <niraj.khatmode <at> gmail.com>

> Hello Sebbaz,
>
> I am running test for single user and i am not able anything in error log
> of server.
>
> Frequency is any one random request per on load test run. If i ran load
> test for 5 users, one random request for per users fail with the mentioned
> error.
>
> Thanks,
> Niraj
>
> On Fri, Jul 13, 2012 at 2:35 PM, sebb <sebbaz <at> gmail.com> wrote:
>
> > On 11 July 2012 12:03, Niraj <niraj.khatmode <at> gmail.com> wrote:
> > > Hello All,
> > >
> > > I am running a Jmeter script in version 2.6. After running script in
> > result
> > > tree i am getting below mentioned error. But this error is not coming
> to
> > > any specific request. I am getting this error for any random request.
> If
(Continue reading)


Gmane