Forum Discussion

Kumarprakash93's avatar
Kumarprakash93
Occasional Contributor
7 years ago

How to Pass/set json request into Base64 Encoding in SoapUI

Hi

As earlier the implementation was common and we pass normal json request in SoapUI, & processed successfully .

 

Bu we are getting Bad Request response in soapui response level, due to some special Char 

like-  '£', '£C' and '£E' Symbol.

 

Please suggest me how to encode or any setting in SoapUI so that my request successfully processed.

 

 

Plz help.

3 Replies

  • avidCoder's avatar
    avidCoder
    Super Contributor

    This requires slight changes in ReadyAPI/Soap UI Pro:-

     

    Add “-Dfile.encoding=UTF8” in the file ReadyAPI.vmoptions located in bin directory “C:\Program Files\SmartBear\ReadyAPI-2.2.0\bin”

     

     

    And restart your Ready API tool once again.. Hope it works for you.

    • Kumarprakash93's avatar
      Kumarprakash93
      Occasional Contributor

      First of All Thank you ashutoshanshu for quick Reply. I will trying as your suggestions. :)

       

      My Another problem is I want to Encode my Json Post Request with 'HtmlEncode'(only Request values)

       

      "String to an HTML-encoded string."

       

      How to do this?

       

      Please suggest me.

      • avidCoder's avatar
        avidCoder
        Super Contributor

        Could you please elaborate? Html-encoded String.. Could you please tell me the format?