https://issues.apache.org/bugzilla/show_bug.cgi?id=47587
Summary: Recording using proxy fails with semicolon separated parameters Product: JMeter Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: HTTP AssignedTo: jmeter-dev@jakarta.apache.org ReportedBy: m...@pluton.nl NOTE: I am using 2.3.4 r785646 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=785646 ) (not available in the Version list) Recording a website that uses semicolons (';') to separate parameter values fails. The firstline in the unproxied request is: GET /home/initial-pages/initial-pages/support?func=add;class=WebGUI::Asset::Post::Thread HTTP/1.1 The proxied version: GET /home/initial-pages/initial-pages/support?func=add%3Bclass%3DWebGUI%3A%3AAsset%3A%3APost%3A%3AThread HTTP/1.1 Note how the semicolon, equals (and colon [1]) are encoded. This causes the recorded application to fail. The original URL is perfectly valid according to RFC 3986 section 3.3 (near the end) http://tools.ietf.org/html/rfc3986#section-3.3 Part of the problem is that org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase incorrectly assumes that ampersand ('&') is the only valid parameter separator (see http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2 ) I am able to reproduce this problem with both Firefox (3.5) and IE (8). I used a WebGUI WRE with a default demo-domain for reproduction. Steps: 0) Setup JMeter and browser with proxy for recording 1) Login as admin (only user on a demo) 2) Go to Initial Pages 3) Select a forum (eg Support) 4) Click Add Expected: Server returns page to add a message Actual Result: Server returned the forum-list (due to failing to interpret the query string sent by the proxy) The WebGUI WRE is available at http://www.webgui.org/download (Download WRE Binaries) with install instructions at http://www.webgui.org/community-wiki/wre-installation. Following those instructions should be enough to get the same demo-domain I used for reproducing this. 1) Note that encoding the colon is not necessary in a query-part according to the definition in RFC 3986 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org