Validation
Syntax
# Validation Scenario -
# condition 1: Response Code Should be either 200 or 201.
# condition 2: Response Payload Should contain a key whose value contains substring “admin”
# condition 3: Response Headers Should contain a key “origin”
# All conditions are mandatory.
# Sample Yaml -
validate:
response_code:
or:
eq: 200
eq: 201
response_payload:
for_one:
value:
contains_either: admin
response_headers:
for_one:
key:
eq: originpercentage_match
percentage_matchpercentage_match_schema
percentage_match_schemaLast updated