You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Richa Pant <ri...@yahoo.com> on 2006/05/21 02:51:24 UTC

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(HTTPSampler.java:235)
 at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:449)
 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.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

		
---------------------------------
Ring'em or ping'em. Make  PC-to-phone calls as low as 1ยข/min with Yahoo! Messenger with Voice.