I am using REST API for our performance testing. Once we are able to deal with SLL we have to send the actual XML in server accepting format.
Server is design in that way it will accept only url encoded ascii format. So, we have to convert actual xml to url encoded ascii format and replace "\\ " with " ".
Below piece of code we are uinsg while automation.
"XML=" (java.net.URLEncoder.encode(actual, "ASCII").replace("\\ ", " ")).trim();
Can any one help me how to perform same task through LR Scripting.