Forum Discussion

OOTesting's avatar
OOTesting
Occasional Contributor
8 years ago
Solved

Compare 2 XML responses for mismatches

HI,   Is it possible to compare 2 XML responses from a test steps which are using different endpoints and then compare the XML responses for any differences.   I am using SOAPUI (free)   Thank ...
  • nmrao's avatar
    8 years ago
    You can write a groovy script to do so.

    It might be the case that the two responses might be in different format, need to first be in the same format to be able to compare.

    Another thing to consider is that are there any variable data i.e., numbers, dates, uuid etc which never gets matched and to be ignored.