Comparing XML response file

How to compare the two XML responses of of a request ?

Already executed response and current response of a request message..

Comments

  • jakubiakjakubiak Posts: 272 ✭✭✭

    It looks like you need to store the response from one service invocation, and then use that to compare against the response from a second service invocation. To do this, you would use a File Writer tool to write the response from the first invocation to disk, and then use a Diff tool in the second test to compare the response from the second invocation against the file that you wrote to disk.

  • benken_parasoftbenken_parasoft Posts: 399 ✭✭✭

    Store the XML you want to compare using an XML Data Bank tool. You can use a Diff tool to compare the other response (as input) against the data bank column (control source).

Sign In or Register to comment.