You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/01/18 06:20:51 UTC
[Bug 58881] New: When using HTTPHC4Impl show exception when server
used deflate compressing.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
Bug ID: 58881
Summary: When using HTTPHC4Impl show exception when server used
deflate compressing.
Product: JMeter
Version: 2.13
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: liu.xp2003@gmail.com
steps:
1. Add a new HTTP sampler[using HttpClient4] for test server.[the server only
use deflate compress]
2. Add HTTP Header with Accept-Encoding = gzip, deflate, sdch
3. Run test with one thread.
Expect Results:
JMeter could get response data in view results tree listener.
The content should be readable.
Current Result:
In View Results Tree panel, I got following message in Response data tab.
[HttpClient3 and JAVA client could show compressed data.]
java.util.zip.ZipException: invalid stored block lengths
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at
org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:155)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTTPSamplerBase.java:1915)
at
org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.readResponse(HTTPAbstractImpl.java:433)
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:352)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1313)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1302)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:483)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:310)
at java.lang.Thread.run(Thread.java:745)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58881] HTTP Request : HTTPHC4Impl shows exception when server
uses "deflate" compression
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|When using HTTPHC4Impl show |HTTP Request : HTTPHC4Impl
|exception when server used |shows exception when server
|deflate compressing. |uses "deflate" compression
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58881] HTTP Request : HTTPHC4Impl shows exception when server
uses "deflate" compression
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58881] HTTP Request : HTTPHC4Impl shows exception when server
uses "deflate" compression
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |57319
--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Fri Feb 26 22:35:18 2016
New Revision: 1732569
URL: http://svn.apache.org/viewvc?rev=1732569&view=rev
Log:
Upgrade to HttpClient/httpmime 4.5.2 which fixes at the same time:
- Bug 58881 - HTTP Request : HTTPHC4Impl shows exception when server uses
"deflate" compression
- Bug 58583 - HTTP client fails to close connection if server misbehaves by not
sending "connection: close", violating HTTP RFC 2616 / RFC 7230
- Bug 56358 - Cookie manager supports cross port cookies and RFC6265
- Bug 57319 - Upgrade to HttpClient 4.5.2
Bugzilla Id: 57319
Modified:
jmeter/trunk/build.properties
jmeter/trunk/eclipse.classpath
jmeter/trunk/lib/ (props changed)
jmeter/trunk/lib/aareadme.txt
jmeter/trunk/licenses/bin/README.txt
jmeter/trunk/res/maven/ApacheJMeter_parent.pom
jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestCookieManager.java
jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58881] When using HTTPHC4Impl show exception when server used
deflate compressing.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
Eagle Liu <li...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #2 from Eagle Liu <li...@gmail.com> ---
Plesae refere the bug https://issues.apache.org/jira/browse/HTTPCLIENT-1550
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58881] When using HTTPHC4Impl show exception when server used
deflate compressing.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 33574
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33574&action=edit
Test plan reproducing issue
Note I don't reproduce issue with Tomcat 8 with compression="on".
So I am again using an external link.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58881] When using HTTPHC4Impl show exception when server used
deflate compressing.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |p.mouawad@ubik-ingenierie.c
| |om
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hi,
Can you show request and response headers ?
Can you show the raw response you get with Java and HttpHC3Impl?
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58881] HTTP Request : HTTPHC4Impl shows exception when server
uses "deflate" compression
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
Bug 58881 depends on bug 57319, which changed state.
Bug 57319 Summary: Upgrade to HttpClient 4.5.2
https://bz.apache.org/bugzilla/show_bug.cgi?id=57319
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58881] When using HTTPHC4Impl show exception when server used
deflate compressing.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58881
--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
This issue will be fixed by 4.5.2 release.
--
You are receiving this mail because:
You are the assignee for the bug.