mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-24 19:42:07 +03:00
9575 lines
220 KiB
JSON
9575 lines
220 KiB
JSON
[
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-base64"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "19"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/assert_base64.hurl",
|
|
"success": true,
|
|
"time": 5
|
|
},
|
|
{
|
|
"cookies": [
|
|
{
|
|
"domain": "localhost",
|
|
"expires": "0",
|
|
"https": "FALSE",
|
|
"include_subdomain": "FALSE",
|
|
"name": "cookie1",
|
|
"path": "/",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"domain": "localhost",
|
|
"expires": "0",
|
|
"https": "FALSE",
|
|
"include_subdomain": "FALSE",
|
|
"name": "cookie2",
|
|
"path": "/",
|
|
"value": "value2"
|
|
},
|
|
{
|
|
"domain": "localhost",
|
|
"expires": "0",
|
|
"https": "FALSE",
|
|
"include_subdomain": "FALSE",
|
|
"name": "cookie3",
|
|
"path": "/",
|
|
"value": "value3"
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 14,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-header"
|
|
},
|
|
"response": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie1",
|
|
"path": "/",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "cookie2",
|
|
"path": "/",
|
|
"value": "value2"
|
|
},
|
|
{
|
|
"name": "cookie3",
|
|
"path": "/",
|
|
"value": "value3"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Header1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "ETag",
|
|
"value": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie1=value1; Path=/"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie2=value2; Path=/"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie3=value3; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
}
|
|
],
|
|
"filename": "tests/assert_header.hurl",
|
|
"success": true,
|
|
"time": 9
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 37,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 14,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 15,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 17,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 18,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 19,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 20,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 21,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 23,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 24,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 25,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 26,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 27,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 28,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 29,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 30,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 31,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 32,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 33,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 34,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 35,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-json"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "160"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 8
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 48,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 48,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [
|
|
{
|
|
"name": "index",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-json/index"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 53,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 53,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 55,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 56,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 57,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 58,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-json"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "160"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 62,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 62,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 64,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 65,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 66,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-json/list"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "61"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/assert_json.hurl",
|
|
"success": true,
|
|
"time": 28
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-match"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "53"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 7
|
|
}
|
|
],
|
|
"filename": "tests/assert_match.hurl",
|
|
"success": true,
|
|
"time": 18
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-regex"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
}
|
|
],
|
|
"filename": "tests/assert_regex.hurl",
|
|
"success": true,
|
|
"time": 9
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-status-code"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 201
|
|
},
|
|
"time": 8
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-status-code"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 201
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 14,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 17,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-status-code"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 201
|
|
},
|
|
"time": 2
|
|
}
|
|
],
|
|
"filename": "tests/assert_status_code.hurl",
|
|
"success": true,
|
|
"time": 14
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-xpath"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/assert_xpath.hurl",
|
|
"success": true,
|
|
"time": 4
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Authorization",
|
|
"value": "Basic Ym9iOnNlY3JldA=="
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/basic-authentication"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "21"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/basic_authentication.hurl",
|
|
"success": true,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/utf8_bom"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 9
|
|
}
|
|
],
|
|
"filename": "tests/bom.hurl",
|
|
"success": true,
|
|
"time": 9
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/bytes"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/octet-stream"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 7
|
|
}
|
|
],
|
|
"filename": "tests/bytes.hurl",
|
|
"success": true,
|
|
"time": 8
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [
|
|
{
|
|
"name": "content_type",
|
|
"value": "text/html; charset=utf-8"
|
|
}
|
|
],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/capture-and-assert"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
}
|
|
],
|
|
"filename": "tests/capture_and_assert.hurl",
|
|
"success": true,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [
|
|
{
|
|
"name": "param1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "param2",
|
|
"value": "Bob"
|
|
}
|
|
],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/captures"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Header1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "Header2",
|
|
"value": "Hello Bob!"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [
|
|
{
|
|
"name": "param1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "param2",
|
|
"value": "Bob"
|
|
}
|
|
],
|
|
"url": "http://localhost:8000/captures-check?param1=value1¶m2=Bob"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 20,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 20,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 31,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 32,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 33,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 34,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 35,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 36,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 37,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 38,
|
|
"success": true
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/captures-json"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "135"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/captures.hurl",
|
|
"success": true,
|
|
"time": 19
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [],
|
|
"filename": "tests/color.hurl",
|
|
"success": true,
|
|
"time": 0
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/compressed/none"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 10
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/compressed/gzip"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "32"
|
|
},
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "gzip"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 17,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 18,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 19,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 20,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/compressed/zlib"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "20"
|
|
},
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "deflate"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 23,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 23,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 24,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 25,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 26,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 27,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/compressed/brotli"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "17"
|
|
},
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "br"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 30,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 30,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 31,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 32,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 33,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 34,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/compressed/brotli_identity"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "17"
|
|
},
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "br, identity"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/compressed.hurl",
|
|
"success": true,
|
|
"time": 35
|
|
},
|
|
{
|
|
"cookies": [
|
|
{
|
|
"domain": ".localhost",
|
|
"expires": "0",
|
|
"https": "FALSE",
|
|
"include_subdomain": "TRUE",
|
|
"name": "cookie1",
|
|
"path": "/",
|
|
"value": "valueA"
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie1",
|
|
"value": "valueA"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "cookie1=valueA"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookie_file"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/cookie_file.hurl",
|
|
"success": true,
|
|
"time": 4
|
|
},
|
|
{
|
|
"cookies": [
|
|
{
|
|
"domain": ".localhost",
|
|
"expires": "1610576581",
|
|
"https": "FALSE",
|
|
"include_subdomain": "TRUE",
|
|
"name": "HSID",
|
|
"path": "/",
|
|
"value": "AYQEVnDKrdst"
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie1",
|
|
"value": "valueA"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "cookie1=valueA"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/set-request-cookie1-valueA"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie1-is-not-in-session"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [
|
|
{
|
|
"name": "user1",
|
|
"value": "Bob"
|
|
},
|
|
{
|
|
"name": "user2",
|
|
"value": "Bill"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "user1=Bob; user2=Bill"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/set-multiple-request-cookies"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 24,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/set-session-cookie2-valueA"
|
|
},
|
|
"response": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie2",
|
|
"path": "/",
|
|
"value": "valueA"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie2=valueA; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 27,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 27,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie2",
|
|
"value": "valueA"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "cookie2=valueA"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-valueA"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 32,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 32,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie2",
|
|
"value": "valueA"
|
|
},
|
|
{
|
|
"name": "cookie2",
|
|
"value": "valueB"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "cookie2=valueA; cookie2=valueB"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-valueA-and-valueB"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 36,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 36,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 38,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 39,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie2",
|
|
"value": "valueA"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "cookie2=valueA"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/delete-cookie2"
|
|
},
|
|
"response": {
|
|
"cookies": [
|
|
{
|
|
"expires": "Mon, 08 Nov 2021 10:38:54 GMT",
|
|
"max_age": "0",
|
|
"name": "cookie2",
|
|
"path": "/",
|
|
"value": ""
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie2=; Expires=Mon, 08 Nov 2021 10:38:54 GMT; Max-Age=0; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 42,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 42,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/assert-that-cookie2-is-not-in-session"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 45,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 45,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 46,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 47,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 48,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 51,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 52,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 53,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 54,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 55,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 56,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 57,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 58,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 59,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 60,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 61,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookies/set"
|
|
},
|
|
"response": {
|
|
"cookies": [
|
|
{
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
"httponly": true,
|
|
"name": "LSID",
|
|
"path": "/accounts",
|
|
"secure": true,
|
|
"value": "DQAAAKEaem_vYg"
|
|
},
|
|
{
|
|
"domain": ".localhost",
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
"httponly": true,
|
|
"name": "HSID",
|
|
"path": "/",
|
|
"value": "AYQEVnDKrdst"
|
|
},
|
|
{
|
|
"domain": ".localhost",
|
|
"expires": "Wed, 13 Jan 2021 22:23:01 GMT",
|
|
"httponly": true,
|
|
"name": "SSID",
|
|
"path": "/",
|
|
"secure": true,
|
|
"value": "Ap4PGTEq"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "LSID=DQAAAKEaem_vYg; Expires=Wed, 13 Jan 2021 22:23:01 GMT; Secure; HttpOnly; Path=/accounts"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "HSID=AYQEVnDKrdst; Domain=.localhost; Expires=Wed, 13 Jan 2021 22:23:01 GMT; HttpOnly; Path=/"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "SSID=Ap4PGTEq; Domain=.localhost; Expires=Wed, 13 Jan 2021 22:23:01 GMT; Secure; HttpOnly; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/cookies.hurl",
|
|
"success": true,
|
|
"time": 36
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie1",
|
|
"value": "valueA"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "cookie1=valueA"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookie-storage/assert-that-cookie1-is-valueA"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/cookie-storage/assert-that-cookie1-is-not-in-session"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
}
|
|
],
|
|
"filename": "tests/cookie_storage.hurl",
|
|
"success": true,
|
|
"time": 7
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "DELETE",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/delete"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:54 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
}
|
|
],
|
|
"filename": "tests/delete.hurl",
|
|
"success": true,
|
|
"time": 7
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [],
|
|
"filename": "tests/empty.hurl",
|
|
"success": true,
|
|
"time": 0
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/encoding/utf8"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/encoding/latin1"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=ISO-8859-1"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
}
|
|
],
|
|
"filename": "tests/encoding.hurl",
|
|
"success": true,
|
|
"time": 8
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"message": "Assert Body Value\n --> tests/error_assert_base64.hurl:12:8\n |\n12 | base64,bGluZTEKbGluZTIKbGluZTMK;\n | ^^^^^^^^^^^^^^^^^^^^^^^^ actual value is <hex, 6c696e65310a6c696e65320d0a6c696e65330a;>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/assert-base64"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "19"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_base64.hurl",
|
|
"success": false,
|
|
"time": 5
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Assert Failure\n --> tests/error_assert_bytearray.hurl:4:0\n |\n 4 | bytes equals hex,00;\n | actual: byte array <ff>\n | expected: byte array <00>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 5,
|
|
"message": "Assert Failure\n --> tests/error_assert_bytearray.hurl:5:0\n |\n 5 | sha256 equals hex,a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb88;\n | actual: byte array <a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb89>\n | expected: byte array <a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb88>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-bytearray"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/octet-stream"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 12
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_bytearray.hurl",
|
|
"success": false,
|
|
"time": 15
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Decompression Error\n --> tests/error_assert_content_encoding.hurl:4:1\n |\n 4 | ```Hello World!```\n | ^ Compression unknown is not supported\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error/content-encoding"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "unknown"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_content_encoding.hurl",
|
|
"success": false,
|
|
"time": 7
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"message": "Decompression Error\n --> tests/error_assert_decompress.hurl:3:1\n |\n 3 | ```Hello World!```\n | ^ Could not uncompress response with gzip\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-decompress"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Encoding",
|
|
"value": "gzip"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_decompress.hurl",
|
|
"success": false,
|
|
"time": 7
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"message": "Assert Body Value\n --> tests/error_assert_file.hurl:8:1\n |\n 8 | file,data.txt;\n | ^ actual value is <hex, 48656c6c6f;>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-file"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 9
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_file.hurl",
|
|
"success": false,
|
|
"time": 10
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"message": "Header not Found\n --> tests/error_assert_header_not_found.hurl:3:1\n |\n 3 | Custom: ???\n | ^^^^^^ This header has not been found in the response\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-header-not-found"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 8
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_header_not_found.hurl",
|
|
"success": false,
|
|
"time": 10
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"message": "Assert Header Value\n --> tests/error_assert_header_value.hurl:3:15\n |\n 3 | Content-Type: ???\n | ^^^ actual value is <text/html; charset=utf-8>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-header-value"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_header_value.hurl",
|
|
"success": false,
|
|
"time": 5
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"message": "Assert Http Version\n --> tests/error_assert_http_version.hurl:2:6\n |\n 2 | HTTP/2 200\n | ^ actual value is <1.0>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert/http-version"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_http_version.hurl",
|
|
"success": false,
|
|
"time": 4
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Assert Failure\n --> tests/error_assert_invalid_predicate_type.hurl:4:0\n |\n 4 | header \"content-type\" equals 1\n | actual: string <text/html; charset=utf-8>\n | expected: int <1>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-invalid-predicate-type"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_invalid_predicate_type.hurl",
|
|
"success": false,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Invalid Decoding\n --> tests/error_assert_match_utf8.hurl:4:1\n |\n 4 | body matches \".*\"\n | ^^^^ The body can not be decoded with charset 'utf-8'\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert/match-utf8"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_match_utf8.hurl",
|
|
"success": false,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [
|
|
{
|
|
"domain": "localhost",
|
|
"expires": "0",
|
|
"https": "FALSE",
|
|
"include_subdomain": "FALSE",
|
|
"name": "cookie1",
|
|
"path": "/",
|
|
"value": "value1"
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"message": "Assert Failure\n --> tests/error_assert_query_cookie.hurl:7:0\n |\n 7 | cookie \"cookie1[Secure]\" equals false # This is not valid, Secure attribute exists or not but does have a value\n | actual: none\n | expected: bool <false>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 11,
|
|
"message": "Assert Failure\n --> tests/error_assert_query_cookie.hurl:11:0\n |\n11 | cookie \"cookie2[Secure]\" equals true # This is not valid, Secure attribute exists or not but does have a value\n | actual: unit\n | expected: bool <true>\n | >>> types between actual and expected are not consistent\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 12,
|
|
"message": "Assert Failure\n --> tests/error_assert_query_cookie.hurl:12:0\n |\n12 | cookie \"cookie2[Secure]\" not equals true # This is not valid, Secure attribute exists or not but does have a value\n | actual: unit\n | expected: not bool <true>\n | >>> types between actual and expected are not consistent\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-query-cookie"
|
|
},
|
|
"response": {
|
|
"cookies": [
|
|
{
|
|
"name": "cookie1",
|
|
"path": "/",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "cookie2",
|
|
"path": "/",
|
|
"secure": true,
|
|
"value": "value2"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie1=value1; Path=/"
|
|
},
|
|
{
|
|
"name": "Set-Cookie",
|
|
"value": "cookie2=value2; Secure; Path=/"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_query_cookie.hurl",
|
|
"success": false,
|
|
"time": 8
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Invalid regex\n --> tests/error_assert_query_invalid_regex.hurl:4:7\n |\n 4 | regex \"[x\" exists\n | ^^^^ Regex expression is not valid\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-query-invalid-regex"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_query_invalid_regex.hurl",
|
|
"success": false,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Invalid xpath expression\n --> tests/error_assert_query_invalid_xpath.hurl:4:7\n |\n 4 | xpath \"//\" equals 1\n | ^^^^ The xpath expression is not valid\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/utf8"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 8
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_query_invalid_xpath.hurl",
|
|
"success": false,
|
|
"time": 9
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"message": "Assert Status\n --> tests/error_assert_status.hurl:2:10\n |\n 2 | HTTP/1.0 200\n | ^^^ actual value is <404>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/not_found"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "232"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 404
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_status.hurl",
|
|
"success": false,
|
|
"time": 4
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Undefined Variable\n --> tests/error_assert_template_variable_not_found.hurl:4:33\n |\n 4 | header \"content-type\" equals \"{{content_type}}\"\n | ^^^^^^^^^^^^ You must set the variable content_type\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-template-variable-not-found"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:55 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 12
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_template_variable_not_found.hurl",
|
|
"success": false,
|
|
"time": 13
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Assert Failure\n --> tests/error_assert_value_error.hurl:4:0\n |\n 4 | header \"content-type\" equals \"XXX\"\n | actual: string <text/html; charset=utf-8>\n | expected: string <XXX>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 5,
|
|
"message": "Assert Failure\n --> tests/error_assert_value_error.hurl:5:0\n |\n 5 | header \"content-type\" notEquals \"text/html; charset=utf-8\"\n | actual: string <text/html; charset=utf-8>\n | expected: string <text/html; charset=utf-8>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 6,
|
|
"message": "Assert Failure\n --> tests/error_assert_value_error.hurl:6:0\n |\n 6 | jsonpath \"$.id\" equals \"000001\"\n | actual: none\n | expected: string <000001>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 7,
|
|
"message": "Assert Failure\n --> tests/error_assert_value_error.hurl:7:0\n |\n 7 | jsonpath \"$.values\" includes 100\n | actual: [int <1>, int <2>, int <3>]\n | expected: includes int <100>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 8,
|
|
"message": "Assert Failure\n --> tests/error_assert_value_error.hurl:8:0\n |\n 8 | jsonpath \"$.values\" not contains \"Hello\"\n | actual: [int <1>, int <2>, int <3>]\n | expected: not contains string <Hello>\n | >>> types between actual and expected are not consistent\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 9,
|
|
"message": "Assert Failure\n --> tests/error_assert_value_error.hurl:9:0\n |\n 9 | jsonpath \"$.count\" greaterThan 5\n | actual: int <2>\n | expected: greater than int <5>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 10,
|
|
"message": "Assert Failure\n --> tests/error_assert_value_error.hurl:10:0\n |\n10 | jsonpath \"$.count\" isFloat\n | actual: int <2>\n | expected: float\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 11,
|
|
"message": "Assert Failure\n --> tests/error_assert_value_error.hurl:11:0\n |\n11 | bytes contains hex,00;\n | actual: byte array <7b202276616c756573223a205b312c322c335d2c2022636f756e74223a20327d>\n | expected: contains byte array <00>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-value"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "32"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:56 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_value_error.hurl",
|
|
"success": false,
|
|
"time": 11
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"message": "Assert Failure\n --> tests/error_assert_variable.hurl:8:0\n |\n 8 | variable \"toto\" equals \"tata\"\n | actual: none\n | expected: string <tata>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 9,
|
|
"message": "Undefined Variable\n --> tests/error_assert_variable.hurl:9:28\n |\n 9 | variable \"status\" equals {{unknown}}\n | ^^^^^^^ You must set the variable unknown\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 10,
|
|
"message": "Assert Failure\n --> tests/error_assert_variable.hurl:10:0\n |\n10 | variable \"status\" equals {{type}}\n | actual: int <200>\n | expected: string <text/html; charset=utf-8>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 11,
|
|
"message": "Assert Failure\n --> tests/error_assert_variable.hurl:11:0\n |\n11 | variable \"status\" equals {{length}}\n | actual: int <200>\n | expected: string <0>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [
|
|
{
|
|
"name": "status",
|
|
"value": 200
|
|
},
|
|
{
|
|
"name": "length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "type",
|
|
"value": "text/html; charset=utf-8"
|
|
}
|
|
],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-variable"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:56 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 11
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_variable.hurl",
|
|
"success": false,
|
|
"time": 15
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Invalid xpath expression\n --> tests/error_assert_xpath.hurl:4:7\n |\n 4 | xpath \"strong(//head/title)\" equals \"Welcome to Quiz!\"\n | ^^^^^^^^^^^^^^^^^^^^^^ The xpath expression is not valid\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-assert-xpath"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "45"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:56 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/error_assert_xpath.hurl",
|
|
"success": false,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_body_json.hurl",
|
|
"success": false,
|
|
"time": 0
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_connect_timeout.hurl",
|
|
"success": false,
|
|
"time": 1003
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_file_read_access.hurl",
|
|
"success": false,
|
|
"time": 0
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_http_connection.hurl",
|
|
"success": false,
|
|
"time": 30
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Invalid jsonpath\n --> tests/error_invalid_jsonpath.hurl:4:10\n |\n 4 | jsonpath \"\" equals false\n | ^^ the jsonpath expression '' is not valid\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-invalid-jsonpath"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "60"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:57 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 7
|
|
}
|
|
],
|
|
"filename": "tests/error_invalid_jsonpath.hurl",
|
|
"success": false,
|
|
"time": 8
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_invalid_url.hurl",
|
|
"success": false,
|
|
"time": 0
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Invalid XML\n --> tests/error_invalid_xml.hurl:4:1\n |\n 4 | xpath \"xx\" equals 1\n | ^^^^^^^^^^ The Http response is not a valid XML\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-invalid-xml"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:57 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 8
|
|
}
|
|
],
|
|
"filename": "tests/error_invalid_xml.hurl",
|
|
"success": false,
|
|
"time": 11
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_max_redirect.hurl",
|
|
"success": false,
|
|
"time": 28
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_multipart_form_data.hurl",
|
|
"success": false,
|
|
"time": 0
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:4:0\n |\n 4 | jsonpath \"$.status\" equals \"true\"\n | actual: bool <true>\n | expected: string <true>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 6,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:6:0\n |\n 6 | jsonpath \"$.count\" equals 0\n | actual: int <1>\n | expected: int <0>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 7,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:7:0\n |\n 7 | jsonpath \"$.message\" equals 0\n | actual: string <0>\n | expected: int <0>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 8,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:8:0\n |\n 8 | jsonpath \"$.empty\" equals 0\n | actual: string <>\n | expected: int <0>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 9,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:9:0\n |\n 9 | jsonpath \"$.number\" equals 1.1\n | actual: float <1.0>\n | expected: float <1.100000000000000000>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 10,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:10:0\n |\n10 | jsonpath \"$.message\" startsWith \"hi\"\n | actual: string <0>\n | expected: starts with string <hi>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 11,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:11:0\n |\n11 | jsonpath \"$.message\" endsWith \"hi\"\n | actual: string <0>\n | expected: ends with string <hi>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 12,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:12:0\n |\n12 | jsonpath \"$.message\" contains \"hi\"\n | actual: string <0>\n | expected: contains string <hi>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 13,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:13:0\n |\n13 | jsonpath \"$.message\" matches \"hi\"\n | actual: string <0>\n | expected: matches regex <hi>\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 14,
|
|
"message": "Subquery error\n --> tests/error_predicate.hurl:14:22\n |\n14 | jsonpath \"$.message\" count == 1\n | ^^^^^ Type from query result and subquery do not match\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 15,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:15:0\n |\n15 | jsonpath \"$.toto\" exists\n | actual: none\n | expected: something\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 16,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:16:0\n |\n16 | jsonpath \"$.message\" not exists\n | actual: string <0>\n | expected: not something\n |",
|
|
"success": false
|
|
},
|
|
{
|
|
"line": 17,
|
|
"message": "Assert Failure\n --> tests/error_predicate.hurl:17:0\n |\n17 | jsonpath \"$.list\" count == 2\n | actual: int <3>\n | expected: int <2>\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/predicate/error/type"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "126"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:58 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/error_predicate.hurl",
|
|
"success": false,
|
|
"time": 16
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"message": "Header not Found\n --> tests/error_query_header_not_found.hurl:3:1\n |\n 3 | Custom: XXX\n | ^^^^^^ This header has not been found in the response\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-query-header-not-found"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:58 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 7
|
|
}
|
|
],
|
|
"filename": "tests/error_query_header_not_found.hurl",
|
|
"success": false,
|
|
"time": 7
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Invalid Json\n --> tests/error_query_invalid_json.hurl:4:1\n |\n 4 | jsonpath \"$.errors\" count == 2\n | ^^^^^^^^^^^^^^^^^^^ The http response is not a valid json\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-query-invalid-json"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:58 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/error_query_invalid_json.hurl",
|
|
"success": false,
|
|
"time": 5
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"message": "Invalid Decoding\n --> tests/error_query_invalid_utf8.hurl:4:1\n |\n 4 | jsonpath \"$.errors\" count == 2\n | ^^^^^^^^^^^^^^^^^^^ The body can not be decoded with charset 'utf-8'\n |",
|
|
"success": false
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/error-query-invalid-utf8"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:58 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/error_query_invalid_utf8.hurl",
|
|
"success": false,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_template_variable_not_found.hurl",
|
|
"success": false,
|
|
"time": 0
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [
|
|
{
|
|
"name": "list",
|
|
"value": [
|
|
1,
|
|
2,
|
|
3
|
|
]
|
|
}
|
|
],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/get-list"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:58 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_template_variable_not_renderable.hurl",
|
|
"success": false,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"time": 0
|
|
}
|
|
],
|
|
"filename": "tests/error_timeout.hurl",
|
|
"success": false,
|
|
"time": 1003
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Expect",
|
|
"value": "100-continue"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "4"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/expect"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 10
|
|
}
|
|
],
|
|
"filename": "tests/expect.hurl",
|
|
"success": true,
|
|
"time": 11
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/follow-redirect"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "286"
|
|
},
|
|
{
|
|
"name": "Location",
|
|
"value": "http://localhost:8000/following-redirect"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 302
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/following-redirect"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "284"
|
|
},
|
|
{
|
|
"name": "Location",
|
|
"value": "http://localhost:8000/followed-redirect"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 302
|
|
},
|
|
"time": 10
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/followed-redirect"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/follow_redirect.hurl",
|
|
"success": true,
|
|
"time": 18
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "49"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/form-params"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 15,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 15,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "49"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/form-params"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/form_params.hurl",
|
|
"success": true,
|
|
"time": 13
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/default-headers"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.0"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/default-headers"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.0"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/default-headers"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 21,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 21,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Fruit",
|
|
"value": "Raspberry"
|
|
},
|
|
{
|
|
"name": "Fruit",
|
|
"value": "Apple"
|
|
},
|
|
{
|
|
"name": "Fruit",
|
|
"value": "Banana"
|
|
},
|
|
{
|
|
"name": "Fruit",
|
|
"value": "Grape"
|
|
},
|
|
{
|
|
"name": "Color",
|
|
"value": "Green"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/custom-headers"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 25,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 25,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Beverage",
|
|
"value": "café"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/custom-headers-utf8"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 29,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 29,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Id",
|
|
"value": "#123"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/custom-headers-value"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 33,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 33,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Header1",
|
|
"value": "'"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/custom-headers-quote"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 10
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 36,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 36,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 37,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/response-headers"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Beverage",
|
|
"value": "cafe"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:38:59 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/headers.hurl",
|
|
"success": true,
|
|
"time": 38
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/hello"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:00 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 10
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/hello"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:00 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/hello"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:00 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 14,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 14,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 15,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/hello"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:00 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
}
|
|
],
|
|
"filename": "tests/hello.hurl",
|
|
"success": true,
|
|
"time": 25
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/ignore_asserts"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:00 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/ignore_asserts.hurl",
|
|
"success": true,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/include"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Date",
|
|
"value": "DATE"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/include.hurl",
|
|
"success": true,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/large"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/octet-stream"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "536870912"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:02 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6276
|
|
}
|
|
],
|
|
"filename": "tests/large.hurl",
|
|
"success": true,
|
|
"time": 8161
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/multilines"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:12 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 10
|
|
}
|
|
],
|
|
"filename": "tests/multilines.hurl",
|
|
"success": true,
|
|
"time": 11
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "627"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "multipart/form-data; boundary=------------------------7fc1acc47208f0d6"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/multipart-form-data"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:12 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 15
|
|
}
|
|
],
|
|
"filename": "tests/multipart_form_data.hurl",
|
|
"success": true,
|
|
"time": 17
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [],
|
|
"filename": "tests/no_entry.hurl",
|
|
"success": true,
|
|
"time": 0
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/non-utf8"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:12 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/non_utf8.hurl",
|
|
"success": true,
|
|
"time": 6
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "17"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/output/endpoint1"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "date",
|
|
"value": "DATE1"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "19"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/output/endpoint2"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "date",
|
|
"value": "DATE2"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "19"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/output.hurl",
|
|
"success": true,
|
|
"time": 9
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 10,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "www.example.com"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/example"
|
|
},
|
|
{
|
|
"name": "If-Match",
|
|
"value": "\"e0023aa4e\""
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "PATCH",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/patch/file.txt"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Location",
|
|
"value": "/file.txt"
|
|
},
|
|
{
|
|
"name": "ETag",
|
|
"value": "\"e0023aa4f\""
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:12 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 204
|
|
},
|
|
"time": 9
|
|
}
|
|
],
|
|
"filename": "tests/patch.hurl",
|
|
"success": true,
|
|
"time": 10
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-base64"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:12 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/post_base64.hurl",
|
|
"success": true,
|
|
"time": 5
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/octet-stream"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "3"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-bytes"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:12 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/post_bytes.hurl",
|
|
"success": true,
|
|
"time": 4
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-file"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-file"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
}
|
|
],
|
|
"filename": "tests/post_file.hurl",
|
|
"success": true,
|
|
"time": 8
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "136"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-json"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 17,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 17,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-json-array"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-json-string"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 27,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 27,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "3"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-json-number"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 38,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 38,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "101"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-json-numbers"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 9
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 43,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 43,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "4"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-json-boolean"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 49,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 49,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [
|
|
{
|
|
"name": "name",
|
|
"value": "Bob"
|
|
}
|
|
],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/get-name"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
},
|
|
{
|
|
"asserts": [],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "21"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/check_name"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
}
|
|
],
|
|
"filename": "tests/post_json.hurl",
|
|
"success": true,
|
|
"time": 34
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "24"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-multilines"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [
|
|
{
|
|
"name": "bob_age",
|
|
"value": "10"
|
|
}
|
|
],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/get-bob-age"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 23,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 23,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "24"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-multilines"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
}
|
|
],
|
|
"filename": "tests/post_multilines.hurl",
|
|
"success": true,
|
|
"time": 18
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/xml"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "42"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-xml"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 8
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 14,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 14,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/xml"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "20"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/post-xml-no-prolog"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/post_xml.hurl",
|
|
"success": true,
|
|
"time": 15
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 8,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 9,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/predicates-string"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 15,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 16,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/predicates-string-empty"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 19,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 19,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 21,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/predicates-string-unicode"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/predicates-string.hurl",
|
|
"success": true,
|
|
"time": 18
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Proxy-Connection",
|
|
"value": "Keep-Alive"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/proxy"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
},
|
|
{
|
|
"name": "From-Proxy",
|
|
"value": "Hello"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 33
|
|
}
|
|
],
|
|
"filename": "tests/proxy.hurl",
|
|
"success": true,
|
|
"time": 34
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "PUT",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/put"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 5
|
|
}
|
|
],
|
|
"filename": "tests/put.hurl",
|
|
"success": true,
|
|
"time": 5
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [
|
|
{
|
|
"name": "param1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "param2",
|
|
"value": ""
|
|
},
|
|
{
|
|
"name": "param3",
|
|
"value": "a=b"
|
|
},
|
|
{
|
|
"name": "param4",
|
|
"value": "1,2,3"
|
|
}
|
|
],
|
|
"url": "http://localhost:8000/querystring-params?param1=value1¶m2=¶m3=a%3Db¶m4=1%2C2%2C3"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 13,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [
|
|
{
|
|
"name": "param1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "param2",
|
|
"value": ""
|
|
},
|
|
{
|
|
"name": "param3",
|
|
"value": "a=b"
|
|
},
|
|
{
|
|
"name": "param4",
|
|
"value": "1,2,3"
|
|
}
|
|
],
|
|
"url": "http://localhost:8000/querystring-params?param1=value1¶m2=¶m3=a%3db¶m4=1,2,3"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [
|
|
{
|
|
"name": "param1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"name": "param2",
|
|
"value": ""
|
|
},
|
|
{
|
|
"name": "param3",
|
|
"value": "a=b"
|
|
},
|
|
{
|
|
"name": "param4",
|
|
"value": "1,2,3"
|
|
}
|
|
],
|
|
"url": "http://localhost:8000/querystring-params?param1=value1¶m2=¶m3=a%3Db¶m4=1%2C2%2C3"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 29,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 29,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [
|
|
{
|
|
"name": "value1",
|
|
"value": "/"
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"value": "/"
|
|
},
|
|
{
|
|
"name": "value3",
|
|
"value": "/"
|
|
}
|
|
],
|
|
"url": "http://localhost:8000/querystring-params-encoded?value1=/&value2=%2F&value3=%2F"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:13 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
}
|
|
],
|
|
"filename": "tests/querystring_params.hurl",
|
|
"success": true,
|
|
"time": 16
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/redirect"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "270"
|
|
},
|
|
{
|
|
"name": "Location",
|
|
"value": "http://localhost:8000/redirected"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 302
|
|
},
|
|
"time": 7
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/redirected"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
}
|
|
],
|
|
"filename": "tests/redirect.hurl",
|
|
"success": true,
|
|
"time": 10
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 4,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/subquery-count"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "39"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 7
|
|
}
|
|
],
|
|
"filename": "tests/subquery_count.hurl",
|
|
"success": true,
|
|
"time": 8
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/test-mode"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "12"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/test_mode.hurl",
|
|
"success": true,
|
|
"time": 4
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/~user"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 6
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 7,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/%7Euser"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
},
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 11,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 12,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/!$&()*+,;=:@[]"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 2
|
|
}
|
|
],
|
|
"filename": "tests/url.hurl",
|
|
"success": true,
|
|
"time": 12
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 2,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Authorization",
|
|
"value": "Basic Ym9iOnNlY3JldA=="
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://bob:secret@localhost:8000/basic-authentication"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "21"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/user_in_url.hurl",
|
|
"success": true,
|
|
"time": 5
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 3,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 5,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 6,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
}
|
|
],
|
|
"method": "GET",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/utf8"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "18"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 3
|
|
}
|
|
],
|
|
"filename": "tests/utf8.hurl",
|
|
"success": true,
|
|
"time": 4
|
|
},
|
|
{
|
|
"cookies": [],
|
|
"entries": [
|
|
{
|
|
"asserts": [
|
|
{
|
|
"line": 17,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 17,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 19,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 20,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 21,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 22,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 23,
|
|
"success": true
|
|
},
|
|
{
|
|
"line": 24,
|
|
"success": true
|
|
}
|
|
],
|
|
"captures": [],
|
|
"request": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Host",
|
|
"value": "localhost:8000"
|
|
},
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"value": "Jennifer"
|
|
},
|
|
{
|
|
"name": "Age",
|
|
"value": "30"
|
|
},
|
|
{
|
|
"name": "Height",
|
|
"value": "1.700000000000000000"
|
|
},
|
|
{
|
|
"name": "Female",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"name": "Id",
|
|
"value": "123"
|
|
},
|
|
{
|
|
"name": "A_Null",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "hurl/1.5.0-snapshot"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "122"
|
|
}
|
|
],
|
|
"method": "POST",
|
|
"queryString": [],
|
|
"url": "http://localhost:8000/variables"
|
|
},
|
|
"response": {
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Length",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"value": "Flask Server"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": "Mon, 08 Nov 2021 10:39:14 GMT"
|
|
}
|
|
],
|
|
"httpVersion": "HTTP/1.0",
|
|
"status": 200
|
|
},
|
|
"time": 4
|
|
}
|
|
],
|
|
"filename": "tests/variables.hurl",
|
|
"success": true,
|
|
"time": 6
|
|
}
|
|
] |