- 新增记录执行数据-->summary.json
- 附加修复request中的url部分通过$符引用参数无效问题
summary examples:
python:
{
"success": true,
"stat": {
"testcases": {
"total": 6,
"success": 6,
"fail": 0
},
"teststeps": {
"total": 6,
"failures": 0,
"successes": 6
}
},
"time": {
"start_at": 1643105559.030703,
"duration": 8.333352088928223
},
"platform": {
"httprunner_version": "3.1.6",
"python_version": "CPython 3.9.5",
"platform": "macOS-11.6-x86_64-i386-64bit"
},
"details": [
{
"name": "request methods testcase: validate with parameters",
"success": true,
"case_id": "fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6",
"time": {
"start_at": 1643105566.044075,
"start_at_iso_format": "2022-01-25T10:12:46.044075",
"duration": 1.3189170360565186
},
"in_out": {
"config_vars": {
"app_version": "v1",
"user_agent": "iOS/10.2",
"username": "test3",
"password": "333333"
},
"export_vars": {}
},
"log": "/Users/bytedance/Projects/python/github.com/httprunner/httprunner/logs/fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6.run.log",
"records": [
{
"success": true,
"name": "get with params",
"data": {
"success": true,
"req_resps": [
{
"request": {
"method": "GET",
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1",
"headers": {
"User-Agent": "iOS/10.1,v1",
"Accept-Encoding": "gzip, deflate, br",
"Accept": "*/*",
"Connection": "keep-alive",
"HRUN-Request-ID": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"cookies": {},
"body": null
},
"response": {
"status_code": 200,
"headers": {
"Date": "Tue, 25 Jan 2022 10:12:47 GMT",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "436",
"Connection": "keep-alive",
"ETag": "W/\"1b4-hR+MeFpY/lK7wXAoWxTXQbfON4I\"",
"Vary": "Accept-Encoding",
"set-cookie": "sails.sid=s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY; Path=/; HttpOnly"
},
"cookies": {
"sails.sid": "s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY"
},
"encoding": "utf-8",
"content_type": "application/json; charset=utf-8",
"body": {
"args": {
"foo1": "test1",
"foo2": "111111",
"foo3": "iOS/10.1"
},
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=1-61efcd1f-0b55665f66c5397777997971",
"user-agent": "iOS/10.1,v1",
"accept-encoding": "gzip, deflate, br",
"accept": "*/*",
"hrun-request-id": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1"
}
}
}
],
"stat": {
"content_size": 0,
"response_time_ms": 1314.67,
"elapsed_ms": 310.38
},
"address": {
"client_ip": "10.90.206.241",
"client_port": 62270,
"server_ip": "52.6.12.176",
"server_port": 443
},
"validators": {
"validate_extractor": [
{
"comparator": "equal",
"check": "status_code",
"check_value": 200,
"expect": 200,
"expect_value": 200,
"message": "",
"check_result": "pass"
}
]
}
},
"export_vars": {}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"case_id": "fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6",
"time": {
"start_at": 1643105566.044075,
"start_at_iso_format": "2022-01-25T10:12:46.044075",
"duration": 1.3189170360565186
},
"in_out": {
"config_vars": {
"app_version": "v1",
"user_agent": "iOS/10.2",
"username": "test3",
"password": "333333"
},
"export_vars": {}
},
"log": "/Users/bytedance/Projects/python/github.com/httprunner/httprunner/logs/fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6.run.log",
"records": [
{
"success": true,
"name": "get with params",
"data": {
"success": true,
"req_resps": [
{
"request": {
"method": "GET",
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1",
"headers": {
"User-Agent": "iOS/10.1,v1",
"Accept-Encoding": "gzip, deflate, br",
"Accept": "*/*",
"Connection": "keep-alive",
"HRUN-Request-ID": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"cookies": {},
"body": null
},
"response": {
"status_code": 200,
"headers": {
"Date": "Tue, 25 Jan 2022 10:12:47 GMT",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "436",
"Connection": "keep-alive",
"ETag": "W/\"1b4-hR+MeFpY/lK7wXAoWxTXQbfON4I\"",
"Vary": "Accept-Encoding",
"set-cookie": "sails.sid=s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY; Path=/; HttpOnly"
},
"cookies": {
"sails.sid": "s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY"
},
"encoding": "utf-8",
"content_type": "application/json; charset=utf-8",
"body": {
"args": {
"foo1": "test1",
"foo2": "111111",
"foo3": "iOS/10.1"
},
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=1-61efcd1f-0b55665f66c5397777997971",
"user-agent": "iOS/10.1,v1",
"accept-encoding": "gzip, deflate, br",
"accept": "*/*",
"hrun-request-id": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1"
}
}
}
],
"stat": {
"content_size": 0,
"response_time_ms": 1314.67,
"elapsed_ms": 310.38
},
"address": {
"client_ip": "10.90.206.241",
"client_port": 62270,
"server_ip": "52.6.12.176",
"server_port": 443
},
"validators": {
"validate_extractor": [
{
"comparator": "equal",
"check": "status_code",
"check_value": 200,
"expect": 200,
"expect_value": 200,
"message": "",
"check_result": "pass"
}
]
}
},
"export_vars": {}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"case_id": "fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6",
"time": {
"start_at": 1643105566.044075,
"start_at_iso_format": "2022-01-25T10:12:46.044075",
"duration": 1.3189170360565186
},
"in_out": {
"config_vars": {
"app_version": "v1",
"user_agent": "iOS/10.2",
"username": "test3",
"password": "333333"
},
"export_vars": {}
},
"log": "/Users/bytedance/Projects/python/github.com/httprunner/httprunner/logs/fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6.run.log",
"records": [
{
"success": true,
"name": "get with params",
"data": {
"success": true,
"req_resps": [
{
"request": {
"method": "GET",
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1",
"headers": {
"User-Agent": "iOS/10.1,v1",
"Accept-Encoding": "gzip, deflate, br",
"Accept": "*/*",
"Connection": "keep-alive",
"HRUN-Request-ID": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"cookies": {},
"body": null
},
"response": {
"status_code": 200,
"headers": {
"Date": "Tue, 25 Jan 2022 10:12:47 GMT",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "436",
"Connection": "keep-alive",
"ETag": "W/\"1b4-hR+MeFpY/lK7wXAoWxTXQbfON4I\"",
"Vary": "Accept-Encoding",
"set-cookie": "sails.sid=s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY; Path=/; HttpOnly"
},
"cookies": {
"sails.sid": "s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY"
},
"encoding": "utf-8",
"content_type": "application/json; charset=utf-8",
"body": {
"args": {
"foo1": "test1",
"foo2": "111111",
"foo3": "iOS/10.1"
},
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=1-61efcd1f-0b55665f66c5397777997971",
"user-agent": "iOS/10.1,v1",
"accept-encoding": "gzip, deflate, br",
"accept": "*/*",
"hrun-request-id": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1"
}
}
}
],
"stat": {
"content_size": 0,
"response_time_ms": 1314.67,
"elapsed_ms": 310.38
},
"address": {
"client_ip": "10.90.206.241",
"client_port": 62270,
"server_ip": "52.6.12.176",
"server_port": 443
},
"validators": {
"validate_extractor": [
{
"comparator": "equal",
"check": "status_code",
"check_value": 200,
"expect": 200,
"expect_value": 200,
"message": "",
"check_result": "pass"
}
]
}
},
"export_vars": {}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"case_id": "fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6",
"time": {
"start_at": 1643105566.044075,
"start_at_iso_format": "2022-01-25T10:12:46.044075",
"duration": 1.3189170360565186
},
"in_out": {
"config_vars": {
"app_version": "v1",
"user_agent": "iOS/10.2",
"username": "test3",
"password": "333333"
},
"export_vars": {}
},
"log": "/Users/bytedance/Projects/python/github.com/httprunner/httprunner/logs/fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6.run.log",
"records": [
{
"success": true,
"name": "get with params",
"data": {
"success": true,
"req_resps": [
{
"request": {
"method": "GET",
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1",
"headers": {
"User-Agent": "iOS/10.1,v1",
"Accept-Encoding": "gzip, deflate, br",
"Accept": "*/*",
"Connection": "keep-alive",
"HRUN-Request-ID": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"cookies": {},
"body": null
},
"response": {
"status_code": 200,
"headers": {
"Date": "Tue, 25 Jan 2022 10:12:47 GMT",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "436",
"Connection": "keep-alive",
"ETag": "W/\"1b4-hR+MeFpY/lK7wXAoWxTXQbfON4I\"",
"Vary": "Accept-Encoding",
"set-cookie": "sails.sid=s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY; Path=/; HttpOnly"
},
"cookies": {
"sails.sid": "s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY"
},
"encoding": "utf-8",
"content_type": "application/json; charset=utf-8",
"body": {
"args": {
"foo1": "test1",
"foo2": "111111",
"foo3": "iOS/10.1"
},
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=1-61efcd1f-0b55665f66c5397777997971",
"user-agent": "iOS/10.1,v1",
"accept-encoding": "gzip, deflate, br",
"accept": "*/*",
"hrun-request-id": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1"
}
}
}
],
"stat": {
"content_size": 0,
"response_time_ms": 1314.67,
"elapsed_ms": 310.38
},
"address": {
"client_ip": "10.90.206.241",
"client_port": 62270,
"server_ip": "52.6.12.176",
"server_port": 443
},
"validators": {
"validate_extractor": [
{
"comparator": "equal",
"check": "status_code",
"check_value": 200,
"expect": 200,
"expect_value": 200,
"message": "",
"check_result": "pass"
}
]
}
},
"export_vars": {}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"case_id": "fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6",
"time": {
"start_at": 1643105566.044075,
"start_at_iso_format": "2022-01-25T10:12:46.044075",
"duration": 1.3189170360565186
},
"in_out": {
"config_vars": {
"app_version": "v1",
"user_agent": "iOS/10.2",
"username": "test3",
"password": "333333"
},
"export_vars": {}
},
"log": "/Users/bytedance/Projects/python/github.com/httprunner/httprunner/logs/fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6.run.log",
"records": [
{
"success": true,
"name": "get with params",
"data": {
"success": true,
"req_resps": [
{
"request": {
"method": "GET",
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1",
"headers": {
"User-Agent": "iOS/10.1,v1",
"Accept-Encoding": "gzip, deflate, br",
"Accept": "*/*",
"Connection": "keep-alive",
"HRUN-Request-ID": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"cookies": {},
"body": null
},
"response": {
"status_code": 200,
"headers": {
"Date": "Tue, 25 Jan 2022 10:12:47 GMT",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "436",
"Connection": "keep-alive",
"ETag": "W/\"1b4-hR+MeFpY/lK7wXAoWxTXQbfON4I\"",
"Vary": "Accept-Encoding",
"set-cookie": "sails.sid=s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY; Path=/; HttpOnly"
},
"cookies": {
"sails.sid": "s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY"
},
"encoding": "utf-8",
"content_type": "application/json; charset=utf-8",
"body": {
"args": {
"foo1": "test1",
"foo2": "111111",
"foo3": "iOS/10.1"
},
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=1-61efcd1f-0b55665f66c5397777997971",
"user-agent": "iOS/10.1,v1",
"accept-encoding": "gzip, deflate, br",
"accept": "*/*",
"hrun-request-id": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1"
}
}
}
],
"stat": {
"content_size": 0,
"response_time_ms": 1314.67,
"elapsed_ms": 310.38
},
"address": {
"client_ip": "10.90.206.241",
"client_port": 62270,
"server_ip": "52.6.12.176",
"server_port": 443
},
"validators": {
"validate_extractor": [
{
"comparator": "equal",
"check": "status_code",
"check_value": 200,
"expect": 200,
"expect_value": 200,
"message": "",
"check_result": "pass"
}
]
}
},
"export_vars": {}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"case_id": "fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6",
"time": {
"start_at": 1643105566.044075,
"start_at_iso_format": "2022-01-25T10:12:46.044075",
"duration": 1.3189170360565186
},
"in_out": {
"config_vars": {
"app_version": "v1",
"user_agent": "iOS/10.2",
"username": "test3",
"password": "333333"
},
"export_vars": {}
},
"log": "/Users/bytedance/Projects/python/github.com/httprunner/httprunner/logs/fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6.run.log",
"records": [
{
"success": true,
"name": "get with params",
"data": {
"success": true,
"req_resps": [
{
"request": {
"method": "GET",
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1",
"headers": {
"User-Agent": "iOS/10.1,v1",
"Accept-Encoding": "gzip, deflate, br",
"Accept": "*/*",
"Connection": "keep-alive",
"HRUN-Request-ID": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"cookies": {},
"body": null
},
"response": {
"status_code": 200,
"headers": {
"Date": "Tue, 25 Jan 2022 10:12:47 GMT",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "436",
"Connection": "keep-alive",
"ETag": "W/\"1b4-hR+MeFpY/lK7wXAoWxTXQbfON4I\"",
"Vary": "Accept-Encoding",
"set-cookie": "sails.sid=s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY; Path=/; HttpOnly"
},
"cookies": {
"sails.sid": "s%3AoaXWmC-NCeSZbvEYQgMd1Pfvyale98zN.t5ViXj0LpOqJ%2BhDcpPtFsn14m4lOUXE3dfpIHOGLSBY"
},
"encoding": "utf-8",
"content_type": "application/json; charset=utf-8",
"body": {
"args": {
"foo1": "test1",
"foo2": "111111",
"foo3": "iOS/10.1"
},
"headers": {
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"x-amzn-trace-id": "Root=1-61efcd1f-0b55665f66c5397777997971",
"user-agent": "iOS/10.1,v1",
"accept-encoding": "gzip, deflate, br",
"accept": "*/*",
"hrun-request-id": "HRUN-fa51f1e9-966a-4591-a46f-a2f1b8c3c6c6-566044"
},
"url": "https://postman-echo.com/get?foo1=test1&foo2=111111&foo3=iOS%2F10.1"
}
}
}
],
"stat": {
"content_size": 0,
"response_time_ms": 1314.67,
"elapsed_ms": 310.38
},
"address": {
"client_ip": "10.90.206.241",
"client_port": 62270,
"server_ip": "52.6.12.176",
"server_port": 443
},
"validators": {
"validate_extractor": [
{
"comparator": "equal",
"check": "status_code",
"check_value": 200,
"expect": 200,
"expect_value": 200,
"message": "",
"check_result": "pass"
}
]
}
},
"export_vars": {}
}
]
}
]
}
golang:
{
"success": true,
"stat": {
"testcases": {
"total": 6,
"success": 6
},
"teststeps": {
"total": 6,
"successes": 6
}
},
"time": {
"start_at": "2022-01-25T21:16:46.372972+08:00",
"duration": 3.081289221
},
"platform": {
"hrp_version": "v0.5.2",
"go_version": "go1.16.11",
"platform": "darwin-amd64"
},
"details": [
{
"name": "request methods testcase: validate with parameters",
"success": true,
"time": {
"start_at": "2022-01-25T21:16:46.373128+08:00",
"duration": 1.256897586
},
"in_out": {
"config_vars": {
"app_version": "v1",
"password": "222222",
"user_agent": "iOS/10.1",
"username": "test2"
},
"export_vars": {
"app_version": "v1"
}
},
"records": [
{
"name": "get with params",
"step_type": "request",
"success": true,
"elapsed_ms": 1256,
"data": {
"success": true,
"req_resps": {
"request": {
"method": "GET",
"url": "https://postman-echo.com/get",
"params": {
"foo1": "test2",
"foo2": "222222",
"foo3": "iOS/10.1"
},
"headers": {
"User-Agent": "iOS/10.1,v1"
}
},
"response": {
"body": {
"args": {
"foo1": "test2",
"foo2": "222222",
"foo3": "iOS/10.1"
},
"headers": {
"accept-encoding": "gzip",
"host": "postman-echo.com",
"user-agent": "iOS/10.1,v1",
"x-amzn-trace-id": "Root=1-61eff83f-153326e07e826dfc184f744a",
"x-forwarded-port": "443",
"x-forwarded-proto": "https"
},
"url": "https://postman-echo.com/get?foo1=test2\u0026foo2=222222\u0026foo3=iOS%2F10.1"
},
"cookies": {
"sails.sid": "s%3AvyCE4K8E0Pc6clzMeDHCijIkHBT3bHQk.50RiQzAUExoH6fZ9PN8%2Futbge8ivO9anacFgqyx3eGg"
},
"headers": {
"Connection": "keep-alive",
"Content-Length": "339",
"Content-Type": "application/json; charset=utf-8",
"Date": "Tue, 25 Jan 2022 13:16:47 GMT",
"Etag": "W/\"153-IiMiM7CEs916LbYKJZV4RDJ1kzs\"",
"Set-Cookie": "sails.sid=s%3AvyCE4K8E0Pc6clzMeDHCijIkHBT3bHQk.50RiQzAUExoH6fZ9PN8%2Futbge8ivO9anacFgqyx3eGg; Path=/; HttpOnly",
"Vary": "Accept-Encoding"
},
"status_code": 200
}
},
"validators": [
{
"check": 200,
"expect": 200,
"comparator": "equals",
"check_result": "pass",
"message": "check status code"
},
{
"check": "iOS/10.1",
"expect": "iOS/10.3",
"comparator": "not_equal",
"check_result": "pass",
"message": "check app version"
}
]
},
"content_size": 339,
"export_vars": {
"varFoo1": "test2"
}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"time": {
"start_at": "2022-01-25T21:16:47.630216+08:00",
"duration": 0.279427926
},
"in_out": {
"config_vars": {
"app_version": "v1",
"password": "333333",
"user_agent": "iOS/10.2",
"username": "test3"
},
"export_vars": {
"app_version": "v1"
}
},
"records": [
{
"name": "get with params",
"step_type": "request",
"success": true,
"elapsed_ms": 278,
"data": {
"success": true,
"req_resps": {
"request": {
"method": "GET",
"url": "https://postman-echo.com/get",
"params": {
"foo1": "test3",
"foo2": "333333",
"foo3": "iOS/10.2"
},
"headers": {
"User-Agent": "iOS/10.1,v1"
}
},
"response": {
"body": {
"args": {
"foo1": "test3",
"foo2": "333333",
"foo3": "iOS/10.2"
},
"headers": {
"accept-encoding": "gzip",
"host": "postman-echo.com",
"user-agent": "iOS/10.1,v1",
"x-amzn-trace-id": "Root=1-61eff83f-570465043297b14f535ac0b1",
"x-forwarded-port": "443",
"x-forwarded-proto": "https"
},
"url": "https://postman-echo.com/get?foo1=test3\u0026foo2=333333\u0026foo3=iOS%2F10.2"
},
"cookies": {
"sails.sid": "s%3AEz9zpr6QZ1mIvx3j93vjbLdg-m7BqCBO.grdHQpmTPHLHubN5CkrMhCrRfPnO70PEixmo%2FufkojA"
},
"headers": {
"Connection": "keep-alive",
"Content-Length": "339",
"Content-Type": "application/json; charset=utf-8",
"Date": "Tue, 25 Jan 2022 13:16:47 GMT",
"Etag": "W/\"153-jXjjQ5loclGBYP2Rddzd4GV3ZEk\"",
"Set-Cookie": "sails.sid=s%3AEz9zpr6QZ1mIvx3j93vjbLdg-m7BqCBO.grdHQpmTPHLHubN5CkrMhCrRfPnO70PEixmo%2FufkojA; Path=/; HttpOnly",
"Vary": "Accept-Encoding"
},
"status_code": 200
}
},
"validators": [
{
"check": 200,
"expect": 200,
"comparator": "equals",
"check_result": "pass",
"message": "check status code"
},
{
"check": "iOS/10.2",
"expect": "iOS/10.3",
"comparator": "not_equal",
"check_result": "pass",
"message": "check app version"
}
]
},
"content_size": 339,
"export_vars": {
"varFoo1": "test3"
}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"time": {
"start_at": "2022-01-25T21:16:47.909924+08:00",
"duration": 0.48813689
},
"in_out": {
"config_vars": {
"app_version": "v1",
"password": "333333",
"user_agent": "iOS/10.1",
"username": "test3"
},
"export_vars": {
"app_version": "v1"
}
},
"records": [
{
"name": "get with params",
"step_type": "request",
"success": true,
"elapsed_ms": 487,
"data": {
"success": true,
"req_resps": {
"request": {
"method": "GET",
"url": "https://postman-echo.com/get",
"params": {
"foo1": "test3",
"foo2": "333333",
"foo3": "iOS/10.1"
},
"headers": {
"User-Agent": "iOS/10.1,v1"
}
},
"response": {
"body": {
"args": {
"foo1": "test3",
"foo2": "333333",
"foo3": "iOS/10.1"
},
"headers": {
"accept-encoding": "gzip",
"host": "postman-echo.com",
"user-agent": "iOS/10.1,v1",
"x-amzn-trace-id": "Root=1-61eff840-7732e5e20fed93947f7ac80d",
"x-forwarded-port": "443",
"x-forwarded-proto": "https"
},
"url": "https://postman-echo.com/get?foo1=test3\u0026foo2=333333\u0026foo3=iOS%2F10.1"
},
"cookies": {
"sails.sid": "s%3AzffCiV7eUvBid80txdee4ji5tnZHEX--.UDYoht89T4zFrnvkajrRBAnqrGmYK3UPEZc6en7JbdU"
},
"headers": {
"Connection": "keep-alive",
"Content-Length": "339",
"Content-Type": "application/json; charset=utf-8",
"Date": "Tue, 25 Jan 2022 13:16:48 GMT",
"Etag": "W/\"153-F8kBKJScNuffLxfItueNpJDwhOU\"",
"Set-Cookie": "sails.sid=s%3AzffCiV7eUvBid80txdee4ji5tnZHEX--.UDYoht89T4zFrnvkajrRBAnqrGmYK3UPEZc6en7JbdU; Path=/; HttpOnly",
"Vary": "Accept-Encoding"
},
"status_code": 200
}
},
"validators": [
{
"check": 200,
"expect": 200,
"comparator": "equals",
"check_result": "pass",
"message": "check status code"
},
{
"check": "iOS/10.1",
"expect": "iOS/10.3",
"comparator": "not_equal",
"check_result": "pass",
"message": "check app version"
}
]
},
"content_size": 339,
"export_vars": {
"varFoo1": "test3"
}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"time": {
"start_at": "2022-01-25T21:16:48.398358+08:00",
"duration": 0.28169601
},
"in_out": {
"config_vars": {
"app_version": "v1",
"password": "222222",
"user_agent": "iOS/10.2",
"username": "test2"
},
"export_vars": {
"app_version": "v1"
}
},
"records": [
{
"name": "get with params",
"step_type": "request",
"success": true,
"elapsed_ms": 280,
"data": {
"success": true,
"req_resps": {
"request": {
"method": "GET",
"url": "https://postman-echo.com/get",
"params": {
"foo1": "test2",
"foo2": "222222",
"foo3": "iOS/10.2"
},
"headers": {
"User-Agent": "iOS/10.1,v1"
}
},
"response": {
"body": {
"args": {
"foo1": "test2",
"foo2": "222222",
"foo3": "iOS/10.2"
},
"headers": {
"accept-encoding": "gzip",
"host": "postman-echo.com",
"user-agent": "iOS/10.1,v1",
"x-amzn-trace-id": "Root=1-61eff840-0dcbbaf73943af991e3ace4e",
"x-forwarded-port": "443",
"x-forwarded-proto": "https"
},
"url": "https://postman-echo.com/get?foo1=test2\u0026foo2=222222\u0026foo3=iOS%2F10.2"
},
"cookies": {
"sails.sid": "s%3AMf-L0EEnGipgYs09co9m2K2rIARdYa45.TfizCEpRqlarx%2BkBv9Q0odZsyCkabNvSm5bsrIPh%2BOg"
},
"headers": {
"Connection": "keep-alive",
"Content-Length": "339",
"Content-Type": "application/json; charset=utf-8",
"Date": "Tue, 25 Jan 2022 13:16:48 GMT",
"Etag": "W/\"153-BCDMCsBPiCNXcZLebovcmy/yhss\"",
"Set-Cookie": "sails.sid=s%3AMf-L0EEnGipgYs09co9m2K2rIARdYa45.TfizCEpRqlarx%2BkBv9Q0odZsyCkabNvSm5bsrIPh%2BOg; Path=/; HttpOnly",
"Vary": "Accept-Encoding"
},
"status_code": 200
}
},
"validators": [
{
"check": 200,
"expect": 200,
"comparator": "equals",
"check_result": "pass",
"message": "check status code"
},
{
"check": "iOS/10.2",
"expect": "iOS/10.3",
"comparator": "not_equal",
"check_result": "pass",
"message": "check app version"
}
]
},
"content_size": 339,
"export_vars": {
"varFoo1": "test2"
}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"time": {
"start_at": "2022-01-25T21:16:48.680334+08:00",
"duration": 0.280148839
},
"in_out": {
"config_vars": {
"app_version": "v1",
"password": "222222",
"user_agent": "iOS/10.1",
"username": "test2"
},
"export_vars": {
"app_version": "v1"
}
},
"records": [
{
"name": "get with params",
"step_type": "request",
"success": true,
"elapsed_ms": 279,
"data": {
"success": true,
"req_resps": {
"request": {
"method": "GET",
"url": "https://postman-echo.com/get",
"params": {
"foo1": "test2",
"foo2": "222222",
"foo3": "iOS/10.1"
},
"headers": {
"User-Agent": "iOS/10.1,v1"
}
},
"response": {
"body": {
"args": {
"foo1": "test2",
"foo2": "222222",
"foo3": "iOS/10.1"
},
"headers": {
"accept-encoding": "gzip",
"host": "postman-echo.com",
"user-agent": "iOS/10.1,v1",
"x-amzn-trace-id": "Root=1-61eff841-0e3ec9943d558a8e50536b2e",
"x-forwarded-port": "443",
"x-forwarded-proto": "https"
},
"url": "https://postman-echo.com/get?foo1=test2\u0026foo2=222222\u0026foo3=iOS%2F10.1"
},
"cookies": {
"sails.sid": "s%3A1v_S7nb-OAFKAsOzOFRuck7jIVQDDP2K.YcZhGCYypvlPrHTLx6d9UnqmEX9%2BTxTHr6SCPPRaQWk"
},
"headers": {
"Connection": "keep-alive",
"Content-Length": "339",
"Content-Type": "application/json; charset=utf-8",
"Date": "Tue, 25 Jan 2022 13:16:49 GMT",
"Etag": "W/\"153-1nL6mgrwl+7DcYyd2Ew5cqVEAwk\"",
"Set-Cookie": "sails.sid=s%3A1v_S7nb-OAFKAsOzOFRuck7jIVQDDP2K.YcZhGCYypvlPrHTLx6d9UnqmEX9%2BTxTHr6SCPPRaQWk; Path=/; HttpOnly",
"Vary": "Accept-Encoding"
},
"status_code": 200
}
},
"validators": [
{
"check": 200,
"expect": 200,
"comparator": "equals",
"check_result": "pass",
"message": "check status code"
},
{
"check": "iOS/10.1",
"expect": "iOS/10.3",
"comparator": "not_equal",
"check_result": "pass",
"message": "check app version"
}
]
},
"content_size": 339,
"export_vars": {
"varFoo1": "test2"
}
}
]
},
{
"name": "request methods testcase: validate with parameters",
"success": true,
"time": {
"start_at": "2022-01-25T21:16:48.960785+08:00",
"duration": 0.493498128
},
"in_out": {
"config_vars": {
"app_version": "v1",
"password": "222222",
"user_agent": "iOS/10.2",
"username": "test2"
},
"export_vars": {
"app_version": "v1"
}
},
"records": [
{
"name": "get with params",
"step_type": "request",
"success": true,
"elapsed_ms": 492,
"data": {
"success": true,
"req_resps": {
"request": {
"method": "GET",
"url": "https://postman-echo.com/get",
"params": {
"foo1": "test2",
"foo2": "222222",
"foo3": "iOS/10.2"
},
"headers": {
"User-Agent": "iOS/10.1,v1"
}
},
"response": {
"body": {
"args": {
"foo1": "test2",
"foo2": "222222",
"foo3": "iOS/10.2"
},
"headers": {
"accept-encoding": "gzip",
"host": "postman-echo.com",
"user-agent": "iOS/10.1,v1",
"x-amzn-trace-id": "Root=1-61eff841-43592b1142a9b290639fa18f",
"x-forwarded-port": "443",
"x-forwarded-proto": "https"
},
"url": "https://postman-echo.com/get?foo1=test2\u0026foo2=222222\u0026foo3=iOS%2F10.2"
},
"cookies": {
"sails.sid": "s%3AwmRBJDOGxYQ0XfhsrG4tEwy7BmsL-HUR.AaIhEqy7S0RPP7EelDlzq2fnki4teFaqLjSrG9VYKvo"
},
"headers": {
"Connection": "keep-alive",
"Content-Length": "339",
"Content-Type": "application/json; charset=utf-8",
"Date": "Tue, 25 Jan 2022 13:16:49 GMT",
"Etag": "W/\"153-NTT3AqeHSqfLPhBpU10xqDCrE60\"",
"Set-Cookie": "sails.sid=s%3AwmRBJDOGxYQ0XfhsrG4tEwy7BmsL-HUR.AaIhEqy7S0RPP7EelDlzq2fnki4teFaqLjSrG9VYKvo; Path=/; HttpOnly",
"Vary": "Accept-Encoding"
},
"status_code": 200
}
},
"validators": [
{
"check": 200,
"expect": 200,
"comparator": "equals",
"check_result": "pass",
"message": "check status code"
},
{
"check": "iOS/10.2",
"expect": "iOS/10.3",
"comparator": "not_equal",
"check_result": "pass",
"message": "check app version"
}
]
},
"content_size": 339,
"export_vars": {
"varFoo1": "test2"
}
}
]
}
]
}