Are you following an example of this on https://developer.cisco.com/codeexchange/?
If you are doing this in Python, after running the test case, you can get the response as an XmlObject using getProperty("Response") and then convert the XmlObject to a String using XmlObject.toString().
Hope this helps.
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io