venkireddy1991
5 years agoOccasional Contributor
Best way to compare two JSON responses
Hi Team,
I would like to compare the actual JSON response with an expected JSON response by ignoring certain nodes and properties..Could you please let me know what is the best approach to do using readyapi?
I found a way to do the same for XML files looking for the support on JSON as well.
https://github.com/nmrao/groovyScripts/blob/master/compare/CompareWithIgnoreElements.groovy
Much appreciated..
Thanks
Andy
Rao, Richie, thank you!
Hi venkireddy1991 , I found a couple of threads you might want to check out:
https://community.smartbear.com/t5/SoapUI-Pro/compare-a-response-with-a-json-file/m-p/168926