Assertions
By default we expect the endpoint to return a 200
status code. If you want to check for a different status code you can go to to the Assertions
tab and add a new assertion.
We support status code, header and body string assertions.
To change assertions for your monitors: Select a monitor → Settings → Timing & Assertions.
Status Code Assertions
Define the status code you want to check for.
Supports Equal
, Not equal
, Greater than
, Less than
, Greater than or equal
, Less than or equal
assertions.
Header Assertions
Define the header you want to check for.
Supports Equal
, Not equal
, Contains
, Does not Contain
, Empty
, Not empty
, Greater than
, Less than
, Greater than or equal
, Less than or equal
assertions.
Body String Assertions
Define the body string you want to check for.
Supports Equal
, Not equal
, Contains
, Does not Contain
, Empty
, Not empty
, Greater than
, Less than
, Greater than or equal
, Less than or equal
assertions.