Hi,

I'm having issues when trying to send a JSONP request to a REST service.
I'm sending this get request "
http://localhost:27080/SAPDB/orders/_find?criteria={"ORDER_ID":1} "

and I get the following as the response which is an exception thrown out by
Jmeter. I tried sending them in both "application/x-www-form-urlencoded"
and "application/json" for Content-Type header, but I get the same error.
Can someone please help me with this.

java.net.URISyntaxException: Illegal character in query at index 70:
http://localhost:27080/SAPDB/orders/_find?criteria={"ORDER_ID":1}
at java.net.URI$Parser.fail(URI.java:2827)
at java.net.URI$Parser.checkChars(URI.java:3000)
at java.net.URI$Parser.parseHierarchical(URI.java:3090)
at java.net.URI$Parser.parse(URI.java:3032)
at java.net.URI.<init>(URI.java:595)
at java.net.URL.toURI(URL.java:936)
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:227)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1060)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1049)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:442)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271)
at java.lang.Thread.run(Thread.java:722)
-- 
*Nirodha Gallage*
Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
Email: [email protected]   Mobile: +94716429078

Reply via email to