Forum Discussion

igrinblat's avatar
igrinblat
New Contributor
15 years ago

Soapui encodes already encoded text in URL

Hi,

Soapui encodes already encoded text in URL

Example:
I have the following text in my URL request:
http%3a%2F%2Farticle.rmb.reuters.com%2Farticle%2Ftag%3areuters.com%5c%2c0000%3anewsml_TRE68D1JV%3a988229332

By sending the request
"http://fresh.rmb.reuters.com/rmd/rest/xml/itemSnippets/http%3a%2F%2Farticle.rmb.reuters.com%2Farticle%2Ftag%3areuters.com%5c%2c0000%3anewsml_TRE68D1JV%3a988229332"

Soapui encodes already encoded text in URL and the final requesr which sent is incorrect:
"http://fresh.rmb.reuters.com/rmd/rest/xml/itemSnippets/http%253a%252F%252Farticle.rmb.reuters.com
%252Farticle%252Ftag%253areuters.com%255c%252c0000%253anewsml_TRE68D1JV%253a988229332"

I tried to fix it by setting "Do not URL escape sevice endpoints" in Soapui Preferences but it doesn't helps.

How I can avoid this situation, I don't wont to encode already emcoded URL, It is wrong situation that SoapUI encodes text if we don't ask to do that.

2 Replies

  • Try use Disable Encoding into parameter properties on the corresponding parameter level (for example, on method level).
  • igrinblat's avatar
    igrinblat
    New Contributor
    How to disable parameter encoding?
    In the Rest TestRequest Properties I see parameter "Encoding" and it's value by default is empty. What should I set there? Or maybe I'm not looking in the correct place ..