Forum Discussion

raghue's avatar
raghue
New Contributor
14 years ago

Cannot post a french characters in the payload - help needed

Hi All,


When i post a French characters in the payload, my SUT i.e Application server do not show french characters, it vomits them.


But the same request when i tried using fiddler tool, my application server shows french characters.


Please let know if any settings or preferences needs to be changed in soapUI tool.

Also if i need anything to be added as header info

POST http://XXX.XX.23.9:8080/NGTCommandCenter/CRMMessage HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: c2VydmljZV9uZ3RfYjJjOlNXXXXd0MDIyMmNk
XXXHeaderType.collectedTimestamp: 7/29/2011 1:29:30 PM
XXXHeaderType.siteId: Test
XXXHeaderType.systemId: XXXHeaderType.systemId
XXXHeaderType.messageId: telematics.XXX.com
XXXHeaderType.businessId: Test
Content-Type: text/xml
XXXHeaderType.userId: 1
Content-Length: 1946
Host: XXX.XX.23.9:8080

2 Replies

  • Aaronliu's avatar
    Aaronliu
    Frequent Contributor
    It seems soapui does not support of special characters. you just saw the special chareacter once when you copy to soapui.but it will be converted into question mark instead of special characters after restart soapui. the one solution is that to store these special characters in an external file and then import to test step of soapui.

    Thanks,
    Aaron
  • raghue's avatar
    raghue
    New Contributor
    Aaron,

    Thanks for the insight. You were right. But i could not import the request to my HTTP teststep.

    But i am trying manually converting ISO-8859-1 to UTF-8 and then posting the converted strings in the request.

    http://www.unicodetools.com/unicode/utf ... verter.php

    this is working. Is there any Groovy or SoapUI internal setting to do this ?

    Thanks