Skip to main content

Assertion

Postprocessor operation supports assertions. Assertions can be set on the data (or response time) returned by the API to determine if it meets expectations.

Example

Set assertions.

adada

View the assertion results after running.

adada

Extracting Value for Variables

The post-processor supports extracting values for variables. You can extract data from the API returned response and set them to variables (local variables/environment variables/global variables), which can be used directly by other API.