alibaba82
15 years agoSuper Contributor
compare lists
Hello,
We have a lot of usecase where we need to write groovy scripts to compare collections returned from different steps.
for example
REST Step - find albums for Michael Jackson
JDBC Step - find albums for Michael Jackson
REST Step (to some competitor service) - find albums for MJ
Although the response structure for each of them is quite different, in the end I do always end up writing some groovy code to compare the lists.
Would it be possible for soapUI to create some wizard which would take two list an a input parameter and assert on the contents. It should also have a option for ignoring the order of items in the collection.
Thanks
Ali
We have a lot of usecase where we need to write groovy scripts to compare collections returned from different steps.
for example
REST Step - find albums for Michael Jackson
JDBC Step - find albums for Michael Jackson
REST Step (to some competitor service) - find albums for MJ
Although the response structure for each of them is quite different, in the end I do always end up writing some groovy code to compare the lists.
Would it be possible for soapUI to create some wizard which would take two list an a input parameter and assert on the contents. It should also have a option for ignoring the order of items in the collection.
Thanks
Ali