Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.EOFException: Unexpected end of ZLIB input stream #1828

Closed
asfimport opened this issue Nov 15, 2006 · 2 comments
Closed

java.io.EOFException: Unexpected end of ZLIB input stream #1828

asfimport opened this issue Nov 15, 2006 · 2 comments

Comments

@asfimport
Copy link
Collaborator

Ron Plasse (Bug 40983):
I am using:
JMeter 2.2
Windows XP SP2
Java 1.5.0_07
Internet Explorer 6

I am using JMeter to performance test a web application where all
communication is going through an IIS 5 web server. Everything was working
fine till we installed Port80 HTTPZip on the IIS server to do compression.
Once that software was installed and compressing the http responses, JMeter
would report the error below in the "Response Data" window of the results
tree. HTTPZip is compressing a data stream. Using Fiddler I captured the
stream and saved it to a file. I was unable to uncompress the file using
WinRAR. It reported a similar error as JMeter. What I assume is happening is
that because the data is streamed there is not a proper file size being
reported in the compressed file. I am guessing that is why both WinRAR and
JMeter are unable to uncompress the file. However Internet Explorer is able to
display the html page just fine. Is there a way to configure/enhance JMeter to
be able to deal with this type of compressed data in the same way that
Internet Explorer does?

java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse
(HTTPSampler.java:243)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:433)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:658)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:647)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
at java.lang.Thread.run(Thread.java:595)

OS: Windows XP

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
The fact that neither WinRAR nor Java can handle the Zip compression suggests
that there is some error in the stream that IE6 is able to ignore.

What happens if you try using other browsers such as Opera and FireFox?

The Zip handling code is part of the Java runtime libraries, not JMeter, so any
bugs in this area would need to be directed to Sun, though of course one would
first need a simple test case that did not require JMeter.

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
Seems to be not a JMeter error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant