This topic explains how to use SOAtest’s Response Validation wizard to validate the value of an individual response element in XML or JSON format messages.

To configure SOAtest to validate a specific element from the service’s response message:

  1. Right-click the appropriate test suite or test nodes and choose Create/Update Regression Control.
  2. In the Response Validation wizard that opens, choose Create Value Assertion and click Next. The next page will show a tree representation of the expected response message from the server.
  3. Select the tree node that corresponds to the element you want to validate and click Finish.

An XML Assertor or JSON Assertor tool (depending on the message format) will then be configured and chained to the test. 

  • No labels