Forum Discussion

swethakalluri's avatar
swethakalluri
New Contributor
8 years ago

How to compare the Soap Response elements (has multiple response fragments) to database values?

Hi,

I am very new to Soap UI and Groovy.

I have a JDBC step which returns 3 rows for a query.

There is service which returns variable number of response fragments.

I have saved the response to an XML datasource (response has 3 fragments).

Now I would like to compare the values in the response to the rows returned by the JDBC step (in short compare the response elements to the database values, response returns multiple values).

Can anyone suggest the best way to do this? If we have to use Groovy, pls provide a sample code.

 

Thanks!

No RepliesBe the first to reply