Compare service test response contents

 

+

Search Tips   |   Advanced Search

 

Overview

After running a service test with equal or contain verifications points, you can compare the actual XML or text contents of the message returns with the expected results of the verification points in the test log.

Before comparing results have run a service test with equal or contain verification points.


Compare the actual and expected results of a service message return

  1. After running the test, open the test log.

  2. Open the Service Content view...

      Window | Show View | Other | Test | Service Content

  3. Select an equal or contain verification point.

    The Service Content view displays a comparison between the expected data from the verification point and the actual data received during the run.


What to do next

You can change the way the workbench displays compared views by clicking Window > Preferences > General > Compare/Patch.


Related

  • Web service test editor overview
  • Add elements to a service test
  • Display XML data with the Service Content view
  • Service test details
  • Service test editor preferences