Using Apache JMeter 2.7, the message body (JSON) for my POST request contains a password field which is in the form asdf%xy3dsfsfsf.
JMeter is trying to interpret %xy as percent encoded character and throwing this exception.
Uncaught Exception java.lang.IllegalArgumentException: URLDecoder:
Illegal hex characters in escape(%) pattern – For input string: “xy”.
See log file for details.
I cannot escape the character using backslash asdf\%xy3dsfsfsf since it would get to the webservice as the incorrect password.
Please advice on how to resolve this issue.
UPDATE:
The issue is resolved in build 2578.
https://builds.apache.org/job/JMeter-trunk/2578/
You can try checking encode checkbox on the parameter in Parameters Tab as you value contains special char %.
From reference about Send Parameters With the Request:
See also:
Finally, can you confirm you get the exception when clicking HTTP Request in View Results Tree, I’ve raised a bug to improve this behaviour anyway which has been fixed:
Maybe you could try the nightly build which will is now available and give some feedback, see instructions for using it here:
Regards
Philippe M.