XPath Assertion editor

  • equals with strict text comparison of the response against the expected results
  • contains with simple check if the response contains the expected results
  • count compares the number of elements based on evaluting the assertion against the response with the number in expected results
  • countGreater compares the number of elements based on evaluting the assertion against the response with the number in expected results, which must be greater
  • countGreaterEquals compares the number of elements based on evaluting the assertion against the response with the number in expected results, which must be equal or greater
  • countSmaller compares the number of elements based on evaluting the assertion against the response with the number in expected results, which must be smaller
  • countSmallerEquals compares the number of elements based on evaluting the assertion against the response with the number in expected results, which must be smaller or equal
  • notExistsverifies that no element is found by the assertion expression against the reponse
  • beginsWith with simple check if the response begins with the expected results
  • endsWith with simple check if the response ends with the expected results

Sample assertion with failed run result. Error messages are displayed in place.

Assertion editor screenshot with error