rad
10 years agoOccasional Contributor
Validating a SOAP response XML against a JDBC response XML
I am using SoapUi 5.2 and I am trying to validate a SOAP response XML against a JDBC test response Both belon to same test case. Both of these have the same content and but the nodes are named differently. I need to assrt it as PASS if the corresponding node values are same
For eg: In JDBC
Results>
<ResultSet fetchSize="0">
<Row rowNumber="1">
<ALTSHIPTOKEYID>27</ALTSHIPTOKEYID>
<ACCOUNTNUMBER>10022</ACCOUNTNUMBER>
</Row>
</resultSet>
</results>
SOAP:
<UpdateAccountShipToResult >
<a:ShipTo>
<a:ShipToID>27</a:ShipToID>
<a:AccountNumber>10022</a:AccountNumber>
</a:ShipTo>
Is there a way to validate both these XML using groovy?