Forum Discussion

fazlook's avatar
fazlook
Frequent Contributor
9 years ago

Compare only the format (not the content) of 2 XML responses

How do i compare only the format of 2 XML responses and make sure they keep the same order?

 

I would like to:

 

Send a PUT request1 that contains right XML elements -> Get RESPONSE1 format (i dont care about the inside content)

Send a PUT request2 that contains same XML elements but in a different order -> Get same RESPONSE1 format (i dont care about the inside content)

 

I just want to confirm that the responses are in the same format of XML elements and the order of the XML elements is still the same. .