mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-03 14:33:53 +03:00
dd98920f80
Can now be on the following: - Binary response body - JSON - Textual Summary
32 lines
706 B
JSON
32 lines
706 B
JSON
{
|
|
"filename": "tests/error_assert_match_utf8.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert/match-utf8"
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"asserts": [
|
|
{
|
|
"success": true,
|
|
"line": 2
|
|
},
|
|
{
|
|
"success": true,
|
|
"line": 2
|
|
},
|
|
{
|
|
"success": false,
|
|
"message": "Invalid Decoding\n --> tests/error_assert_match_utf8.hurl:4:1\n |\n 4 | body matches \".*\"\n | ^^^^ The body can not be decoded with charset 'utf-8'\n |",
|
|
"line": 4
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|