update
This commit is contained in:
parent
26e4c9eb08
commit
3fb6bf7f4c
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
404
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
404
|
|
@ -0,0 +1,39 @@
|
||||||
|
{
|
||||||
|
"terminal": "PC",
|
||||||
|
"apiVersion": "1.0.1",
|
||||||
|
"site": {
|
||||||
|
"Siteid": 1015,
|
||||||
|
"siteName": "waibu",
|
||||||
|
"qid": "04478",
|
||||||
|
"pageType": "null",
|
||||||
|
"pageUrl": "https://www.tianqi.com/shanghai/",
|
||||||
|
"newsType": "null",
|
||||||
|
"keywords": "上海天气,上海天气预报,上海天气预报查询,上海今日天气,上海周末天气,上海一周天气预报,上海天气预报一周,天气预报查询一周,上海天气预报10天,上海天气预报查询15天,上海未来一周的天气预报,上海天气情况,上海40日天气预报,天气预报40天,上海30日天气预报,天气预报30天"
|
||||||
|
},
|
||||||
|
"device": {
|
||||||
|
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36",
|
||||||
|
"geo": {
|
||||||
|
"country": "",
|
||||||
|
"city": ""
|
||||||
|
},
|
||||||
|
"dnt": 0,
|
||||||
|
"deviceType": "PC",
|
||||||
|
"os": "MACOS",
|
||||||
|
"osVersion": "X",
|
||||||
|
"height": 1080,
|
||||||
|
"width": 1920
|
||||||
|
},
|
||||||
|
"user": {
|
||||||
|
"userId": "16805156868205498"
|
||||||
|
},
|
||||||
|
"imp": [
|
||||||
|
{
|
||||||
|
"slotId": 102298,
|
||||||
|
"pageNum": "5",
|
||||||
|
"styleId": [
|
||||||
|
1004
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"requestId": "16805156922345810"
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"key": "13093193613",
|
||||||
|
"key2": null
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
404
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"account": "{{phone_number()}}",
|
||||||
|
"password": "xxxxxxxxxx"
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
404
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"msg": "bad request ...",
|
||||||
|
"success": false
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"account": "18900001000",
|
||||||
|
"password": "xxxxxx"
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"key": [
|
||||||
|
"5907"
|
||||||
|
],
|
||||||
|
"key2": [
|
||||||
|
null
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
|
||||||
|
"","login","","0","2","0","0","0"
|
||||||
|
"","登录模块","","0","2","0","0","0"
|
||||||
|
"","天气模块","","0","0","1","0","0"
|
||||||
|
"","XXX模块","","0","2","0","0","0"
|
|
|
@ -0,0 +1,112 @@
|
||||||
|
{
|
||||||
|
"uid" : "b1a8273437954620fa374b796ffaacdd",
|
||||||
|
"name" : "behaviors",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "login",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"parentUid" : "6b74c42bd09fef0af9d6be3f5241dc88",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'正确账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '{{phone_number()}}', 'password': 'xxxxxxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"parentUid" : "6b74c42bd09fef0af9d6be3f5241dc88",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'错误账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '18900001000', 'password': 'xxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "6b74c42bd09fef0af9d6be3f5241dc88"
|
||||||
|
}, {
|
||||||
|
"name" : "登录模块",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"parentUid" : "6958045a481574bf02bb11ef07a7047b",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'正确账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '{{phone_number()}}', 'password': 'xxxxxxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"parentUid" : "6958045a481574bf02bb11ef07a7047b",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'错误账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '18900001000', 'password': 'xxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "6958045a481574bf02bb11ef07a7047b"
|
||||||
|
}, {
|
||||||
|
"name" : "天气模块",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "天气查询接口",
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"parentUid" : "5eb95b7614527884cdc65b63293dc287",
|
||||||
|
"status" : "passed",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'查询上海天气'", "('https://open.xwdsp.com/phegda/advrest', 'POST')", "{'response': False}", "{'params': None, 'json': {'terminal': 'PC', 'apiVersion': '1.0.1', 'site': {'Siteid': 1015, 'siteName': 'waibu', 'qid': '04478', 'pageType': 'null', 'pageUrl': 'https://www.tianqi.com/shanghai/', 'newsType': 'null', 'keywords': '上海天气,上海天气预报,上海天气预报查询,上海今日天气,上海周末天气,上海一周天气预报,上海天气预报一周,天气预报查询一周,上海天气预报10天,上海天气预报查询15天,上海未来一周的天气预报,上海天气情况,上海40日天气预报,天气预报40天,上海30日天气预报,天气预报30天'}, 'device': {'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36', 'geo': {'country': '', 'city': ''}, 'dnt': 0, 'deviceType': 'PC', 'os': 'MACOS', 'osVersion': 'X', 'height': 1080, 'width': 1920}, 'user': {'userId': '16805156868205498'}, 'imp': [{'slotId': 102298, 'pageNum': '5', 'styleId': [1004]}], 'requestId': '16805156922345810'}, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "5eb95b7614527884cdc65b63293dc287"
|
||||||
|
}, {
|
||||||
|
"name" : "XXX模块",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"parentUid" : "232e7415fa1754c78f653ccc5de21f66",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': '13093193613', 'key2': None}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"parentUid" : "232e7415fa1754c78f653ccc5de21f66",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片2'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': ['5907'], 'key2': [None]}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "232e7415fa1754c78f653ccc5de21f66"
|
||||||
|
} ]
|
||||||
|
}
|
|
@ -0,0 +1,2 @@
|
||||||
|
"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
|
||||||
|
"Test defects","0","4","0","0","0"
|
|
|
@ -0,0 +1,65 @@
|
||||||
|
{
|
||||||
|
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
|
||||||
|
"name" : "categories",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "Test defects",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"parentUid" : "0deff55915d4c9ebc746eac29285817c",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'正确账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '{{phone_number()}}', 'password': 'xxxxxxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"parentUid" : "0deff55915d4c9ebc746eac29285817c",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'错误账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '18900001000', 'password': 'xxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"parentUid" : "0deff55915d4c9ebc746eac29285817c",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': '13093193613', 'key2': None}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"parentUid" : "0deff55915d4c9ebc746eac29285817c",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片2'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': ['5907'], 'key2': [None]}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "0deff55915d4c9ebc746eac29285817c"
|
||||||
|
} ],
|
||||||
|
"uid" : "bdbf199525818fae7a8651db9eafe741"
|
||||||
|
} ]
|
||||||
|
}
|
|
@ -0,0 +1,86 @@
|
||||||
|
{
|
||||||
|
"uid" : "83edc06c07f9ae9e47eb6dd1b683e4e2",
|
||||||
|
"name" : "packages",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "test_cases",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "login.test_login",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"parentUid" : "59c2481e382b0284929242d09b5a3d87",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'正确账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '{{phone_number()}}', 'password': 'xxxxxxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"parentUid" : "59c2481e382b0284929242d09b5a3d87",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'错误账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '18900001000', 'password': 'xxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "login.test_login"
|
||||||
|
}, {
|
||||||
|
"name" : "tianqi.test_tianqi",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "天气查询接口",
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"parentUid" : "0c7bf72578fc8766ff524114b0efa249",
|
||||||
|
"status" : "passed",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'查询上海天气'", "('https://open.xwdsp.com/phegda/advrest', 'POST')", "{'response': False}", "{'params': None, 'json': {'terminal': 'PC', 'apiVersion': '1.0.1', 'site': {'Siteid': 1015, 'siteName': 'waibu', 'qid': '04478', 'pageType': 'null', 'pageUrl': 'https://www.tianqi.com/shanghai/', 'newsType': 'null', 'keywords': '上海天气,上海天气预报,上海天气预报查询,上海今日天气,上海周末天气,上海一周天气预报,上海天气预报一周,天气预报查询一周,上海天气预报10天,上海天气预报查询15天,上海未来一周的天气预报,上海天气情况,上海40日天气预报,天气预报40天,上海30日天气预报,天气预报30天'}, 'device': {'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36', 'geo': {'country': '', 'city': ''}, 'dnt': 0, 'deviceType': 'PC', 'os': 'MACOS', 'osVersion': 'X', 'height': 1080, 'width': 1920}, 'user': {'userId': '16805156868205498'}, 'imp': [{'slotId': 102298, 'pageNum': '5', 'styleId': [1004]}], 'requestId': '16805156922345810'}, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "tianqi.test_tianqi"
|
||||||
|
}, {
|
||||||
|
"name" : "upload.test_upload",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"parentUid" : "2c508824289cbddb0e02a4e12020eab1",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': '13093193613', 'key2': None}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"parentUid" : "2c508824289cbddb0e02a4e12020eab1",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片2'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': ['5907'], 'key2': [None]}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "upload.test_upload"
|
||||||
|
} ],
|
||||||
|
"uid" : "2f5e813f34afdf02067fd6c5958321ba"
|
||||||
|
} ]
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
"Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
|
||||||
|
"broken","Tue May 16 12:12:53 CST 2023","Tue May 16 12:12:53 CST 2023","181","test_cases.login","test_login","","","","登录接口",""
|
||||||
|
"passed","Tue May 16 12:12:53 CST 2023","Tue May 16 12:12:53 CST 2023","98","test_cases.tianqi","test_tianqi","","","","天气查询接口",""
|
||||||
|
"broken","Tue May 16 12:12:53 CST 2023","Tue May 16 12:12:53 CST 2023","87","test_cases.login","test_login","","","","登录接口",""
|
||||||
|
"broken","Tue May 16 12:12:54 CST 2023","Tue May 16 12:12:54 CST 2023","77","test_cases.upload","test_upload","","","","XXX接口",""
|
||||||
|
"broken","Tue May 16 12:12:53 CST 2023","Tue May 16 12:12:54 CST 2023","81","test_cases.upload","test_upload","","","","XXX接口",""
|
|
|
@ -0,0 +1,94 @@
|
||||||
|
{
|
||||||
|
"uid" : "98d3104e051c652961429bf95fa0b5d6",
|
||||||
|
"name" : "suites",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "test_cases.login",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "test_login",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"parentUid" : "b030e1870d045884113139e7ae9c9ee1",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'正确账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '{{phone_number()}}', 'password': 'xxxxxxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"parentUid" : "b030e1870d045884113139e7ae9c9ee1",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'错误账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '18900001000', 'password': 'xxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "b030e1870d045884113139e7ae9c9ee1"
|
||||||
|
} ],
|
||||||
|
"uid" : "be06e7acb033c4320beebed58918978b"
|
||||||
|
}, {
|
||||||
|
"name" : "test_cases.tianqi",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "test_tianqi",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "天气查询接口",
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"parentUid" : "de298036530eb370906e5f93decd060d",
|
||||||
|
"status" : "passed",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'查询上海天气'", "('https://open.xwdsp.com/phegda/advrest', 'POST')", "{'response': False}", "{'params': None, 'json': {'terminal': 'PC', 'apiVersion': '1.0.1', 'site': {'Siteid': 1015, 'siteName': 'waibu', 'qid': '04478', 'pageType': 'null', 'pageUrl': 'https://www.tianqi.com/shanghai/', 'newsType': 'null', 'keywords': '上海天气,上海天气预报,上海天气预报查询,上海今日天气,上海周末天气,上海一周天气预报,上海天气预报一周,天气预报查询一周,上海天气预报10天,上海天气预报查询15天,上海未来一周的天气预报,上海天气情况,上海40日天气预报,天气预报40天,上海30日天气预报,天气预报30天'}, 'device': {'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36', 'geo': {'country': '', 'city': ''}, 'dnt': 0, 'deviceType': 'PC', 'os': 'MACOS', 'osVersion': 'X', 'height': 1080, 'width': 1920}, 'user': {'userId': '16805156868205498'}, 'imp': [{'slotId': 102298, 'pageNum': '5', 'styleId': [1004]}], 'requestId': '16805156922345810'}, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "de298036530eb370906e5f93decd060d"
|
||||||
|
} ],
|
||||||
|
"uid" : "aea2e0738b410158785971d63ea495c4"
|
||||||
|
}, {
|
||||||
|
"name" : "test_cases.upload",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "test_upload",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"parentUid" : "db9da0765ef1b59d992804e981d226af",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': '13093193613', 'key2': None}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"parentUid" : "db9da0765ef1b59d992804e981d226af",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片2'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': ['5907'], 'key2': [None]}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "db9da0765ef1b59d992804e981d226af"
|
||||||
|
} ],
|
||||||
|
"uid" : "4cdaa9d2111df03ecacaf0b8ce206fb8"
|
||||||
|
} ]
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,297 @@
|
||||||
|
{
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"name" : "天气查询接口",
|
||||||
|
"fullName" : "test_cases.tianqi.test_tianqi#test_tianqi",
|
||||||
|
"historyId" : "d1af798efa19c84fa39d069bf7e78851",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"beforeStages" : [ {
|
||||||
|
"name" : "core",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373840,
|
||||||
|
"stop" : 1684210373840,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
}, {
|
||||||
|
"name" : "collection",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373820,
|
||||||
|
"stop" : 1684210373840,
|
||||||
|
"duration" : 20
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
}, {
|
||||||
|
"name" : "_session_faker",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373385,
|
||||||
|
"stop" : 1684210373409,
|
||||||
|
"duration" : 24
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
}, {
|
||||||
|
"name" : "alert_inputs",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373819,
|
||||||
|
"stop" : 1684210373819,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
} ],
|
||||||
|
"testStage" : {
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ {
|
||||||
|
"name" : "请求地址: https://open.xwdsp.com/phegda/advrest",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373938,
|
||||||
|
"stop" : 1684210373938,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
}, {
|
||||||
|
"name" : "请求方法: POST",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373938,
|
||||||
|
"stop" : 1684210373938,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
}, {
|
||||||
|
"name" : "请求头",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373938,
|
||||||
|
"stop" : 1684210373938,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ {
|
||||||
|
"uid" : "a4dcfb5bee04b414",
|
||||||
|
"name" : "请求头",
|
||||||
|
"source" : "a4dcfb5bee04b414.json",
|
||||||
|
"type" : "application/json",
|
||||||
|
"size" : 141
|
||||||
|
} ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 1,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : true
|
||||||
|
}, {
|
||||||
|
"name" : "请求数据",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373938,
|
||||||
|
"stop" : 1684210373938,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ {
|
||||||
|
"uid" : "2e3668e616c70605",
|
||||||
|
"name" : "请求数据",
|
||||||
|
"source" : "2e3668e616c70605.json",
|
||||||
|
"type" : "application/json",
|
||||||
|
"size" : 1282
|
||||||
|
} ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 1,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : true
|
||||||
|
}, {
|
||||||
|
"name" : "接口响应码: 400",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373938,
|
||||||
|
"stop" : 1684210373938,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
}, {
|
||||||
|
"name" : "响应耗时(ms): 96",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373938,
|
||||||
|
"stop" : 1684210373938,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
}, {
|
||||||
|
"name" : "响应数据",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373938,
|
||||||
|
"stop" : 1684210373938,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ {
|
||||||
|
"uid" : "d325371953032a35",
|
||||||
|
"name" : "响应数据",
|
||||||
|
"source" : "d325371953032a35.json",
|
||||||
|
"type" : "application/json",
|
||||||
|
"size" : 54
|
||||||
|
} ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 1,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : true
|
||||||
|
} ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 7,
|
||||||
|
"attachmentsCount" : 3,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : true
|
||||||
|
},
|
||||||
|
"afterStages" : [ {
|
||||||
|
"name" : "core::0",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373939,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
}, {
|
||||||
|
"name" : "collection::0",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373939,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 0
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"steps" : [ ],
|
||||||
|
"attachments" : [ ],
|
||||||
|
"parameters" : [ ],
|
||||||
|
"stepsCount" : 0,
|
||||||
|
"attachmentsCount" : 0,
|
||||||
|
"shouldDisplayMessage" : false,
|
||||||
|
"hasContent" : false
|
||||||
|
} ],
|
||||||
|
"labels" : [ {
|
||||||
|
"name" : "feature",
|
||||||
|
"value" : "天气模块"
|
||||||
|
}, {
|
||||||
|
"name" : "tag",
|
||||||
|
"value" : "datafile('test_data/tianqi/test_tianqi.yml')"
|
||||||
|
}, {
|
||||||
|
"name" : "tag",
|
||||||
|
"value" : "tianqi"
|
||||||
|
}, {
|
||||||
|
"name" : "parentSuite",
|
||||||
|
"value" : "test_cases.tianqi"
|
||||||
|
}, {
|
||||||
|
"name" : "suite",
|
||||||
|
"value" : "test_tianqi"
|
||||||
|
}, {
|
||||||
|
"name" : "host",
|
||||||
|
"value" : "tanlinhaideMacBook-Pro.local"
|
||||||
|
}, {
|
||||||
|
"name" : "thread",
|
||||||
|
"value" : "74275-MainThread"
|
||||||
|
}, {
|
||||||
|
"name" : "framework",
|
||||||
|
"value" : "pytest"
|
||||||
|
}, {
|
||||||
|
"name" : "language",
|
||||||
|
"value" : "cpython3"
|
||||||
|
}, {
|
||||||
|
"name" : "package",
|
||||||
|
"value" : "test_cases.tianqi.test_tianqi"
|
||||||
|
}, {
|
||||||
|
"name" : "resultFormat",
|
||||||
|
"value" : "allure2"
|
||||||
|
} ],
|
||||||
|
"parameters" : [ {
|
||||||
|
"name" : "case",
|
||||||
|
"value" : "'查询上海天气'"
|
||||||
|
}, {
|
||||||
|
"name" : "env",
|
||||||
|
"value" : "('https://open.xwdsp.com/phegda/advrest', 'POST')"
|
||||||
|
}, {
|
||||||
|
"name" : "expectation",
|
||||||
|
"value" : "{'response': False}"
|
||||||
|
}, {
|
||||||
|
"name" : "inputs",
|
||||||
|
"value" : "{'params': None, 'json': {'terminal': 'PC', 'apiVersion': '1.0.1', 'site': {'Siteid': 1015, 'siteName': 'waibu', 'qid': '04478', 'pageType': 'null', 'pageUrl': 'https://www.tianqi.com/shanghai/', 'newsType': 'null', 'keywords': '上海天气,上海天气预报,上海天气预报查询,上海今日天气,上海周末天气,上海一周天气预报,上海天气预报一周,天气预报查询一周,上海天气预报10天,上海天气预报查询15天,上海未来一周的天气预报,上海天气情况,上海40日天气预报,天气预报40天,上海30日天气预报,天气预报30天'}, 'device': {'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36', 'geo': {'country': '', 'city': ''}, 'dnt': 0, 'deviceType': 'PC', 'os': 'MACOS', 'osVersion': 'X', 'height': 1080, 'width': 1920}, 'user': {'userId': '16805156868205498'}, 'imp': [{'slotId': 102298, 'pageNum': '5', 'styleId': [1004]}], 'requestId': '16805156922345810'}, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}"
|
||||||
|
} ],
|
||||||
|
"links" : [ ],
|
||||||
|
"hidden" : false,
|
||||||
|
"retry" : false,
|
||||||
|
"extra" : {
|
||||||
|
"severity" : "normal",
|
||||||
|
"retries" : [ ],
|
||||||
|
"categories" : [ ],
|
||||||
|
"tags" : [ "datafile('test_data/tianqi/test_tianqi.yml')", "tianqi" ]
|
||||||
|
},
|
||||||
|
"source" : "96ca70174d36ce01.json",
|
||||||
|
"parameterValues" : [ "'查询上海天气'", "('https://open.xwdsp.com/phegda/advrest', 'POST')", "{'response': False}", "{'params': None, 'json': {'terminal': 'PC', 'apiVersion': '1.0.1', 'site': {'Siteid': 1015, 'siteName': 'waibu', 'qid': '04478', 'pageType': 'null', 'pageUrl': 'https://www.tianqi.com/shanghai/', 'newsType': 'null', 'keywords': '上海天气,上海天气预报,上海天气预报查询,上海今日天气,上海周末天气,上海一周天气预报,上海天气预报一周,天气预报查询一周,上海天气预报10天,上海天气预报查询15天,上海未来一周的天气预报,上海天气情况,上海40日天气预报,天气预报40天,上海30日天气预报,天气预报30天'}, 'device': {'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36', 'geo': {'country': '', 'city': ''}, 'dnt': 0, 'deviceType': 'PC', 'os': 'MACOS', 'osVersion': 'X', 'height': 1080, 'width': 1920}, 'user': {'userId': '16805156868205498'}, 'imp': [{'slotId': 102298, 'pageNum': '5', 'styleId': [1004]}], 'requestId': '16805156922345810'}, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,78 @@
|
||||||
|
{
|
||||||
|
"uid" : "ab17fc5a4eb3bca4b216b548c7f9fcbc",
|
||||||
|
"name" : "timeline",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "tanlinhaideMacBook-Pro.local",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "74275-MainThread",
|
||||||
|
"children" : [ {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"parentUid" : "b020bd5fbf09a12bf3063b8fcc677965",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'正确账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '{{phone_number()}}', 'password': 'xxxxxxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "登录接口",
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"parentUid" : "b020bd5fbf09a12bf3063b8fcc677965",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'错误账号、密码登录'", "('https://open.xwdsp.com/login', 'POST')", "{'response': True}", "{'params': {'account': '18900001000', 'password': 'xxxxxx'}, 'json': None, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"parentUid" : "b020bd5fbf09a12bf3063b8fcc677965",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片2'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': ['5907'], 'key2': [None]}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"parentUid" : "b020bd5fbf09a12bf3063b8fcc677965",
|
||||||
|
"status" : "broken",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'更换照片'", "('https://open.xwdsp.com/upload', 'POST')", "{'response': True}", "{'params': {}, 'json': {'key': '13093193613', 'key2': None}, 'file': {'file': ('upload.xlsx', <_io.BufferedReader name='/Users/tanlinhai/PythonProjects/t2-api-autotest/files/upload.xlsx'>, 'application/json')}, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
}, {
|
||||||
|
"name" : "天气查询接口",
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"parentUid" : "b020bd5fbf09a12bf3063b8fcc677965",
|
||||||
|
"status" : "passed",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
},
|
||||||
|
"flaky" : false,
|
||||||
|
"newFailed" : false,
|
||||||
|
"parameters" : [ "'查询上海天气'", "('https://open.xwdsp.com/phegda/advrest', 'POST')", "{'response': False}", "{'params': None, 'json': {'terminal': 'PC', 'apiVersion': '1.0.1', 'site': {'Siteid': 1015, 'siteName': 'waibu', 'qid': '04478', 'pageType': 'null', 'pageUrl': 'https://www.tianqi.com/shanghai/', 'newsType': 'null', 'keywords': '上海天气,上海天气预报,上海天气预报查询,上海今日天气,上海周末天气,上海一周天气预报,上海天气预报一周,天气预报查询一周,上海天气预报10天,上海天气预报查询15天,上海未来一周的天气预报,上海天气情况,上海40日天气预报,天气预报40天,上海30日天气预报,天气预报30天'}, 'device': {'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36', 'geo': {'country': '', 'city': ''}, 'dnt': 0, 'deviceType': 'PC', 'os': 'MACOS', 'osVersion': 'X', 'height': 1080, 'width': 1920}, 'user': {'userId': '16805156868205498'}, 'imp': [{'slotId': 102298, 'pageNum': '5', 'styleId': [1004]}], 'requestId': '16805156922345810'}, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}" ]
|
||||||
|
} ],
|
||||||
|
"uid" : "b020bd5fbf09a12bf3063b8fcc677965"
|
||||||
|
} ],
|
||||||
|
"uid" : "6c858be5dd5360d91c6e05818d36daac"
|
||||||
|
} ]
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
launch_status failed=0 1684210374000000000
|
||||||
|
launch_status broken=4 1684210374000000000
|
||||||
|
launch_status passed=1 1684210374000000000
|
||||||
|
launch_status skipped=0 1684210374000000000
|
||||||
|
launch_status unknown=0 1684210374000000000
|
||||||
|
launch_time duration=685 1684210374000000000
|
||||||
|
launch_time min_duration=77 1684210374000000000
|
||||||
|
launch_time max_duration=181 1684210374000000000
|
||||||
|
launch_time sum_duration=524 1684210374000000000
|
||||||
|
launch_problems test_defects=4 1684210374000000000
|
||||||
|
launch_retries retries=0 1684210374000000000
|
||||||
|
launch_retries run=5 1684210374000000000
|
|
@ -0,0 +1,10 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Allure Report summary mail</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
Mail body
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,12 @@
|
||||||
|
launch_status_failed 0
|
||||||
|
launch_status_broken 4
|
||||||
|
launch_status_passed 1
|
||||||
|
launch_status_skipped 0
|
||||||
|
launch_status_unknown 0
|
||||||
|
launch_time_duration 685
|
||||||
|
launch_time_min_duration 77
|
||||||
|
launch_time_max_duration 181
|
||||||
|
launch_time_sum_duration 524
|
||||||
|
launch_problems_test_defects 4
|
||||||
|
launch_retries_retries 0
|
||||||
|
launch_retries_run 5
|
|
@ -0,0 +1 @@
|
||||||
|
module.exports = __webpack_public_path__ + "favicon.ico";
|
|
@ -0,0 +1,5 @@
|
||||||
|
[ {
|
||||||
|
"data" : {
|
||||||
|
"Test defects" : 4
|
||||||
|
}
|
||||||
|
} ]
|
|
@ -0,0 +1,5 @@
|
||||||
|
[ {
|
||||||
|
"data" : {
|
||||||
|
"duration" : 685
|
||||||
|
}
|
||||||
|
} ]
|
|
@ -0,0 +1,10 @@
|
||||||
|
[ {
|
||||||
|
"data" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 4,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 1,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 5
|
||||||
|
}
|
||||||
|
} ]
|
|
@ -0,0 +1,101 @@
|
||||||
|
{
|
||||||
|
"45017f218af2cc32028423e3cf6d6559" : {
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 1,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 1
|
||||||
|
},
|
||||||
|
"items" : [ {
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"status" : "broken",
|
||||||
|
"statusDetails" : "requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
},
|
||||||
|
"d1af798efa19c84fa39d069bf7e78851" : {
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 0,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 1,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 1
|
||||||
|
},
|
||||||
|
"items" : [ {
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"status" : "passed",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
},
|
||||||
|
"7e688e732384109d53a71dc072b0ebd8" : {
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 1,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 1
|
||||||
|
},
|
||||||
|
"items" : [ {
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"status" : "broken",
|
||||||
|
"statusDetails" : "requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
},
|
||||||
|
"b59e4ce69adad5cfed19159ac62df6d2" : {
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 1,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 1
|
||||||
|
},
|
||||||
|
"items" : [ {
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"status" : "broken",
|
||||||
|
"statusDetails" : "requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
},
|
||||||
|
"a8a7cef51f571c424a0d0d7c9f421ce7" : {
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 1,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 1
|
||||||
|
},
|
||||||
|
"items" : [ {
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"status" : "broken",
|
||||||
|
"statusDetails" : "requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
[ {
|
||||||
|
"data" : {
|
||||||
|
"run" : 5,
|
||||||
|
"retry" : 0
|
||||||
|
}
|
||||||
|
} ]
|
|
@ -0,0 +1,24 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html dir="ltr">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Allure Report</title>
|
||||||
|
<link rel="favicon" href="favicon.ico?v=2">
|
||||||
|
<link rel="stylesheet" href="styles.css">
|
||||||
|
<link rel="stylesheet" href="plugins/screen-diff/styles.css">
|
||||||
|
<link rel="stylesheet" href="plugins/custom-logo/styles.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="alert"></div>
|
||||||
|
<div id="content">
|
||||||
|
<span class="spinner">
|
||||||
|
<span class="spinner__circle"></span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div id="popup"></div>
|
||||||
|
<script src="app.js"></script>
|
||||||
|
<script src="plugins/behaviors/index.js"></script>
|
||||||
|
<script src="plugins/packages/index.js"></script>
|
||||||
|
<script src="plugins/screen-diff/index.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,150 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
allure.api.addTranslation('en', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Behaviors'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Features by stories',
|
||||||
|
showAll: 'show all'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('ru', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Функциональность'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Функциональность',
|
||||||
|
showAll: 'показать все'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('zh', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: '功能'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: '特性场景',
|
||||||
|
showAll: '显示所有'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('de', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Verhalten'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Features nach Stories',
|
||||||
|
showAll: 'Zeige alle'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('he', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'התנהגויות'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'תכונות לפי סיפורי משתמש',
|
||||||
|
showAll: 'הצג הכול'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('br', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Comportamentos'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Funcionalidades por história',
|
||||||
|
showAll: 'Mostrar tudo'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('ja', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: '振る舞い'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'ストーリー別の機能',
|
||||||
|
showAll: '全て表示'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('es', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Funcionalidades'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: 'Funcionalidades por Historias de Usuario',
|
||||||
|
showAll: 'mostrar todo'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('kr', {
|
||||||
|
tab: {
|
||||||
|
behaviors: {
|
||||||
|
name: '동작'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
widget: {
|
||||||
|
behaviors: {
|
||||||
|
name: '스토리별 기능',
|
||||||
|
showAll: '전체 보기'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTab('behaviors', {
|
||||||
|
title: 'tab.behaviors.name', icon: 'fa fa-list',
|
||||||
|
route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
|
||||||
|
onEnter: (function (testGroup, testResult, testResultTab) {
|
||||||
|
return new allure.components.TreeLayout({
|
||||||
|
testGroup: testGroup,
|
||||||
|
testResult: testResult,
|
||||||
|
testResultTab: testResultTab,
|
||||||
|
tabName: 'tab.behaviors.name',
|
||||||
|
baseUrl: 'behaviors',
|
||||||
|
url: 'data/behaviors.json',
|
||||||
|
csvUrl: 'data/behaviors.csv'
|
||||||
|
});
|
||||||
|
})
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
|
||||||
|
rowTag: 'a',
|
||||||
|
title: 'widget.behaviors.name',
|
||||||
|
baseUrl: 'behaviors',
|
||||||
|
showLinks: true
|
||||||
|
}));
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 128 128" version="1.1" viewBox="0 0 128 128" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Layer_1"><rect fill="#F4F5F5" height="1520" opacity="0" width="727.938" x="-59.984" y="-351"/></g><g id="Layer_2"><g><circle cx="64" cy="64" fill="#6E9583" r="64"/><g><defs><circle cx="64" cy="64" id="SVGID_3_" r="64"/></defs><clipPath id="SVGID_2_"><use overflow="visible" xlink:href="#SVGID_3_"/></clipPath><polygon clip-path="url(#SVGID_2_)" fill="#648778" points="93.572,29.677 128,64 128,128 54.36,128 33.341,106.906 "/></g><path d="M84.044,20H36.018C33.579,20,32,22.11,32,24.549v78.903c0,2.439,1.579,4.549,4.018,4.549h55.989 c2.439,0,4.018-2.11,4.018-4.549V32.143L84.044,20z" fill="#F1F1F1"/><g><defs><path d="M84.044,20H36.018C33.579,20,32,22.11,32,24.549v78.903c0,2.439,1.579,4.549,4.018,4.549h55.989 c2.439,0,4.018-2.11,4.018-4.549V32.143L84.044,20z" id="SVGID_5_"/></defs><clipPath id="SVGID_4_"><use overflow="visible" xlink:href="#SVGID_5_"/></clipPath><g clip-path="url(#SVGID_4_)"><polygon fill="#DDE1F1" points="50.948,67.621 65.539,82.042 42.971,83.087 49.777,90 42.971,91.087 49.277,97.555 42.971,99.087 53.027,109.305 97.684,109.305 97.684,75.707 97.075,54.055 81.059,37.758 70.97,44.918 62.684,35.107 "/></g></g><path d="M88.186,32.138l7.839,0.005L84.044,20v7.96C84.044,30.398,85.769,32.138,88.186,32.138z" fill="#C2DFC9"/><path d="M84,83.5H44c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h40c0.828,0,1.5,0.672,1.5,1.5 S84.828,83.5,84,83.5z" fill="#495260"/><path d="M84,91.5H44c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h40c0.828,0,1.5,0.672,1.5,1.5 S84.828,91.5,84,91.5z" fill="#495260"/><path d="M84,99.5H44c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h40c0.828,0,1.5,0.672,1.5,1.5 S84.828,99.5,84,99.5z" fill="#495260"/><g><path d="M69.568,31.844l-1.319,11.303c2.314,0.88,4.242,2.728,5.132,5.245c0.573,1.619,0.631,3.292,0.274,4.851 l10.257,4.895c0.527,0.252,1.155-0.023,1.329-0.581c1.308-4.188,1.323-8.819-0.253-13.273 c-2.379-6.723-7.827-11.477-14.212-13.254C70.21,30.872,69.636,31.26,69.568,31.844z" fill="#0E9CD9"/><path d="M66.68,59.901c-3.653,0.668-7.398-1.12-9.176-4.38c-1.094-2.006-1.312-4.174-0.858-6.157L46.39,44.469 c-0.527-0.251-1.155,0.023-1.329,0.58c-1.286,4.118-1.322,8.663,0.175,13.049c3.701,10.842,15.624,16.783,26.503,13.191 c4.655-1.537,8.399-4.531,10.911-8.3c0.324-0.486,0.141-1.147-0.385-1.398l-10.257-4.896 C70.751,58.296,68.929,59.49,66.68,59.901z" fill="#E95037"/><path d="M62.239,43.074c0.734-0.26,1.479-0.405,2.22-0.464l1.316-11.275c0.067-0.576-0.389-1.08-0.968-1.071 c-2.218,0.035-4.469,0.421-6.676,1.202c-4.455,1.576-8.045,4.5-10.479,8.151c-0.324,0.486-0.142,1.147,0.385,1.399l10.257,4.895 C59.282,44.654,60.62,43.647,62.239,43.074z" fill="#69B32D"/><g><defs><path d="M69.695,30.76l-1.446,12.387c2.314,0.88,4.242,2.728,5.132,5.245c0.573,1.619,0.631,3.292,0.274,4.851 l10.257,4.895c0.527,0.252,1.155-0.023,1.329-0.581c1.308-4.188,1.323-8.819-0.253-13.273 C82.476,37.185,76.541,32.281,69.695,30.76z M66.68,59.901c-3.653,0.668-7.398-1.12-9.176-4.38 c-1.094-2.006-1.312-4.174-0.858-6.157L46.39,44.469c-0.527-0.251-1.155,0.023-1.329,0.58 c-1.286,4.118-1.322,8.663,0.175,13.049c3.701,10.842,15.624,16.783,26.503,13.191c4.655-1.537,8.399-4.531,10.911-8.3 c0.324-0.486,0.141-1.147-0.385-1.398l-10.257-4.896C70.751,58.296,68.929,59.49,66.68,59.901z M62.239,43.074 c0.734-0.26,1.479-0.405,2.22-0.464l1.316-11.275c0.067-0.576-0.389-1.08-0.968-1.071c-2.218,0.035-4.469,0.421-6.676,1.202 c-4.455,1.576-8.045,4.5-10.479,8.151c-0.324,0.486-0.142,1.147,0.385,1.399l10.257,4.895 C59.282,44.654,60.62,43.647,62.239,43.074z" id="SVGID_7_"/></defs><clipPath id="SVGID_6_"><use overflow="visible" xlink:href="#SVGID_7_"/></clipPath><circle clip-path="url(#SVGID_6_)" cx="65.151" cy="51.304" fill="#FFFFFF" opacity="0.4" r="12.507"/></g></g></g></g></svg>
|
After Width: | Height: | Size: 4.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
|
@ -0,0 +1,15 @@
|
||||||
|
.side-nav__brand {
|
||||||
|
background: url('huomiao.png') no-repeat left center !important;
|
||||||
|
margin-left: 10px;
|
||||||
|
height: 40px;
|
||||||
|
background-size: contain !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.side-nav__brand span{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.side-nav__brand:after{
|
||||||
|
content: "测试报告";
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
|
@ -0,0 +1,88 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
allure.api.addTranslation('en', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: 'Packages'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('ru', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: 'Пакеты'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('zh', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: '包'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('de', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: 'Pakete'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('he', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: 'חבילות'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('br', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: 'Pacotes'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('ja', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: 'パッケージ'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('es', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: 'Paquetes'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTranslation('kr', {
|
||||||
|
tab: {
|
||||||
|
packages: {
|
||||||
|
name: '패키지'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
allure.api.addTab('packages', {
|
||||||
|
title: 'tab.packages.name', icon: 'fa fa-align-left',
|
||||||
|
route: 'packages(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
|
||||||
|
onEnter: (function (testGroup, testResult, testResultTab) {
|
||||||
|
return new allure.components.TreeLayout({
|
||||||
|
testGroup: testGroup,
|
||||||
|
testResult: testResult,
|
||||||
|
testResultTab: testResultTab,
|
||||||
|
tabName: 'tab.packages.name',
|
||||||
|
baseUrl: 'packages',
|
||||||
|
url: 'data/packages.json'
|
||||||
|
});
|
||||||
|
})
|
||||||
|
});
|
|
@ -0,0 +1,97 @@
|
||||||
|
(function () {
|
||||||
|
var settings = allure.getPluginSettings('screen-diff', {diffType: 'diff'});
|
||||||
|
|
||||||
|
function renderImage(src) {
|
||||||
|
return '<div class="screen-diff__container">' +
|
||||||
|
'<img class="screen-diff__image" src="data/attachments/' + src + '">' +
|
||||||
|
'</div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
function renderDiffContent(type, data) {
|
||||||
|
function findImage(name) {
|
||||||
|
if (data.testStage && data.testStage.attachments) {
|
||||||
|
return data.testStage.attachments.filter(function (attachment) {
|
||||||
|
return attachment.name === name;
|
||||||
|
})[0];
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
var diffImage = findImage('diff');
|
||||||
|
var actualImage = findImage('actual');
|
||||||
|
var expectedImage = findImage('expected');
|
||||||
|
|
||||||
|
if (!diffImage && !actualImage && !expectedImage) {
|
||||||
|
return '<span>Diff, actual and expected image have not been provided.</span>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (type === 'diff') {
|
||||||
|
if (!diffImage) {
|
||||||
|
return renderImage(actualImage.source);
|
||||||
|
}
|
||||||
|
return renderImage(diffImage.source);
|
||||||
|
}
|
||||||
|
if (type === 'overlay') {
|
||||||
|
return '<div class="screen-diff__overlay screen-diff__container">' +
|
||||||
|
'<img class="screen-diff__image" src="data/attachments/' + expectedImage.source + '">' +
|
||||||
|
'<div class="screen-diff__image-over">' +
|
||||||
|
'<img class="screen-diff__image" src="data/attachments/' + actualImage.source + '">' +
|
||||||
|
'</div>' +
|
||||||
|
'</div>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var ScreenDiffView = Backbone.Marionette.View.extend({
|
||||||
|
className: 'pane__section',
|
||||||
|
events: {
|
||||||
|
'click [name="screen-diff-type"]': 'onDiffTypeChange',
|
||||||
|
'mousemove .screen-diff__overlay': 'onOverlayMove'
|
||||||
|
},
|
||||||
|
templateContext: function () {
|
||||||
|
return {
|
||||||
|
diffType: settings.get('diffType')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
template: function (data) {
|
||||||
|
var testType = data.labels.filter(function (label) {
|
||||||
|
return label.name === 'testType'
|
||||||
|
})[0];
|
||||||
|
|
||||||
|
if (!testType || testType.value !== 'screenshotDiff') {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return '<h3 class="pane__section-title">Screen Diff</h3>' +
|
||||||
|
'<div class="screen-diff__content">' +
|
||||||
|
'<div class="screen-diff__switchers">' +
|
||||||
|
'<label><input type="radio" name="screen-diff-type" value="diff"> Show diff</label>' +
|
||||||
|
'<label><input type="radio" name="screen-diff-type" value="overlay"> Show overlay</label>' +
|
||||||
|
'</div>' +
|
||||||
|
renderDiffContent(data.diffType, data) +
|
||||||
|
'</div>';
|
||||||
|
},
|
||||||
|
adjustImageSize: function (event) {
|
||||||
|
var overImage = this.$(event.target);
|
||||||
|
overImage.width(overImage.width());
|
||||||
|
},
|
||||||
|
onRender: function () {
|
||||||
|
const diffType = settings.get('diffType');
|
||||||
|
this.$('[name="screen-diff-type"][value="' + diffType + '"]').prop('checked', true);
|
||||||
|
if (diffType === 'overlay') {
|
||||||
|
this.$('.screen-diff__image-over img').on('load', this.adjustImageSize.bind(this));
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onOverlayMove: function (event) {
|
||||||
|
var pageX = event.pageX;
|
||||||
|
var containerScroll = this.$('.screen-diff__container').scrollLeft();
|
||||||
|
var elementX = event.currentTarget.getBoundingClientRect().left;
|
||||||
|
var delta = pageX - elementX + containerScroll;
|
||||||
|
this.$('.screen-diff__image-over').width(delta);
|
||||||
|
},
|
||||||
|
onDiffTypeChange: function (event) {
|
||||||
|
settings.save('diffType', event.target.value);
|
||||||
|
this.render();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
allure.api.addTestResultBlock(ScreenDiffView, {position: 'before'});
|
||||||
|
})();
|
|
@ -0,0 +1,26 @@
|
||||||
|
.screen-diff__switchers {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-diff__switchers label + label {
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-diff__overlay {
|
||||||
|
position: relative;
|
||||||
|
cursor: col-resize;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-diff__container {
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-diff__image-over {
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background: #fff;
|
||||||
|
position: absolute;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 2px 0 1px -1px #aaa;
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
"total" : 4,
|
||||||
|
"items" : [ {
|
||||||
|
"uid" : "6b74c42bd09fef0af9d6be3f5241dc88",
|
||||||
|
"name" : "login",
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 2,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 2
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"uid" : "6958045a481574bf02bb11ef07a7047b",
|
||||||
|
"name" : "登录模块",
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 2,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 2
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"uid" : "232e7415fa1754c78f653ccc5de21f66",
|
||||||
|
"name" : "XXX模块",
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 2,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 2
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"uid" : "5eb95b7614527884cdc65b63293dc287",
|
||||||
|
"name" : "天气模块",
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 0,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 1,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 1
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
[ {
|
||||||
|
"data" : {
|
||||||
|
"Test defects" : 4
|
||||||
|
}
|
||||||
|
} ]
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"total" : 1,
|
||||||
|
"items" : [ {
|
||||||
|
"uid" : "bdbf199525818fae7a8651db9eafe741",
|
||||||
|
"name" : "Test defects",
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 4,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 4
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
[ {
|
||||||
|
"data" : {
|
||||||
|
"duration" : 685
|
||||||
|
}
|
||||||
|
} ]
|
|
@ -0,0 +1,51 @@
|
||||||
|
[ {
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"name" : "登录接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"name" : "天气查询接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"name" : "登录接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
} ]
|
|
@ -0,0 +1 @@
|
||||||
|
[ ]
|
|
@ -0,0 +1 @@
|
||||||
|
[ ]
|
|
@ -0,0 +1,10 @@
|
||||||
|
[ {
|
||||||
|
"data" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 4,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 1,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 5
|
||||||
|
}
|
||||||
|
} ]
|
|
@ -0,0 +1 @@
|
||||||
|
[ ]
|
|
@ -0,0 +1,6 @@
|
||||||
|
[ {
|
||||||
|
"data" : {
|
||||||
|
"run" : 5,
|
||||||
|
"retry" : 0
|
||||||
|
}
|
||||||
|
} ]
|
|
@ -0,0 +1,51 @@
|
||||||
|
[ {
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"name" : "登录接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"name" : "天气查询接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"name" : "登录接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
} ]
|
|
@ -0,0 +1,51 @@
|
||||||
|
[ {
|
||||||
|
"uid" : "5dc4c5bc8c0c5b7a",
|
||||||
|
"name" : "登录接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210373660,
|
||||||
|
"duration" : 181
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "96ca70174d36ce01",
|
||||||
|
"name" : "天气查询接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373841,
|
||||||
|
"stop" : 1684210373939,
|
||||||
|
"duration" : 98
|
||||||
|
},
|
||||||
|
"status" : "passed",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "1e9fc00aaa59b1a7",
|
||||||
|
"name" : "登录接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373716,
|
||||||
|
"stop" : 1684210373803,
|
||||||
|
"duration" : 87
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "dbce066112f29f69",
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210374087,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 77
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
}, {
|
||||||
|
"uid" : "4f2c2456d280c85f",
|
||||||
|
"name" : "XXX接口",
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373968,
|
||||||
|
"stop" : 1684210374049,
|
||||||
|
"duration" : 81
|
||||||
|
},
|
||||||
|
"status" : "broken",
|
||||||
|
"severity" : "normal"
|
||||||
|
} ]
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"total" : 3,
|
||||||
|
"items" : [ {
|
||||||
|
"uid" : "be06e7acb033c4320beebed58918978b",
|
||||||
|
"name" : "test_cases.login",
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 2,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 2
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"uid" : "4cdaa9d2111df03ecacaf0b8ce206fb8",
|
||||||
|
"name" : "test_cases.upload",
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 2,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 0,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 2
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"uid" : "aea2e0738b410158785971d63ea495c4",
|
||||||
|
"name" : "test_cases.tianqi",
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 0,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 1,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 1
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"reportName" : "Allure Report",
|
||||||
|
"testRuns" : [ ],
|
||||||
|
"statistic" : {
|
||||||
|
"failed" : 0,
|
||||||
|
"broken" : 4,
|
||||||
|
"skipped" : 0,
|
||||||
|
"passed" : 1,
|
||||||
|
"unknown" : 0,
|
||||||
|
"total" : 5
|
||||||
|
},
|
||||||
|
"time" : {
|
||||||
|
"start" : 1684210373479,
|
||||||
|
"stop" : 1684210374164,
|
||||||
|
"duration" : 685,
|
||||||
|
"minDuration" : 77,
|
||||||
|
"maxDuration" : 181,
|
||||||
|
"sumDuration" : 524
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
404
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"account": "{{phone_number()}}",
|
||||||
|
"password": "xxxxxxxxxx"
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "72f9741c-e036-49bd-abfb-c0e24478ed41", "children": ["766d7e3d-c5ab-4afd-a346-9a020b46b81b"], "befores": [{"name": "alert_inputs", "status": "passed", "start": 1684210374063, "stop": 1684210374063}], "start": 1684210374063, "stop": 1684210374178}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "b3d4d857-88f8-4427-bf95-634a80b1da6d", "befores": [{"name": "env", "status": "passed", "start": 1684210373479, "stop": 1684210373479}], "start": 1684210373479, "stop": 1684210373694}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"key": "13093193613",
|
||||||
|
"key2": null
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "d76d770b-aec0-48ad-9094-34ca1e90e57e", "befores": [{"name": "case", "status": "passed", "start": 1684210373479, "stop": 1684210373479}], "start": 1684210373479, "stop": 1684210373694}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"account": "18900001000",
|
||||||
|
"password": "xxxxxx"
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "234876f0-29a6-4abf-b685-e7d0f83a39f4", "befores": [{"name": "inputs", "status": "passed", "start": 1684210373819, "stop": 1684210373819}], "start": 1684210373819, "stop": 1684210373940}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "08cc5f24-9f58-4ee9-8e88-1e993c558d7f", "befores": [{"name": "expectation", "status": "passed", "start": 1684210373716, "stop": 1684210373716}], "start": 1684210373716, "stop": 1684210373817}
|
|
@ -0,0 +1 @@
|
||||||
|
404
|
|
@ -0,0 +1 @@
|
||||||
|
{"name": "天气查询接口", "status": "passed", "steps": [{"name": "请求地址: https://open.xwdsp.com/phegda/advrest", "status": "passed", "start": 1684210373938, "stop": 1684210373938}, {"name": "请求方法: POST", "status": "passed", "start": 1684210373938, "stop": 1684210373938}, {"name": "请求头", "status": "passed", "attachments": [{"name": "请求头", "source": "f7723939-9d6b-48d0-a2ec-7073555368e8-attachment.json", "type": "application/json"}], "start": 1684210373938, "stop": 1684210373938}, {"name": "请求数据", "status": "passed", "attachments": [{"name": "请求数据", "source": "e52aeb46-5662-45b4-ba99-d7650f94136f-attachment.json", "type": "application/json"}], "start": 1684210373938, "stop": 1684210373938}, {"name": "接口响应码: 400", "status": "passed", "start": 1684210373938, "stop": 1684210373938}, {"name": "响应耗时(ms): 96", "status": "passed", "start": 1684210373938, "stop": 1684210373938}, {"name": "响应数据", "status": "passed", "attachments": [{"name": "响应数据", "source": "60b39416-5e26-44ed-b2b2-f02e8f7c8cde-attachment.json", "type": "application/json"}], "start": 1684210373938, "stop": 1684210373938}], "parameters": [{"name": "env", "value": "('https://open.xwdsp.com/phegda/advrest', 'POST')"}, {"name": "case", "value": "'查询上海天气'"}, {"name": "inputs", "value": "{'params': None, 'json': {'terminal': 'PC', 'apiVersion': '1.0.1', 'site': {'Siteid': 1015, 'siteName': 'waibu', 'qid': '04478', 'pageType': 'null', 'pageUrl': 'https://www.tianqi.com/shanghai/', 'newsType': 'null', 'keywords': '上海天气,上海天气预报,上海天气预报查询,上海今日天气,上海周末天气,上海一周天气预报,上海天气预报一周,天气预报查询一周,上海天气预报10天,上海天气预报查询15天,上海未来一周的天气预报,上海天气情况,上海40日天气预报,天气预报40天,上海30日天气预报,天气预报30天'}, 'device': {'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36', 'geo': {'country': '', 'city': ''}, 'dnt': 0, 'deviceType': 'PC', 'os': 'MACOS', 'osVersion': 'X', 'height': 1080, 'width': 1920}, 'user': {'userId': '16805156868205498'}, 'imp': [{'slotId': 102298, 'pageNum': '5', 'styleId': [1004]}], 'requestId': '16805156922345810'}, 'file': None, 'sql': None, 'assert_key': '$..success', 'assert_way': 'unequal'}"}, {"name": "expectation", "value": "{'response': False}"}], "start": 1684210373841, "stop": 1684210373939, "uuid": "84bf77da-5559-47ca-9ebb-4bdc36d0323f", "historyId": "d1af798efa19c84fa39d069bf7e78851", "testCaseId": "863b3eed492339f5825a27aeb5b58f04", "fullName": "test_cases.tianqi.test_tianqi#test_tianqi", "labels": [{"name": "feature", "value": "天气模块"}, {"name": "tag", "value": "datafile('test_data/tianqi/test_tianqi.yml')"}, {"name": "tag", "value": "tianqi"}, {"name": "parentSuite", "value": "test_cases.tianqi"}, {"name": "suite", "value": "test_tianqi"}, {"name": "host", "value": "tanlinhaideMacBook-Pro.local"}, {"name": "thread", "value": "74275-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_cases.tianqi.test_tianqi"}]}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "3b4391c4-2442-4f59-b666-8fbb4bb8b03e", "befores": [{"name": "expectation", "status": "passed", "start": 1684210373968, "stop": 1684210373968}], "start": 1684210373968, "stop": 1684210374061}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "79647efb-3080-494e-9067-94c9941f54b2", "children": ["c43228c2-3502-4cb3-84f6-d3772db95551"], "befores": [{"name": "alert_inputs", "status": "passed", "start": 1684210373695, "stop": 1684210373696}], "start": 1684210373695, "stop": 1684210373818}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "37046375-e4eb-4609-b3d1-8e046d071302", "befores": [{"name": "inputs", "status": "passed", "start": 1684210373941, "stop": 1684210373941}], "start": 1684210373941, "stop": 1684210374062}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "d8b73b9f-372e-42d2-8cee-8fe32ee7773b", "children": ["766d7e3d-c5ab-4afd-a346-9a020b46b81b"], "befores": [{"name": "collection", "status": "passed", "start": 1684210374064, "stop": 1684210374087}], "afters": [{"name": "collection::0", "status": "passed", "start": 1684210374178, "stop": 1684210374178}], "start": 1684210374064, "stop": 1684210374178}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "2bc48952-e4b1-4d3c-9d27-12e661074800", "befores": [{"name": "inputs", "status": "passed", "start": 1684210374063, "stop": 1684210374063}], "start": 1684210374063, "stop": 1684210374178}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "d2043ddd-9627-4df6-a0b9-45e204ff90e8", "children": ["e856a4e5-8346-408c-97e6-f60eb74916f7"], "befores": [{"name": "core", "status": "passed", "start": 1684210373479, "stop": 1684210373479}], "afters": [{"name": "core::0", "status": "passed", "start": 1684210373694, "stop": 1684210373694}], "start": 1684210373479, "stop": 1684210373694}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "6208fabe-2f24-4b97-86fe-3b7f5a2d94f4", "befores": [{"name": "case", "status": "passed", "start": 1684210374087, "stop": 1684210374087}], "start": 1684210374087, "stop": 1684210374178}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "c3fb8c88-b65d-429b-83f5-399d5d1f9005", "children": ["84bf77da-5559-47ca-9ebb-4bdc36d0323f"], "befores": [{"name": "collection", "status": "passed", "start": 1684210373820, "stop": 1684210373840}], "afters": [{"name": "collection::0", "status": "passed", "start": 1684210373939, "stop": 1684210373939}], "start": 1684210373820, "stop": 1684210373939}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"msg": "bad request ...",
|
||||||
|
"success": false
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "ad13ad26-ca4d-4442-be9e-a3f11eb28f84", "befores": [{"name": "env", "status": "passed", "start": 1684210373968, "stop": 1684210373968}], "start": 1684210373968, "stop": 1684210374062}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "e616b994-b04b-4bcb-acf4-bc01a85b88e0", "befores": [{"name": "inputs", "status": "passed", "start": 1684210373695, "stop": 1684210373695}], "start": 1684210373695, "stop": 1684210373818}
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"key": [
|
||||||
|
"5907"
|
||||||
|
],
|
||||||
|
"key2": [
|
||||||
|
null
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "970cf10e-0985-4667-af0e-d0b2fbdb8de8", "children": ["5e2a4ca5-abe5-4879-ae2e-d81db6b303ca"], "befores": [{"name": "alert_inputs", "status": "passed", "start": 1684210373941, "stop": 1684210373941}], "start": 1684210373941, "stop": 1684210374062}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "8b11ba7a-4c90-4751-98bb-63e921a18564", "children": ["c43228c2-3502-4cb3-84f6-d3772db95551"], "befores": [{"name": "collection", "status": "passed", "start": 1684210373696, "stop": 1684210373715}], "afters": [{"name": "collection::0", "status": "passed", "start": 1684210373818, "stop": 1684210373818}], "start": 1684210373696, "stop": 1684210373818}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "a2076a33-ebbe-4ff2-88b4-10bd104f9a79", "befores": [{"name": "expectation", "status": "passed", "start": 1684210373841, "stop": 1684210373841}], "start": 1684210373841, "stop": 1684210373939}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "d85cd406-b041-46b0-a2cc-99e1754d2e18", "children": ["e856a4e5-8346-408c-97e6-f60eb74916f7", "c43228c2-3502-4cb3-84f6-d3772db95551", "84bf77da-5559-47ca-9ebb-4bdc36d0323f", "5e2a4ca5-abe5-4879-ae2e-d81db6b303ca", "766d7e3d-c5ab-4afd-a346-9a020b46b81b"], "befores": [{"name": "_session_faker", "status": "passed", "start": 1684210373385, "stop": 1684210373409}], "start": 1684210373385, "stop": 1684210374178}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "63f1de14-3e2d-42fd-96fd-392063d59aac", "befores": [{"name": "inputs", "status": "passed", "start": 1684210373409, "stop": 1684210373409}], "start": 1684210373409, "stop": 1684210373695}
|
|
@ -0,0 +1 @@
|
||||||
|
404
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "6b82aedf-8048-4554-8ac7-686a457d40c9", "children": ["e856a4e5-8346-408c-97e6-f60eb74916f7"], "befores": [{"name": "alert_inputs", "status": "passed", "start": 1684210373409, "stop": 1684210373410}], "start": 1684210373409, "stop": 1684210373695}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "75e067c9-8ebb-48f7-8c43-c2b72eab8552", "befores": [{"name": "case", "status": "passed", "start": 1684210373968, "stop": 1684210373968}], "start": 1684210373968, "stop": 1684210374061}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "76620a3d-d7c0-4968-95bc-8d4b2a86fc04", "children": ["84bf77da-5559-47ca-9ebb-4bdc36d0323f"], "befores": [{"name": "alert_inputs", "status": "passed", "start": 1684210373819, "stop": 1684210373819}], "start": 1684210373819, "stop": 1684210373940}
|
|
@ -0,0 +1 @@
|
||||||
|
{"uuid": "24f83f92-c735-472f-a611-67c68fa69d24", "befores": [{"name": "env", "status": "passed", "start": 1684210373716, "stop": 1684210373716}], "start": 1684210373716, "stop": 1684210373818}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue