-
Notifications
You must be signed in to change notification settings - Fork 2
Assertion
Restel’s Assertion can be defined in the assertion field of the test suite execution sheet. Assertions are validated before invoking the test API call.
{
"<Assertion_name>":
{
“condition”:[“assert_type”
"<actual_value>",
"<expected_value>"],
“message”: “”
}
}
Assert-Type | Example |
---|---|
EQUAL or NOT_EQUAL |
|
NULL or NOT_NULL |
|
GREATER or LESSER |
|
TRUE or FALSE |
|