2020-08-27 10:07:46 +03:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"filename": "tests/assert_base64.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-base64",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "19"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/assert_header.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-header",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [
|
|
|
|
{
|
|
|
|
"name": "cookie1",
|
2020-09-15 14:48:58 +03:00
|
|
|
"value": "value1",
|
|
|
|
"path": "/"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cookie2",
|
2020-09-15 14:48:58 +03:00
|
|
|
"value": "value2",
|
|
|
|
"path": "/"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cookie3",
|
2020-09-15 14:48:58 +03:00
|
|
|
"value": "value3",
|
|
|
|
"path": "/"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Header1",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "value1"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Set-Cookie",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "cookie1=value1; Path=/"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Set-Cookie",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "cookie2=value2; Path=/"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Set-Cookie",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "cookie3=value3; Path=/"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 3,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [
|
|
|
|
{
|
|
|
|
"domain": "localhost",
|
2020-09-15 14:48:58 +03:00
|
|
|
"include_subdomain": "FALSE",
|
2020-08-27 10:07:46 +03:00
|
|
|
"path": "/",
|
2020-09-15 14:48:58 +03:00
|
|
|
"https": "FALSE",
|
|
|
|
"expires": "0",
|
|
|
|
"name": "cookie1",
|
|
|
|
"value": "value1"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"domain": "localhost",
|
2020-09-15 14:48:58 +03:00
|
|
|
"include_subdomain": "FALSE",
|
2020-08-27 10:07:46 +03:00
|
|
|
"path": "/",
|
2020-09-15 14:48:58 +03:00
|
|
|
"https": "FALSE",
|
|
|
|
"expires": "0",
|
|
|
|
"name": "cookie2",
|
|
|
|
"value": "value2"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"domain": "localhost",
|
2020-09-15 14:48:58 +03:00
|
|
|
"include_subdomain": "FALSE",
|
2020-08-27 10:07:46 +03:00
|
|
|
"path": "/",
|
2020-09-15 14:48:58 +03:00
|
|
|
"https": "FALSE",
|
|
|
|
"expires": "0",
|
|
|
|
"name": "cookie3",
|
|
|
|
"value": "value3"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/assert_json.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-json",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "application/json"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "146"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-json/index",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "1"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [
|
|
|
|
{
|
|
|
|
"name": "index",
|
|
|
|
"value": "1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "*"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-json",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "application/json"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "146"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 9,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/assert_match.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-match",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "application/json"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "53"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 16,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/assert_regex.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-regex",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 4,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/assert_xpath.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-xpath",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "18"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/bytes.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/bytes",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "application/octet-stream"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "1"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/capture_and_assert.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/capture-and-assert",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [
|
|
|
|
{
|
|
|
|
"name": "content_type",
|
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/captures.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/captures",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Header1",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "value1"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Header2",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Hello Bob!"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [
|
|
|
|
{
|
|
|
|
"name": "param1",
|
|
|
|
"value": "value1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param2",
|
|
|
|
"value": "Bob"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-15 14:48:58 +03:00
|
|
|
"url": "http://localhost:8000/captures-check",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [
|
|
|
|
{
|
|
|
|
"name": "param1",
|
|
|
|
"value": "value1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param2",
|
|
|
|
"value": "Bob"
|
|
|
|
}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/captures-json",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "135"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [
|
|
|
|
{
|
|
|
|
"name": "an_object",
|
|
|
|
"value": {
|
|
|
|
"id": "123"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "a_list",
|
|
|
|
"value": [
|
|
|
|
1,
|
|
|
|
2,
|
|
|
|
3
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "a_null",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "an_integer",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "a_float",
|
|
|
|
"value": 1.1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "a_bool",
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "a_string",
|
|
|
|
"value": "hello"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "all",
|
|
|
|
"value": {
|
|
|
|
"a_bool": true,
|
|
|
|
"a_float": 1.1,
|
|
|
|
"a_list": [
|
|
|
|
1,
|
|
|
|
2,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"a_null": null,
|
|
|
|
"a_string": "hello",
|
|
|
|
"an_integer": 1,
|
|
|
|
"an_object": {
|
|
|
|
"id": "123"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 8,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/cookies.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/cookies/set-request-cookie1-valueA",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [
|
|
|
|
{
|
|
|
|
"name": "cookie1",
|
2020-09-15 14:48:58 +03:00
|
|
|
"value": "valueA"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-23 15:51:54 +03:00
|
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie1-is-not-in-session",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
2020-09-23 15:51:54 +03:00
|
|
|
"cookies": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-23 15:51:54 +03:00
|
|
|
"url": "http://localhost:8000/cookies/set-session-cookie2-valueA",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
2020-09-23 15:51:54 +03:00
|
|
|
"cookies": [
|
|
|
|
{
|
|
|
|
"name": "cookie2",
|
|
|
|
"value": "valueA",
|
|
|
|
"path": "/"
|
|
|
|
}
|
|
|
|
],
|
2020-08-27 10:07:46 +03:00
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
2020-09-23 15:51:54 +03:00
|
|
|
{
|
|
|
|
"name": "Set-Cookie",
|
|
|
|
"value": "cookie2=valueA; Path=/"
|
|
|
|
},
|
2020-08-27 10:07:46 +03:00
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
2020-09-23 15:51:54 +03:00
|
|
|
{},
|
2020-08-27 10:07:46 +03:00
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-23 15:51:54 +03:00
|
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-valueA",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-23 15:51:54 +03:00
|
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-valueA-and-valueB",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [
|
|
|
|
{
|
|
|
|
"name": "cookie2",
|
2020-09-23 15:51:54 +03:00
|
|
|
"value": "ValueB"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-23 15:51:54 +03:00
|
|
|
"url": "http://localhost:8000/cookies/delete-cookie2",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
2020-09-23 15:51:54 +03:00
|
|
|
"cookies": [
|
|
|
|
{
|
|
|
|
"name": "cookie2",
|
|
|
|
"value": "",
|
2020-09-23 22:27:49 +03:00
|
|
|
"expires": "Thu, 24-Sep-2020 19:02:07 GMT",
|
2020-09-23 15:51:54 +03:00
|
|
|
"max_age": 0,
|
|
|
|
"path": "/"
|
|
|
|
}
|
|
|
|
],
|
2020-08-27 10:07:46 +03:00
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
|
|
|
"value": "text/html; charset=utf-8"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
2020-09-23 15:51:54 +03:00
|
|
|
{
|
|
|
|
"name": "Set-Cookie",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "cookie2=; Expires=Thu, 24-Sep-2020 19:02:07 GMT; Max-Age=0; Path=/"
|
2020-09-23 15:51:54 +03:00
|
|
|
},
|
2020-08-27 10:07:46 +03:00
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
|
|
|
"value": "0"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
2020-09-23 15:51:54 +03:00
|
|
|
{},
|
|
|
|
{},
|
2020-08-27 10:07:46 +03:00
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-23 15:51:54 +03:00
|
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-not-in-session",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
2020-09-23 15:51:54 +03:00
|
|
|
"cookies": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/cookies/set",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [
|
|
|
|
{
|
|
|
|
"name": "LSID",
|
2020-09-15 14:48:58 +03:00
|
|
|
"value": "DQAAAKEaem_vYg",
|
|
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
|
|
"path": "/accounts",
|
|
|
|
"secure": true,
|
|
|
|
"httponly": true
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "HSID",
|
|
|
|
"value": "AYQEVnDKrdst",
|
2020-09-15 14:48:58 +03:00
|
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
|
|
"domain": ".localhost",
|
|
|
|
"path": "/",
|
|
|
|
"httponly": true
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SSID",
|
|
|
|
"value": "Ap4PGTEq",
|
2020-09-15 14:48:58 +03:00
|
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
|
|
"domain": ".localhost",
|
|
|
|
"path": "/",
|
|
|
|
"secure": true,
|
|
|
|
"httponly": true
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Set-Cookie",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "LSID=DQAAAKEaem_vYg; Expires=Wed, 13 Jan 2021 22:23:01 GMT; Secure; HttpOnly; Path=/accounts"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Set-Cookie",
|
|
|
|
"value": "HSID=AYQEVnDKrdst; Domain=.localhost; Expires=Wed, 13 Jan 2021 22:23:01 GMT; HttpOnly; Path=/"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Set-Cookie",
|
|
|
|
"value": "SSID=Ap4PGTEq; Domain=.localhost; Expires=Wed, 13 Jan 2021 22:23:01 GMT; Secure; HttpOnly; Path=/"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 16,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"domain": "#HttpOnly_.localhost",
|
|
|
|
"include_subdomain": "TRUE",
|
2020-08-27 10:07:46 +03:00
|
|
|
"path": "/",
|
2020-09-15 14:48:58 +03:00
|
|
|
"https": "FALSE",
|
|
|
|
"expires": "1610576581",
|
|
|
|
"name": "HSID",
|
|
|
|
"value": "AYQEVnDKrdst"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-09-23 15:51:54 +03:00
|
|
|
{
|
|
|
|
"filename": "tests/cookie_storage.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/cookie-storage/assert-that-cookie1-is-valueA",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
|
|
|
"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": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-09-23 15:51:54 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
|
|
|
"time": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/cookie-storage/assert-that-cookie1-is-not-in-session",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
|
|
|
"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": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-09-23 15:51:54 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
|
|
|
"time": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
|
|
|
"time": 3,
|
|
|
|
"cookies": []
|
|
|
|
},
|
2020-08-27 10:07:46 +03:00
|
|
|
{
|
|
|
|
"filename": "tests/delete.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "DELETE",
|
|
|
|
"url": "http://localhost:8000/delete",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"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": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "5"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 3
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/encoding/latin1",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=ISO-8859-1"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "4"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 6,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_base64.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/assert-base64",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "19"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_file.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert-file",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "5"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_header_not_found.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert-header-not-found",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_header_value.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert-header-value",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_http_version.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert/http-version",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "2"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 1,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_invalid_predicate_type.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert-invalid-predicate-type",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_match_utf8.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert/match-utf8",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "1"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
2020-09-23 15:51:54 +03:00
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_query_cookie.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert-query-cookie",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
|
|
|
"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": "Content-Length",
|
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Server",
|
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-09-23 15:51:54 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-09-23 15:51:54 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
|
|
|
"time": 4,
|
|
|
|
"cookies": [
|
|
|
|
{
|
|
|
|
"domain": "localhost",
|
|
|
|
"include_subdomain": "FALSE",
|
|
|
|
"path": "/",
|
|
|
|
"https": "FALSE",
|
|
|
|
"expires": "0",
|
|
|
|
"name": "cookie1",
|
|
|
|
"value": "value1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-08-27 10:07:46 +03:00
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_query_invalid_regex.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert-query-invalid-regex",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_query_invalid_xpath.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/utf8",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "18"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_status.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/not_found",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 404,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "232"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"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": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_value_error.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert-value",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "20"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 4,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_assert_variable.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-assert-variable",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [
|
|
|
|
{
|
|
|
|
"name": "status",
|
|
|
|
"value": 200
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "length",
|
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "type",
|
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 5,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_file_read_access.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [],
|
|
|
|
"time": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
|
|
|
"time": 0,
|
|
|
|
"cookies": []
|
|
|
|
},
|
2020-09-23 15:51:54 +03:00
|
|
|
{
|
|
|
|
"filename": "tests/error_http_connection.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://unknown",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [],
|
|
|
|
"time": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 6,
|
2020-09-23 15:51:54 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
2020-08-27 10:07:46 +03:00
|
|
|
{
|
|
|
|
"filename": "tests/error_invalid_jsonpath.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-invalid-jsonpath",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "application/json"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "60"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_invalid_url.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-23 15:51:54 +03:00
|
|
|
"url": "???",
|
2020-09-15 14:48:58 +03:00
|
|
|
"queryString": [],
|
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
2020-08-27 10:07:46 +03:00
|
|
|
"captures": [],
|
|
|
|
"asserts": [],
|
|
|
|
"time": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 0,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_invalid_xml.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-invalid-xml",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"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": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "74"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 13,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_query_header_not_found.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-query-header-not-found",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_query_invalid_json.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-query-invalid-json",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/error_query_invalid_utf8.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/error-query-invalid-utf8",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "1"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"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": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "18"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:07 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [
|
|
|
|
{
|
|
|
|
"name": "list",
|
|
|
|
"value": [
|
|
|
|
1,
|
|
|
|
2,
|
|
|
|
3
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [],
|
|
|
|
"time": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
2020-09-23 22:27:49 +03:00
|
|
|
{
|
|
|
|
"filename": "tests/error_timeout.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/timeout",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
|
|
|
"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": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Date",
|
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [],
|
|
|
|
"time": 2003
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
|
|
|
"time": 2004,
|
|
|
|
"cookies": []
|
|
|
|
},
|
2020-08-27 10:07:46 +03:00
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"filename": "tests/follow_redirect.hurl",
|
2020-08-27 10:07:46 +03:00
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
2020-09-15 14:48:58 +03:00
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/follow-redirect",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 302,
|
|
|
|
"cookies": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"name": "Content-Type",
|
2020-09-15 14:48:58 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
|
|
|
"value": "287"
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Location",
|
|
|
|
"value": "http://localhost:8000/following-redirect"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Server",
|
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
2020-09-15 14:48:58 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-09-15 14:48:58 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": false,
|
|
|
|
"time": 2,
|
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/form_params.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/form-params",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"form": [
|
2020-08-27 10:07:46 +03:00
|
|
|
{
|
|
|
|
"name": "param1",
|
|
|
|
"value": "value1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param2",
|
|
|
|
"value": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param3",
|
|
|
|
"value": "a=b"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param4",
|
|
|
|
"value": "a%3db"
|
|
|
|
}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"body": ""
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/form-params",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"name": "Content-Type",
|
|
|
|
"value": "application/x-www-form-urlencoded"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"cookies": [],
|
|
|
|
"body": "cGFyYW0xPXZhbHVlMSZwYXJhbTI9JnBhcmFtMz1hJTNkYiZwYXJhbTQ9YSUyNTNkYg=="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 4,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/headers.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/default-headers",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/default-headers",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"name": "User-Agent",
|
|
|
|
"value": "hurl/1.0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Host",
|
2020-09-15 14:48:58 +03:00
|
|
|
"value": "localhost:8000"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/default-headers",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"name": "User-Agent",
|
|
|
|
"value": "hurl/1.0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Host",
|
2020-09-15 14:48:58 +03:00
|
|
|
"value": "localhost:8000"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/custom-headers-utf8",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"name": "Beverage",
|
|
|
|
"value": "café"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/response-headers",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Beverage",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "cafe"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 11,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/hello.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/hello",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/hello",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 3,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/multipart_form_data.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/multipart-form-data",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 3,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/no_entry.hurl",
|
|
|
|
"entries": [],
|
|
|
|
"success": true,
|
|
|
|
"time": 0,
|
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/output.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/output/endpoint1",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "eyAidXNlciI6ICJib2IiIH0="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"name": "date",
|
|
|
|
"value": "DATE1"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "19"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/output/endpoint2",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"name": "date",
|
|
|
|
"value": "DATE2"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "19"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 3,
|
2020-08-27 10:07:46 +03:00
|
|
|
"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": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 204,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Location",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "/file.txt"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "ETag",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "\"e0023aa4f\""
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/post_base64.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-base64",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "SGVsbG8gV29ybGQh"
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/post_file.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-file",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "SGVsbG8gV29ybGQh"
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/post_json.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-json",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "ewogICAgIm5hbWUiOiAiQm9iIiwKICAgICJwYXNzd29yZCI6ICJzZWNyZXQiCn0="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
2020-09-15 14:48:58 +03:00
|
|
|
"url": "http://localhost:8000/post-json-array",
|
|
|
|
"queryString": [],
|
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "WzEsMiwzXQ=="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-json-string",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "IkhlbGxvIg=="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-json-number",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "MTAw"
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-json-numbers",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "ewogICAgIm5hdHVyYWwiOiAxMDAsCiAgICAibmVnYXRpdmUiOiAtMSwKICAgICJmbG9hdCI6ICIzLjMzMzMzMzMzMzMzMzMzMyIsCiAgICAiZXhwb25lbnQiOiAxMDBlMTAwCn0="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-json-boolean",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "dHJ1ZQ=="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/get-name",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [
|
|
|
|
{
|
|
|
|
"name": "name",
|
|
|
|
"value": "Bob"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-json",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "ewogICAgIm5hbWUiOiAiQm9iIiwKICAgICJwYXNzd29yZCI6ICJzZWNyZXQiCn0="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 15,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/post_multilines.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-multilines",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "bmFtZSxhZ2UKYm9iLDEwCmJpbGwsMjIK"
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/get-bob-age",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "2"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [
|
|
|
|
{
|
|
|
|
"name": "bob_age",
|
|
|
|
"value": "10"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-multilines",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "bmFtZSxhZ2UKYm9iLDEwCmJpbGwsMjIK"
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 5,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/post_xml.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-xml",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjxkcmluaz5jYWbDqTwvZHJpbms+"
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"url": "http://localhost:8000/post-xml-no-prolog",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": "PGRyaW5rPmNhZsOpPC9kcmluaz4="
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 4,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/predicates-string.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/predicates-string",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "12"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/predicates-string-empty",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 5,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/put.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "PUT",
|
|
|
|
"url": "http://localhost:8000/put",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/querystring_params.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-15 14:48:58 +03:00
|
|
|
"url": "http://localhost:8000/querystring-params",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [
|
|
|
|
{
|
|
|
|
"name": "param1",
|
|
|
|
"value": "value1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param2",
|
|
|
|
"value": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param3",
|
|
|
|
"value": "a=b"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param4",
|
|
|
|
"value": "1,2,3"
|
|
|
|
}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/querystring-params?param1=value1¶m2=¶m3=a%3db¶m4=1,2,3",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-15 14:48:58 +03:00
|
|
|
"url": "http://localhost:8000/querystring-params?param1=value1",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [
|
|
|
|
{
|
|
|
|
"name": "param2",
|
|
|
|
"value": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param3",
|
|
|
|
"value": "a=b"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "param4",
|
|
|
|
"value": "1,2,3"
|
|
|
|
}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
2020-09-15 14:48:58 +03:00
|
|
|
"url": "http://localhost:8000/querystring-params-encoded?value1=/&value2=%2F",
|
2020-08-27 10:07:46 +03:00
|
|
|
"queryString": [
|
|
|
|
{
|
|
|
|
"name": "value3",
|
|
|
|
"value": "/"
|
|
|
|
}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 15:51:54 +03:00
|
|
|
"time": 7,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/redirect.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/redirect",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 302,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "271"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Location",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "http://localhost:8000/redirected"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 2
|
2020-08-27 10:07:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/redirected",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-23 22:27:49 +03:00
|
|
|
"time": 4,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filename": "tests/utf8.hurl",
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"request": {
|
|
|
|
"method": "GET",
|
|
|
|
"url": "http://localhost:8000/utf8",
|
|
|
|
"queryString": [],
|
2020-09-15 14:48:58 +03:00
|
|
|
"headers": [],
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": [],
|
|
|
|
"body": ""
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"httpVersion": "HTTP/1.0",
|
|
|
|
"status": 200,
|
|
|
|
"cookies": [],
|
|
|
|
"headers": [
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Type",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "text/html; charset=utf-8"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Content-Length",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "18"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Server",
|
2020-08-27 10:07:46 +03:00
|
|
|
"value": "Werkzeug/0.16.1 Python/3.5.3"
|
|
|
|
},
|
|
|
|
{
|
2020-09-15 14:48:58 +03:00
|
|
|
"name": "Date",
|
2020-09-23 22:27:49 +03:00
|
|
|
"value": "Thu, 24 Sep 2020 19:02:09 GMT"
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"captures": [],
|
|
|
|
"asserts": [
|
|
|
|
{
|
|
|
|
"actual": "1.0",
|
|
|
|
"expected": "1.0"
|
|
|
|
},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
],
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 1
|
2020-08-27 10:07:46 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": true,
|
2020-09-15 14:48:58 +03:00
|
|
|
"time": 2,
|
2020-08-27 10:07:46 +03:00
|
|
|
"cookies": []
|
|
|
|
}
|
|
|
|
]
|