Forum Discussion

JayaLakshmi's avatar
JayaLakshmi
New Contributor
13 years ago

SoapUI- RestService

Hi,

I am new to SoapUI, I am using SoapUI 4.6, and I have created a RestService. Executing successfully ie., finished successfully. But Response as : Http:BadRequest 400 , json Response as <responsecode>invalid request parameters passed</responsecode>.
I observed that one of the parameter is always converting into html URL encoding format ie., %2F as \ , %2B as +
%3D as = . Is this is the issue where i am getting bad request response. When i am trying this Same URL which i have used in RestService is working fine with browser, but with SoapUI - RestClient RestService - invalid request parameters.
I did Disable URL-Encoding of the parameter value . But still i am not getting 200 Ok response.

Please Let me know where is the issue , I am eagerly waiting for ur response.

Thanks and regards

5 Replies

  • SiKing's avatar
    SiKing
    Community Hero
    SoapUI encodes certain parameters incorrectly: bug SOAP-625. There is currently no workaround.
  • Hi
    Thank you for your information. How to proceed further please let me know please
  • SiKing's avatar
    SiKing
    Community Hero
    SiKing wrote:
    There is currently no workaround.

    Try this: with parameter encoding turned on, try to send the string
    `1234567890-=~!@#$%^&*()_+[]\{}|;':",./<>?
    and see what gets encoded correctly for you. Avoid using everything else.
  • Can you disable the encoding in REST as I've identified in the attached image. Does that work?

    Thanks,
    Michael Giller
    SmartBear Software