Comparing service test response contents

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 you begin

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

About this task

To compare the actual and expected results of a service message return:

Procedure

  1. After running the test, open the test log.
  2. Make sure the Service Content view is open. If necessary click Window > Show View > Other > Test > Service Content to open the view.
  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.

Feedback