The failure is in the readResponse() method, which suggests that the
server is having problems responding.

Might be worth trying the latest nightly version of JMeter, as I made
some changes to the handling of readResponse() failures to prevent
them propagating to other threads.

I'm not sure that this error can be avoided by any changes to JMeter -
in the (limited) tests I did, it would wait for as long as necessary
for the response to come back. However, there may be something that
can be done.

It might also be worth running multiple JMeter instances. This should
show whether the problem is in JMeter or the server.

Also, as Oliver said, try the HTTP Client version. You'll probably
need the latest nightly for this, as there are several fixes in it.

S.
On 21/05/06, Oliver Erlewein (DSLWN) <[EMAIL PROTECTED]> wrote:
Hi

Do you use "HTTP Client" or "HTTP Request HTTP Client"? My tip is, that
the connection times out from the Jmeter side but that all depends on
which sampler you're using.

Cheers
Oliver

-----Original Message-----
From: Richa Pant [mailto:[EMAIL PROTECTED]
Sent: Sunday, 21 May 2006 12:51
To: [email protected]
Subject: Getting Exception "java.io.IOException: Stream closed"

Hi ,

I created a JMeter test case in which each thread tries to upload total
of 1MB of data (divided into files of 50KB each ) to Remote Server. I
tried with varying no of threads with Ramp Up period as 0, since I
wanted to test simltaneous hits.
  The test cases went fine if I connected  on LAN speed of 100Mbps.
  When I throttled the LAN bandwidth using " Soft Perfect Bandwidth
Manager " to 70Kbps, to simulate slower connection, the Test Cases with
upto 5 threads goes fine , but after that some requests starts throwing
the following Exception. The no of requests failing with this exception
increases with no of threads an by 30 threads all the request are
failing.

  java.io.IOException: Stream closed
 at java.io.BufferedInputStream.getInIfOpen(Unknown Source)  at
java.io.BufferedInputStream.read1(Unknown Source)  at
java.io.BufferedInputStream.read(Unknown Source)  at
java.io.FilterInputStream.read(Unknown Source)  at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSam
pler.java:235)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
ava:449)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:514)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:503)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
 at java.lang.Thread.run(Unknown Source)

....................


  Any help in the direction, is greatly appreciated,

  Regards,
  Richa

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to