@apica-io/url-xi
Version:
URL Check for integrations and API monitoring
41 lines (36 loc) • 1.2 kB
JSON
{
"$schema": "https://files-apicasystem-com.s3-eu-west-1.amazonaws.com/schemas/url-xi-schema-v1-0.json",
"name": "HTTP-Bin Test HTTP Auth ",
"baseURL": "https://httpbin.org",
"steps": [
{
"name": "Auth tests",
"requests": [
{
"name":"Auth OK",
"config": {
"method": "get",
"url": "/basic-auth/foo/bar",
"auth": {
"username": "foo",
"password": "bar"
}
},
"extractors": []
},
{
"name":"Auth Wrong password",
"config": {
"method": "get",
"url": "/basic-auth/foo/error",
"auth": {
"username": "foo",
"password": "bar"
}
},
"expectedStatus": 401
}
]
}
]
}