Forum Discussion

_lauren11's avatar
_lauren11
Occasional Contributor
4 years ago

How to compare ₹(INR symbol) in soap ui open source, using groovy

In Web service automation:- one of the response parameter contains ₹(Indian rupee symbol). 

Response is of key-value pair format(json)

{

"Currency":"₹"

}

When i am fetching the content, it displays  like â?¹.

How to verify, the response contains  ₹ symbol or not?

  • richie's avatar
    richie
    4 years ago
    Hey _lauren11,

    The problem is character encoding. Essentially soapui isnt recognising the indian character so id guess you need to change your charset that does support indian characters.

    Soapui is supposed to support these characters considering an old post (eviware soapui) i found yesterday.

    So. Determine the charset that supports the character and change your char encoding property in soapui to match

    Nice one

    Rich
    • richie's avatar
      richie
      Community Hero
      Hey _lauren11,

      The problem is character encoding. Essentially soapui isnt recognising the indian character so id guess you need to change your charset that does support indian characters.

      Soapui is supposed to support these characters considering an old post (eviware soapui) i found yesterday.

      So. Determine the charset that supports the character and change your char encoding property in soapui to match

      Nice one

      Rich