XPath assertion allows to verify the response message with an XPath expression match.

This assertion interface is as follows:

This assertion interface is as follows:

  • Text - the text to find the value in;

  • Path - an XPath selector;

  • Expected value - the value that should be matched.

Fixing Errors

To fix an error, the XPath selector value is assigned to the expected value.

File Representation

The assertion has the xpath type in the file. The type description can be found in Assertion file representation Assertion file representation documentation in the #/definitions/ScriptAssertion definition.

Last updated