Forum Discussion
eissaeva
Contributor
Also, my response is in JSON format
Is it possible to convert it to XML?
nmrao
3 years agoChampion Level 3
@eisseava,
If your service doesn't provide XML response, then one have to write some to do the conversion.
By the way, why you need to convert json to XML?
If your service doesn't provide XML response, then one have to write some to do the conversion.
By the way, why you need to convert json to XML?
- eissaeva3 years agoContributor
Hi Rao,
Yes, I would like to know how to compare JSON responses (actual vs expected) but I was only able to find below (comparing xml documents)
https://support.smartbear.com/readyapi/docs/testing/scripts/samples/compare-xml.html
Any help on how to compare json responses in a similar manner would appreciate
My requirement is not just to print out the actual / expected but to print out their differences in groovy
Thanks,