mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-28 09:39:12 +01:00
326 lines
10 KiB
JSON
326 lines
10 KiB
JSON
{
|
|
"summary": {
|
|
"totalRequests": 10,
|
|
"passedRequests": 10,
|
|
"failedRequests": 0,
|
|
"totalAssertions": 4,
|
|
"passedAssertions": 0,
|
|
"failedAssertions": 4,
|
|
"totalTests": 0,
|
|
"passedTests": 0,
|
|
"failedTests": 0
|
|
},
|
|
"results": [
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:3000/test/v4",
|
|
"headers": {}
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "146",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot GET /test/v4</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [
|
|
{
|
|
"uid": "oidgfXLiyD8Jv0NBAHUHF",
|
|
"lhsExpr": "res.status",
|
|
"rhsExpr": "200",
|
|
"rhsOperand": "200",
|
|
"operator": "eq",
|
|
"status": "fail",
|
|
"error": "expected 404 to equal 200"
|
|
}
|
|
],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:3000/test/v2",
|
|
"headers": {}
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "146",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot GET /test/v2</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [
|
|
{
|
|
"uid": "IgliYuHd9wKp6JNyqyHFK",
|
|
"lhsExpr": "res.status",
|
|
"rhsExpr": "200",
|
|
"rhsOperand": "200",
|
|
"operator": "eq",
|
|
"status": "fail",
|
|
"error": "expected 404 to equal 200"
|
|
}
|
|
],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "http://localhost:3000/test/v3",
|
|
"headers": {}
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "146",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot GET /test/v3</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [
|
|
{
|
|
"uid": "u-3sRebrCyuUbZOkwS0z8",
|
|
"lhsExpr": "res.status",
|
|
"rhsExpr": "200",
|
|
"rhsOperand": "200",
|
|
"operator": "eq",
|
|
"status": "fail",
|
|
"error": "expected 404 to equal 200"
|
|
}
|
|
],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:3000/test/v1",
|
|
"headers": {
|
|
"content-type": "application/json"
|
|
},
|
|
"data": {
|
|
"test": "hello"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "147",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /test/v1</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [
|
|
{
|
|
"uid": "PpKLK6I38I5_ibw4lZqLb",
|
|
"lhsExpr": "res.status",
|
|
"rhsExpr": "eq 200",
|
|
"rhsOperand": "200",
|
|
"operator": "eq",
|
|
"status": "fail",
|
|
"error": "expected 404 to equal 200"
|
|
}
|
|
],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:3000/test",
|
|
"headers": {}
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "144",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /test</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "HEAD",
|
|
"url": "http://localhost:3000/",
|
|
"headers": {}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "12",
|
|
"etag": "W/\"c-Lve95gjOVATpfV8EL5X4nxwjKHE\"",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": ""
|
|
},
|
|
"error": null,
|
|
"assertionResults": [],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:3000",
|
|
"headers": {}
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "140",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:3000/",
|
|
"headers": {
|
|
"content-type": "multipart/form-data; boundary=--------------------------897965859410704836065858"
|
|
},
|
|
"data": {
|
|
"_overheadLength": 103,
|
|
"_valueLength": 3,
|
|
"_valuesToMeasure": [],
|
|
"writable": false,
|
|
"readable": true,
|
|
"dataSize": 0,
|
|
"maxDataSize": 2097152,
|
|
"pauseStreams": true,
|
|
"_released": true,
|
|
"_streams": [],
|
|
"_currentStream": null,
|
|
"_insideLoop": false,
|
|
"_pendingNext": false,
|
|
"_boundary": "--------------------------897965859410704836065858",
|
|
"_events": {},
|
|
"_eventsCount": 3
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "140",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:3000/",
|
|
"headers": {
|
|
"content-type": "application/x-www-form-urlencoded"
|
|
},
|
|
"data": "a=b&c=d"
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "140",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [],
|
|
"testResults": []
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:3000/test",
|
|
"headers": {
|
|
"content-type": "text/xml"
|
|
},
|
|
"data": "<xml>\n <test>1</test>\n</xml>"
|
|
},
|
|
"response": {
|
|
"status": 404,
|
|
"statusText": "Not Found",
|
|
"headers": {
|
|
"x-powered-by": "Express",
|
|
"content-security-policy": "default-src 'none'",
|
|
"x-content-type-options": "nosniff",
|
|
"content-type": "text/html; charset=utf-8",
|
|
"content-length": "144",
|
|
"date": "Fri, 29 Sep 2023 00:37:50 GMT",
|
|
"connection": "close"
|
|
},
|
|
"data": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /test</pre>\n</body>\n</html>\n"
|
|
},
|
|
"error": null,
|
|
"assertionResults": [],
|
|
"testResults": []
|
|
}
|
|
]
|
|
}
|