mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-27 13:03:11 +03:00
dd98920f80
Can now be on the following: - Binary response body - JSON - Textual Summary
27 lines
587 B
JSON
27 lines
587 B
JSON
{
|
|
"filename": "tests/error_assert_status.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/not_found"
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 404
|
|
},
|
|
"asserts": [
|
|
{
|
|
"success": true,
|
|
"line": 2
|
|
},
|
|
{
|
|
"success": false,
|
|
"message": "Assert Status\n --> tests/error_assert_status.hurl:2:10\n |\n 2 | HTTP/1.0 200\n | ^^^ actual value is <404>\n |",
|
|
"line": 2
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|