Forum Discussion

nelson_briones's avatar
nelson_briones
New Contributor
15 years ago

Comparing DataSource with response

Hi,

I'm new to soapUI, not an XML guy and using soapUI pro 3.6.1.
We have a soap operation "GetOffering" which gets all available product offering and is expected to have several products on the response.
The list of products is stored on the database with flags to make it available.
I'm able to use DataSource Data Connection to get the available product offerings but having a bit of trouble on how to validate that the products from GetOffering response matches which records on DataSource.

Can someone please suggest a solution on how I can validate multiple items on a XML response to a DataSouce or JDBC with several records as well.

Thanks,
Nelson

1 Reply

  • I have solved this by using XQuery on JDBC ResponseAsXml and the soap response.
    I then use a simple Groovy Script to compare the two XQuery results.