https://issues.apache.org/bugzilla/show_bug.cgi?id=54142
Priority: P2
Bug ID: 54142
Assignee: [email protected]
Summary: HTTP Proxy Server throws an exception when path
contains "|" character
Severity: major
Classification: Unclassified
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 2.8
Component: HTTP
Product: JMeter
Created attachment 29595
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29595&action=edit
Result of recording when exception was raised
I've have some application to test which is working fine, but during recording
process with JMeter when I select some link, proxy rises an exception (visible
only in web browser):
java.net.URISyntaxException: Illegal character in path at index 51:
http://10.133.47.78:8080/comarch-cm/cm/showAccounts|C|21737.treeGroupNode|G|21731.treeGroupNode|G|21691.?clickContext=tree
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at java.net.URL.toURI(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:232)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1075)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:212)
I'm including a short version of recording.
Below is the content of problematic GET request from "View Results Tree"
attached to "HTTP Proxy Server" (HTTP view):
Method GET
Protocol http
Host 10.133.47.78
Port 8080
Path
/comarch-cm/cm/showAccounts|C|21737.treeGroupNode|G|21731.treeGroupNode|G|21691.
clickContext tree
Looks like "|" character character is problematic here.
--
You are receiving this mail because:
You are the assignee for the bug.