Summary: | HC4 and URI fragments is failing | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | shmulikk |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 2.8 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://shmuels.blogspot.de/2012/12/http-protocol-and-uri-fragments.html | ||
Bug Depends on: | |||
Bug Blocks: | 54482 | ||
Attachments: |
Screen shots comparing HC3 and HC4 behavior
Test Plan showing issue JSP to put in /examples/jsp folder of Tomcat6 |
Description
shmulikk
2012-12-26 09:51:39 UTC
Another point is that I don't specify this fragment as part of the path, it is the application which returns me with a 302 redirect to a URL like this. For now I am working around this, by using the older HC3.1 implementation. Hello, Thanks for report. Can you attach a document with screenshots of what you get and which url are wrong ? Also a jmeter.log file showing issue if you get any stacktrace ? Thank you Created attachment 29794 [details]
Screen shots comparing HC3 and HC4 behavior
Please note the response came from /post.jspa is a 302 redirect to /message/1000#1000 in both cases but the following request (follow redriects) is the problematic one on HC4.
No errors on JMeter side. Hello, I checked behaviour and JAVA Impl and HC4 behave the same way, they send the fragment. HC3.1 does not. (In reply to comment #5) > Hello, > I checked behaviour and JAVA Impl and HC4 behave the same way, they send the > fragment. > HC3.1 does not. Oups, no you are right, java removes fragment Seems to have been submitted previously: https://issues.apache.org/jira/browse/HTTPCLIENT-1177 But I reproduced it and opened: https://issues.apache.org/jira/browse/HTTPCLIENT-1286 Created attachment 29801 [details]
Test Plan showing issue
Created attachment 29802 [details]
JSP to put in /examples/jsp folder of Tomcat6
Fix will be available as soon as HttpClient-4.2.3 is released Thanks Philippe - I am following... Happy new year :) Date: Tue Jan 15 12:58:03 2013 New Revision: 1433386 URL: http://svn.apache.org/viewvc?rev=1433386&view=rev Log: Bug 54351 - HC4 and URI fragments is failing Bugzilla Id: 54351 Modified: jmeter/trunk/build.properties jmeter/trunk/eclipse.classpath jmeter/trunk/res/maven/ApacheJMeter_parent.pom jmeter/trunk/xdocs/changes.xml Date: Tue Jan 15 13:00:14 2013 New Revision: 1433387 URL: http://svn.apache.org/viewvc?rev=1433387&view=rev Log: Bug 54351 - HC4 and URI fragments is failing Bugzilla Id: 54351 Modified: jmeter/trunk/lib/ (props changed) This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3022 |