mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-22 10:31:46 +03:00
5159 lines
120 KiB
JSON
5159 lines
120 KiB
JSON
[
|
|
{
|
|
"filename": "tests/assert_base64.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-base64",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "19"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/assert_header.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-header",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [
|
|
{
|
|
"name": "cookie1",
|
|
"value": "value1",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "cookie2",
|
|
"value": "value2",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "cookie3",
|
|
"value": "value3",
|
|
"path": "/"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Header1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "ETag",
|
|
"value": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie1=value1; Path=/"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie2=value2; Path=/"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie3=value3; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 9,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/assert_json.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-json",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "160"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-json/index",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-json",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "160"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-json/list",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "61"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 23,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/assert_match.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-match",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "53"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 21,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/assert_regex.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-regex",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 9,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/assert_status_code.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-status-code",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 201,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-status-code",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 201,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-status-code",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 201,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 10,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/assert_xpath.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-xpath",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/basic_authentication.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/basic-authentication",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "21"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/bom.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/utf8_bom",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/bytes.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/bytes",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/octet-stream"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/capture_and_assert.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/capture-and-assert",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/captures.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/captures",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Header1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "Header2",
|
|
"value": "Hello Bob!"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/captures-check",
|
|
"queryString": [
|
|
{
|
|
"name": "param1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "param2",
|
|
"value": "Bob"
|
|
}
|
|
],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/captures-json",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "135"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 17,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/color.hurl",
|
|
"entries": [],
|
|
"success": true,
|
|
"time": 0,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/compressed.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/compressed/none",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/compressed/gzip",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "32"
|
|
},
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "gzip"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/compressed/zlib",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "20"
|
|
},
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "deflate"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/compressed/brotli",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "17"
|
|
},
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "br"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/compressed/brotli_identity",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "17"
|
|
},
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "br, identity"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 19,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/cookie_file.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookie_file",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/cookies.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/set-request-cookie1-valueA",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [
|
|
{
|
|
"name": "cookie1",
|
|
"value": "valueA"
|
|
}
|
|
],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie1-is-not-in-session",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/set-multiple-request-cookies",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [
|
|
{
|
|
"name": "user1",
|
|
"value": "Bob"
|
|
},
|
|
{
|
|
"name": "user2",
|
|
"value": "Bill"
|
|
}
|
|
],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/set-session-cookie2-valueA",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [
|
|
{
|
|
"name": "cookie2",
|
|
"value": "valueA",
|
|
"path": "/"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie2=valueA; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-valueA",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-valueA-and-valueB",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [
|
|
{
|
|
"name": "cookie2",
|
|
"value": "valueB"
|
|
}
|
|
],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/delete-cookie2",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [
|
|
{
|
|
"name": "cookie2",
|
|
"value": "",
|
|
"expires": "Thu, 10 Jun 2021 13:24:11 GMT",
|
|
"max_age": 0,
|
|
"path": "/"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie2=; Expires=Thu, 10 Jun 2021 13:24:11 GMT; Max-Age=0; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-not-in-session",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookies/set",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [
|
|
{
|
|
"name": "LSID",
|
|
"value": "DQAAAKEaem_vYg",
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
"path": "/accounts",
|
|
"secure": true,
|
|
"httponly": true
|
|
},
|
|
{
|
|
"name": "HSID",
|
|
"value": "AYQEVnDKrdst",
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
"domain": ".localhost",
|
|
"path": "/",
|
|
"httponly": true
|
|
},
|
|
{
|
|
"name": "SSID",
|
|
"value": "Ap4PGTEq",
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
"domain": ".localhost",
|
|
"path": "/",
|
|
"secure": true,
|
|
"httponly": true
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "LSID=DQAAAKEaem_vYg; Expires=Wed, 13 Jan 2021 22:23:01 GMT; Secure; HttpOnly; Path=/accounts"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "HSID=AYQEVnDKrdst; Domain=.localhost; Expires=Wed, 13 Jan 2021 22:23:01 GMT; HttpOnly; Path=/"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "SSID=Ap4PGTEq; Domain=.localhost; Expires=Wed, 13 Jan 2021 22:23:01 GMT; Secure; HttpOnly; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 36,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/cookie_storage.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookie-storage/assert-that-cookie1-is-valueA",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/cookie-storage/assert-that-cookie1-is-not-in-session",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 7,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/delete.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "http://localhost:8000/delete",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/empty.hurl",
|
|
"entries": [],
|
|
"success": true,
|
|
"time": 0,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/encoding.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/encoding/utf8",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/encoding/latin1",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=ISO-8859-1"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 10,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_base64.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/assert-base64",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "19"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_content_encoding.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error/content-encoding",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "unknown"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 6,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_decompress.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-decompress",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "gzip"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 3,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_file.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-file",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_header_not_found.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-header-not-found",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:11 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 3,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_header_value.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-header-value",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_http_version.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert/http-version",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 3,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_invalid_predicate_type.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-invalid-predicate-type",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 6,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_match_utf8.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert/match-utf8",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_query_cookie.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-query-cookie",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [
|
|
{
|
|
"name": "cookie1",
|
|
"value": "value1",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "cookie2",
|
|
"value": "value2",
|
|
"path": "/",
|
|
"secure": true
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie1=value1; Path=/"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie2=value2; Secure; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 12,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_query_invalid_regex.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-query-invalid-regex",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_query_invalid_xpath.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/utf8",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 6,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_status.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/not_found",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 404,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "232"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_template_variable_not_found.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-template-variable-not-found",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_value_error.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-value",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "32"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 14,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_variable.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-variable",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 7,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_assert_xpath.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-assert-xpath",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "45"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:12 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_body_json.hurl",
|
|
"entries": [
|
|
{
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 0,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_connect_timeout.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://10.0.0.0",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 1002,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_file_read_access.hurl",
|
|
"entries": [
|
|
{
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 0,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_http_connection.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://unknown",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 34,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_invalid_jsonpath.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-invalid-jsonpath",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "60"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:13 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 12,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_invalid_url.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "???",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 0,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_invalid_xml.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-invalid-xml",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:14 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_max_redirect.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/redirect/7",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 46,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_multipart_form_data.hurl",
|
|
"entries": [
|
|
{
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 0,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_predicate.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/predicate/error/type",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "74"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:14 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 21,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_query_header_not_found.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-query-header-not-found",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:14 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 10,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_query_invalid_json.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-query-invalid-json",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:14 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 13,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_query_invalid_utf8.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/error-query-invalid-utf8",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:14 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 6,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_template_variable_not_found.hurl",
|
|
"entries": [
|
|
{
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 0,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_template_variable_not_renderable.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/get-list",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:14 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/error_timeout.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/timeout",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": false,
|
|
"time": 1002,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/expect.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/expect",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "Expect",
|
|
"value": "100-continue"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:15 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 6,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/follow_redirect.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/follow-redirect",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:15 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 11,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/form_params.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/form-params",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"form": [
|
|
{
|
|
"name": "param1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "param2",
|
|
"value": ""
|
|
},
|
|
{
|
|
"name": "param3",
|
|
"value": "a=b"
|
|
},
|
|
{
|
|
"name": "param4",
|
|
"value": "a%3db"
|
|
}
|
|
],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/form-params",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 15,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/headers.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/default-headers",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/default-headers",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.0"
|
|
},
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/default-headers",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.0"
|
|
},
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/custom-headers",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "Fruit",
|
|
"value": "Raspberry"
|
|
},
|
|
{
|
|
"name": "Fruit",
|
|
"value": "Apple"
|
|
},
|
|
{
|
|
"name": "Fruit",
|
|
"value": "Banana"
|
|
},
|
|
{
|
|
"name": "Fruit",
|
|
"value": "Grape"
|
|
},
|
|
{
|
|
"name": "Color",
|
|
"value": "Green"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/custom-headers-utf8",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "Beverage",
|
|
"value": "café"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/custom-headers-quote",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "Header1",
|
|
"value": "'"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/response-headers",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Beverage",
|
|
"value": "cafe"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 28,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/hello.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/hello",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/hello",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:16 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 41,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/include.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/include",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Date",
|
|
"value": "DATE"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 13,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/large.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/large",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/octet-stream"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "536870912"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:18 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 7459,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/multipart_form_data.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/multipart-form-data",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:25 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 6,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/no_entry.hurl",
|
|
"entries": [],
|
|
"success": true,
|
|
"time": 1,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/output.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/output/endpoint1",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "date",
|
|
"value": "DATE1"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "19"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/output/endpoint2",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "date",
|
|
"value": "DATE2"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "19"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 12,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/patch.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "PATCH",
|
|
"url": "http://localhost:8000/patch/file.txt",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "www.example.com"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/example"
|
|
},
|
|
{
|
|
"name": "If-Match",
|
|
"value": "\"e0023aa4e\""
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 204,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Location",
|
|
"value": "/file.txt"
|
|
},
|
|
{
|
|
"name": "ETag",
|
|
"value": "\"e0023aa4f\""
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/post_base64.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-base64",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 5,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/post_bytes.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-bytes",
|
|
"queryString": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/octet-stream"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/post_file.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-file",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 4,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/post_json.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-json",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-json-array",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-json-string",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-json-number",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-json-numbers",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-json-boolean",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/get-name",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-json",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 27,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/post_multilines.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-multilines",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/get-bob-age",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-multilines",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 9,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/post_xml.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-xml",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/post-xml-no-prolog",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 6,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/predicates-string.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/predicates-string",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/predicates-string-empty",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 9,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/proxy.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/proxy",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
},
|
|
{
|
|
"name": "From-Proxy",
|
|
"value": "Hello"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 21,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/put.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "http://localhost:8000/put",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 8,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/querystring_params.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/querystring-params",
|
|
"queryString": [
|
|
{
|
|
"name": "param1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "param2",
|
|
"value": ""
|
|
},
|
|
{
|
|
"name": "param3",
|
|
"value": "a=b"
|
|
},
|
|
{
|
|
"name": "param4",
|
|
"value": "1,2,3"
|
|
}
|
|
],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/querystring-params?param1=value1¶m2=¶m3=a%3db¶m4=1,2,3",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/querystring-params?param1=value1",
|
|
"queryString": [
|
|
{
|
|
"name": "param2",
|
|
"value": ""
|
|
},
|
|
{
|
|
"name": "param3",
|
|
"value": "a=b"
|
|
},
|
|
{
|
|
"name": "param4",
|
|
"value": "1,2,3"
|
|
}
|
|
],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/querystring-params-encoded?value1=/&value2=%2F",
|
|
"queryString": [
|
|
{
|
|
"name": "value3",
|
|
"value": "/"
|
|
}
|
|
],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 19,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/redirect.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/redirect",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 302,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "270"
|
|
},
|
|
{
|
|
"name": "Location",
|
|
"value": "http://localhost:8000/redirected"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/redirected",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 7,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/user_in_url.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://bob:secret@localhost:8000/basic-authentication",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "21"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:26 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 6,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/utf8.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8000/utf8",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:27 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 9,
|
|
"cookies": []
|
|
},
|
|
{
|
|
"filename": "tests/variables.hurl",
|
|
"entries": [
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8000/variables",
|
|
"queryString": [],
|
|
"headers": [],
|
|
"cookies": [],
|
|
"multipartFormData": [],
|
|
"body": "ewogICJuYW1lIjogIkplbm5pZmVyIiwKICAiYWdlIjogMzAsCiAgImhlaWdodCI6IDEuNzAwMDAwMDAwMDAwMDAwMDAwLAogICJmZW1hbGUiOiB0cnVlLAogICJpZCI6ICIxMjMiLAogICJhX251bGwiOiBudWxsCn0="
|
|
},
|
|
"response": {
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200,
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Thu, 10 Jun 2021 13:24:27 GMT"
|
|
}
|
|
]
|
|
},
|
|
"captures": [],
|
|
"asserts": [
|
|
{
|
|
"actual": "1.0",
|
|
"expected": "*"
|
|
},
|
|
{},
|
|
{},
|
|
{},
|
|
{},
|
|
{},
|
|
{},
|
|
{}
|
|
],
|
|
"time": 6
|
|
}
|
|
],
|
|
"success": true,
|
|
"time": 7,
|
|
"cookies": []
|
|
}
|
|
] |