GET https://postman-echo.com/get?foo1=bar1&foo2=bar2
This test is written to validate that response payloads returned from the server are well-formed. It uses the Tiny Validator for JSON Schema v4. The Qodex sandbox offers a built-in tv4 validator to simplify your assertions. Use JSON-schema draft v4 to validate simple values and complex objects using a rich validation vocabulary (examples).
Body
PARAM
Key | Datatype | Required | Description |
foo1
|
string | ||
foo2
|
string |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"args": {
"foo1": "bar1",
"foo2": "bar2"
},
"headers": {
"x-forwarded-proto": "https",
"host": "postman-echo.com",
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"cache-control": "no-cache",
"cookie": "sails.sid=s%3AwJjqwuZdKqKOiQ9FVnzMr8QoFaPFxpfD.ldt8sflpZLQkRbE1yyJtcIZIuirLfn4yFsVxtvFolWY",
"postman-token": "9dd498fe-4233-4512-a506-974f85cab10d",
"user-agent": "PostmanRuntime/7.3.0",
"x-forwarded-port": "443"
},
"url": "https://postman-echo.com/get?foo1=bar1&foo2=bar2"
} |