REST test step: Assert JSON Response Payload Element

Assert the JSON response payload element exists, or has the specified relationship to the specified value.

Assert steps must immediately follow a Send REST Request - Inbound step. You can have multiple REST assert steps following a Send REST Request - Inbound step, but the assert steps cannot be separated from the Send REST Request - Inbound step by steps from other test categories.

Table 1. Inputs
Field Description
Execution Order An integer specifying the order in which this step executes.

As you create steps, the system automatically assigns each step an incremental value. This causes the test to execute steps in the order in which you created them. You can change this default order by editing the Execution Order values.

Active If this step is active true. Otherwise, false.
Application The application scope in which the system will run this step.
Test (Read only.) The test to which this step belongs.
Step config (Read only.) The test step for this form.
Element path Specify the SNC path to the element to be evaluated. For example /result/short_description for
{
  "result": {
    "number": "INC0020001",
    "short_description": "test"
  }
}
See Importing JSON files for more information.
Operation Select the relationship between the element in the response and the value you specify.
Value The element value to use in the test. This field is not shown if the operation is is not empty.