Forum Discussion
nmrao
12 years agoChampion Level 3
Hi,
Am using a library to compare two xml objects in groovy. The below is the link where you can get the details of the library. Please note that you need compile it, create a jar and copy it under $SOAPUI_HOME/bin/ext before starting soapui.
http://code.google.com/p/deep-equals/
In the groovy script create xml object for both actual and expected using XmlSlurper, you may find example at
http://marxsoftware.blogspot.in/2009/11/slurping-xml-with-groovy.html
DeepEquals.deepEquals(actual, expected)
Hope this is helpful.
Regards,
Rao.
Am using a library to compare two xml objects in groovy. The below is the link where you can get the details of the library. Please note that you need compile it, create a jar and copy it under $SOAPUI_HOME/bin/ext before starting soapui.
http://code.google.com/p/deep-equals/
In the groovy script create xml object for both actual and expected using XmlSlurper, you may find example at
http://marxsoftware.blogspot.in/2009/11/slurping-xml-with-groovy.html
DeepEquals.deepEquals(actual, expected)
Hope this is helpful.
Regards,
Rao.
Related Content
- 7 years ago
- 2 years ago
- 9 years ago
Recent Discussions
- 2 days ago