Forum Discussion
nmrao
10 years agoCommunity Hero
Would it be possible for you to show the available input expected output xmls?
- Sharmila10 years agoNew Contributor
Please find the screenshots.
- nmrao10 years agoCommunity HeroThank you for the attachment.
Could not see the xml structure of unaligned, can only see masterlist. Does unaligned look exactly same as masterlist? or can you show it?
Also is it possible to show the jdbc result as xml if not full, just one record.
From the test case, I see datasource loop which does not seem to be required based on what I see? Can be removed if not required.
All the records of db as well as xml response can be verified/compared in just groovy script.
If I have to do this - here is what I follow:
1. Read the xml response, and create data objects by using class/model
2. Same as above for jdbc response data
3. Now compare both the objects, loop thru the list of both types.