Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

Validating a SOAP response XML against a JDBC response XML

$
0
0

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 >
<aSmiley FrustratedhipTo>

 

<aSmiley FrustratedhipToID>27</aSmiley FrustratedhipToID>

<a:AccountNumber>10022</a:AccountNumber>

</aSmiley FrustratedhipTo>

 

 

Is there a way to validate both these XML  using groovy? 


Viewing all articles
Browse latest Browse all 21061

Trending Articles