Commit a8da86ae by xiaojuan

接口自动化框架-v1.0

parent ffe2829d

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

{
"uid" : "78c5744b444f5a95",
"name" : "反向用例-password为特殊字符",
"fullName" : "test_case.test_mr_zhang.test_mr_zhang.TestTemple#test_method_template",
"historyId" : "57b541c51bdec3b8592712d0b209474a",
"time" : {
"start" : 1704355356007,
"stop" : 1704355356103,
"duration" : 96
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "8367ff9e38c5ea5f",
"name" : "log",
"source" : "8367ff9e38c5ea5f.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "884b348526d1dc65",
"name" : "stdout",
"source" : "884b348526d1dc65.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老张"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_zhang"
}, {
"name" : "suite",
"value" : "test_mr_zhang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_zhang.test_mr_zhang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': '♠♣▣▤▥▦▩◘◙◈'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-password为特殊字符'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "78c5744b444f5a95.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': '♠♣▣▤▥▦▩◘◙◈'}", "'中'", "'json'", "'POST'", "'反向用例-password为特殊字符'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "894e7ac623750b36",
"name" : "反向用例-username过长",
"fullName" : "test_case.test_mr_zhang.test_mr_zhang.TestTemple#test_method_template",
"historyId" : "b6a0b764ba9e85158653bc5839cdfcda",
"time" : {
"start" : 1704355355069,
"stop" : 1704355355157,
"duration" : 88
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "9e131fdf5ad2f055",
"name" : "log",
"source" : "9e131fdf5ad2f055.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "e53d89abfb3d8a82",
"name" : "stdout",
"source" : "e53d89abfb3d8a82.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老张"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_zhang"
}, {
"name" : "suite",
"value" : "test_mr_zhang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_zhang.test_mr_zhang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'adminadminadminadminadminadminadminadminadminadmin', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-username过长'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "894e7ac623750b36.json",
"parameterValues" : [ "'登录系统'", "{'username': 'adminadminadminadminadminadminadminadminadminadmin', 'password': 'MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-username过长'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "8cf1715620386fe5",
"name" : "正向用例",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "a474934a1f39ac773935fa131a391ff4",
"time" : {
"start" : 1704355354412,
"stop" : 1704355354552,
"duration" : 140
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "97e201a1e82c5f7d",
"name" : "log",
"source" : "97e201a1e82c5f7d.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "7b59d50fae43b4d",
"name" : "stdout",
"source" : "7b59d50fae43b4d.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "用户管理"
}, {
"name" : "story",
"value" : "添加用户"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加用户'"
}, {
"name" : "case_data",
"value" : "{'id': '', 'account': 'laowang', 'address': '', 'email': '', 'fullname': 'laowang', 'mobile': '', 'password': '123456', 'photo': '', 'sex': '', 'status': 1}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/user/v1/user/addUser'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '用户添加成功!'}"
}, {
"name" : "module_name",
"value" : "'用户管理'"
}, {
"name" : "sql_data",
"value" : "'delete from uc_user WHERE `ACCOUNT_`=\"laowang\";'"
}, {
"name" : "sql_type",
"value" : "'delete'"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "8cf1715620386fe5.json",
"parameterValues" : [ "'添加用户'", "{'id': '', 'account': 'laowang', 'address': '', 'email': '', 'fullname': 'laowang', 'mobile': '', 'password': '123456', 'photo': '', 'sex': '', 'status': 1}", "'高'", "'json'", "'POST'", "'正向用例'", "'http://120.46.172.186:8080/api/user/v1/user/addUser'", "{'state': True, 'message': '用户添加成功!'}", "'用户管理'", "'delete from uc_user WHERE `ACCOUNT_`=\"laowang\";'", "'delete'", "None" ]
}
\ No newline at end of file
{
"uid" : "931a4cbf3b51d3d2",
"name" : "反向用例-password过短",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "094640862cf1a2dd8fdee8fafdf5156c",
"time" : {
"start" : 1704355352061,
"stop" : 1704355352154,
"duration" : 93
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "b8f4dd65f00ac172",
"name" : "log",
"source" : "b8f4dd65f00ac172.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "e04788efc6fe8f59",
"name" : "stdout",
"source" : "e04788efc6fe8f59.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'm'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-password过短'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "931a4cbf3b51d3d2.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'm'}", "'中'", "'json'", "'POST'", "'反向用例-password过短'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "9646782da645fe29",
"name" : "反向用例-password过长",
"fullName" : "test_case.test_mr_zhang.test_mr_zhang.TestTemple#test_method_template",
"historyId" : "dbc7fb1b1ee58909cb607253c698adcf",
"time" : {
"start" : 1704355355803,
"stop" : 1704355355897,
"duration" : 94
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "287169ad85f165",
"name" : "log",
"source" : "287169ad85f165.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "de19b048423615b9",
"name" : "stdout",
"source" : "de19b048423615b9.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老张"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_zhang"
}, {
"name" : "suite",
"value" : "test_mr_zhang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_zhang.test_mr_zhang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-password过长'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "9646782da645fe29.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-password过长'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "99641fd344ed9b30",
"name" : "正向用例",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "9a778d0f90fe71328f22abc2447013f0",
"time" : {
"start" : 1704355354169,
"stop" : 1704355354224,
"duration" : 55
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "77eaf12c1cb6915d",
"name" : "log",
"source" : "77eaf12c1cb6915d.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "31ef26df09eaef4a",
"name" : "stdout",
"source" : "31ef26df09eaef4a.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "保存组织参数"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'保存组织参数'"
}, {
"name" : "case_data",
"value" : "{'query': {'orgCode': 'test_58_org'}, 'json': [{'alias': 'sz', 'value': '999'}]}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'query|json'"
}, {
"name" : "case_req",
"value" : "'post'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '保存组织参数成功!'}"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "99641fd344ed9b30.json",
"parameterValues" : [ "'保存组织参数'", "{'query': {'orgCode': 'test_58_org'}, 'json': [{'alias': 'sz', 'value': '999'}]}", "'高'", "'query|json'", "'post'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'", "{'state': True, 'message': '保存组织参数成功!'}", "'组织管理'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "9b721190eb52e5f8",
"name" : "正向用例-username和password正确",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "d8867e412abe669d3691d67a6a5d6e14",
"time" : {
"start" : 1704355350985,
"stop" : 1704355351040,
"duration" : 55
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "d31545e4382b8bdf",
"name" : "log",
"source" : "d31545e4382b8bdf.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "79ebf343c5f2f41e",
"name" : "stdout",
"source" : "79ebf343c5f2f41e.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'正向用例-username和password正确'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "9b721190eb52e5f8.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2'}", "'高'", "'json'", "'POST'", "'正向用例-username和password正确'", "'http://120.46.172.186:8080/auth'", "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "9b8049015df51703",
"name" : "正向用例",
"fullName" : "test_case.test_dependecy_template.test_dependecy_template.TestDependency#test_add_demo",
"historyId" : "8721a2d64cab6ba6f324c88ca9e788fa",
"time" : {
"start" : 1704355350481,
"stop" : 1704355350568,
"duration" : 87
},
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败",
"statusTrace" : "self = <InterfaceAutoTest.test_case.test_dependecy_template.test_dependecy_template.TestDependency object at 0x00000146473026A0>\n\n @allure.feature(\"维度管理\")\n @allure.story(\"添加维度\")\n @allure.title(\"正向用例\")\n @allure.severity(\"\")\n @pytest.mark.dependency(depends=[\"TestDependency::test_login\"])\n def test_add_demo(self):\n add_dem_url = \"http://120.46.172.186:8080/api/demension/v1/dem/addDem\"\n add_dem_data = {\n \"code\": \"dem_code_test_528\",\n \"description\": \"测试维度528\",\n \"isDefault\": 0,\n \"name\": \"测试维度518\"\n }\n header = {\"Authorization\": \"Bearer \" + data_dict[\"token\"]}\n print(header)\n res = requests.request(method=\"post\", url=add_dem_url, json=add_dem_data, headers=header)\n # 断言\n try:\n> assert \"成功\" in res.text\nE assert '成功' in '{\"state\":false,\"message\":\"添加维度失败,维度编码【dem_code_test_528】在系统中已存在!\",\"value\":\"\"}'\nE + where '{\"state\":false,\"message\":\"添加维度失败,维度编码【dem_code_test_528】在系统中已存在!\",\"value\":\"\"}' = <Response [200]>.text\n\ntest_case\\test_dependecy_template\\test_dependecy_template.py:60: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <InterfaceAutoTest.test_case.test_dependecy_template.test_dependecy_template.TestDependency object at 0x00000146473026A0>\n\n @allure.feature(\"维度管理\")\n @allure.story(\"添加维度\")\n @allure.title(\"正向用例\")\n @allure.severity(\"\")\n @pytest.mark.dependency(depends=[\"TestDependency::test_login\"])\n def test_add_demo(self):\n add_dem_url = \"http://120.46.172.186:8080/api/demension/v1/dem/addDem\"\n add_dem_data = {\n \"code\": \"dem_code_test_528\",\n \"description\": \"测试维度528\",\n \"isDefault\": 0,\n \"name\": \"测试维度518\"\n }\n header = {\"Authorization\": \"Bearer \" + data_dict[\"token\"]}\n print(header)\n res = requests.request(method=\"post\", url=add_dem_url, json=add_dem_data, headers=header)\n # 断言\n try:\n assert \"成功\" in res.text\n except AssertionError:\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_case\\test_dependecy_template\\test_dependecy_template.py:62: AssertionError",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败",
"statusTrace" : "self = <InterfaceAutoTest.test_case.test_dependecy_template.test_dependecy_template.TestDependency object at 0x00000146473026A0>\n\n @allure.feature(\"维度管理\")\n @allure.story(\"添加维度\")\n @allure.title(\"正向用例\")\n @allure.severity(\"\")\n @pytest.mark.dependency(depends=[\"TestDependency::test_login\"])\n def test_add_demo(self):\n add_dem_url = \"http://120.46.172.186:8080/api/demension/v1/dem/addDem\"\n add_dem_data = {\n \"code\": \"dem_code_test_528\",\n \"description\": \"测试维度528\",\n \"isDefault\": 0,\n \"name\": \"测试维度518\"\n }\n header = {\"Authorization\": \"Bearer \" + data_dict[\"token\"]}\n print(header)\n res = requests.request(method=\"post\", url=add_dem_url, json=add_dem_data, headers=header)\n # 断言\n try:\n> assert \"成功\" in res.text\nE assert '成功' in '{\"state\":false,\"message\":\"添加维度失败,维度编码【dem_code_test_528】在系统中已存在!\",\"value\":\"\"}'\nE + where '{\"state\":false,\"message\":\"添加维度失败,维度编码【dem_code_test_528】在系统中已存在!\",\"value\":\"\"}' = <Response [200]>.text\n\ntest_case\\test_dependecy_template\\test_dependecy_template.py:60: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <InterfaceAutoTest.test_case.test_dependecy_template.test_dependecy_template.TestDependency object at 0x00000146473026A0>\n\n @allure.feature(\"维度管理\")\n @allure.story(\"添加维度\")\n @allure.title(\"正向用例\")\n @allure.severity(\"\")\n @pytest.mark.dependency(depends=[\"TestDependency::test_login\"])\n def test_add_demo(self):\n add_dem_url = \"http://120.46.172.186:8080/api/demension/v1/dem/addDem\"\n add_dem_data = {\n \"code\": \"dem_code_test_528\",\n \"description\": \"测试维度528\",\n \"isDefault\": 0,\n \"name\": \"测试维度518\"\n }\n header = {\"Authorization\": \"Bearer \" + data_dict[\"token\"]}\n print(header)\n res = requests.request(method=\"post\", url=add_dem_url, json=add_dem_data, headers=header)\n # 断言\n try:\n assert \"成功\" in res.text\n except AssertionError:\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_case\\test_dependecy_template\\test_dependecy_template.py:62: AssertionError",
"steps" : [ ],
"attachments" : [ {
"uid" : "57997663a12bf032",
"name" : "stdout",
"source" : "57997663a12bf032.txt",
"type" : "text/plain",
"size" : 1120
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : true,
"attachmentsCount" : 1
},
"afterStages" : [ ],
"labels" : [ {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "epic",
"value" : "BPM系统依赖"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "tag",
"value" : "dependency(depends=['TestDependency::test_login'])"
}, {
"name" : "parentSuite",
"value" : "test_case.test_dependecy_template"
}, {
"name" : "suite",
"value" : "test_dependecy_template"
}, {
"name" : "subSuite",
"value" : "TestDependency"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_dependecy_template.test_dependecy_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ ],
"links" : [ ],
"hidden" : true,
"retry" : true,
"extra" : {
"categories" : [ ],
"tags" : [ "dependency(depends=['TestDependency::test_login'])" ]
},
"source" : "9b8049015df51703.json",
"parameterValues" : [ ]
}
\ No newline at end of file
{
"uid" : "9edb92b535bf068e",
"name" : "正向用例",
"fullName" : "test_case.test_template.test_template.TestTemple#test_method_template",
"historyId" : "8ecb6669ef6b8289662aed579ea2616b",
"time" : {
"start" : 1704355360439,
"stop" : 1704355360574,
"duration" : 135
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1704355358346,
"stop" : 1704355358547,
"duration" : 201
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1704355358547,
"stop" : 1704355358644,
"duration" : 97
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "fda239ccd3fe3694",
"name" : "log",
"source" : "fda239ccd3fe3694.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "f99f0d9400aef4fb",
"name" : "stdout",
"source" : "f99f0d9400aef4fb.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1704355362219,
"stop" : 1704355362219,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1704355362218,
"stop" : 1704355362218,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-模板"
}, {
"name" : "parentSuite",
"value" : "test_case.test_template"
}, {
"name" : "suite",
"value" : "test_template"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_template.test_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加维度'"
}, {
"name" : "case_data",
"value" : "{'code': 'test58_dem_abc', 'description': '测试维度-58', 'isDefault': 0, 'name': '测试维度-58'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'application/json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'"
}, {
"name" : "expect_data",
"value" : "{'message': '添加维度成功!'}"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "' delete from uc_demension WHERE `CODE_`=\"test58_dem_abc\";'"
}, {
"name" : "sql_type",
"value" : "'delete'"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "9edb92b535bf068e.json",
"parameterValues" : [ "'添加维度'", "{'code': 'test58_dem_abc', 'description': '测试维度-58', 'isDefault': 0, 'name': '测试维度-58'}", "'高'", "'application/json'", "'POST'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'message': '添加维度成功!'}", "'维度管理'", "' delete from uc_demension WHERE `CODE_`=\"test58_dem_abc\";'", "'delete'", "None" ]
}
\ No newline at end of file
{
"uid" : "9f248808b7301343",
"name" : "反向用例-username为特殊字符",
"fullName" : "test_case.test_mr_zhang.test_mr_zhang.TestTemple#test_method_template",
"historyId" : "3887fd1c3d0366da0f7f9de735b5324c",
"time" : {
"start" : 1704355355166,
"stop" : 1704355355254,
"duration" : 88
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "2d4823a267840d06",
"name" : "log",
"source" : "2d4823a267840d06.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "bbaf814f11171fdf",
"name" : "stdout",
"source" : "bbaf814f11171fdf.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老张"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_zhang"
}, {
"name" : "suite",
"value" : "test_mr_zhang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_zhang.test_mr_zhang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': '♠♣▣▤▥▦▩◘◙◈', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-username为特殊字符'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "9f248808b7301343.json",
"parameterValues" : [ "'登录系统'", "{'username': '♠♣▣▤▥▦▩◘◙◈', 'password': 'MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-username为特殊字符'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "a59a20fc0ba77b0f",
"name" : "正向用例",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "64c6767d962b32558704adace2e10296",
"time" : {
"start" : 1704355354308,
"stop" : 1704355354402,
"duration" : 94
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "ff6fafc4f6f547b9",
"name" : "log",
"source" : "ff6fafc4f6f547b9.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "210822e49b2ee4c",
"name" : "stdout",
"source" : "210822e49b2ee4c.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "根据维度编码删除维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'根据维度编码删除维度'"
}, {
"name" : "case_data",
"value" : "{'ids': '需要更新'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'query'"
}, {
"name" : "case_req",
"value" : "'DELETE'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'"
}, {
"name" : "expect_data",
"value" : "{'message': '删除维度成功!'}"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "'select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";'"
}, {
"name" : "sql_type",
"value" : "'select'"
}, {
"name" : "update_key",
"value" : "'ids'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "a59a20fc0ba77b0f.json",
"parameterValues" : [ "'根据维度编码删除维度'", "{'ids': '需要更新'}", "'高'", "'query'", "'DELETE'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'", "{'message': '删除维度成功!'}", "'维度管理'", "'select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";'", "'select'", "'ids'" ]
}
\ No newline at end of file
{
"uid" : "a5fa002a13c53f02",
"name" : "正向用例",
"fullName" : "test_case.test_dependecy_template.test_dependecy_template.TestDependency#test_add_demo",
"historyId" : "8721a2d64cab6ba6f324c88ca9e788fa",
"time" : {
"start" : 1704355350385,
"stop" : 1704355350473,
"duration" : 88
},
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败",
"statusTrace" : "self = <InterfaceAutoTest.test_case.test_dependecy_template.test_dependecy_template.TestDependency object at 0x00000146473026A0>\n\n @allure.feature(\"维度管理\")\n @allure.story(\"添加维度\")\n @allure.title(\"正向用例\")\n @allure.severity(\"\")\n @pytest.mark.dependency(depends=[\"TestDependency::test_login\"])\n def test_add_demo(self):\n add_dem_url = \"http://120.46.172.186:8080/api/demension/v1/dem/addDem\"\n add_dem_data = {\n \"code\": \"dem_code_test_528\",\n \"description\": \"测试维度528\",\n \"isDefault\": 0,\n \"name\": \"测试维度518\"\n }\n header = {\"Authorization\": \"Bearer \" + data_dict[\"token\"]}\n print(header)\n res = requests.request(method=\"post\", url=add_dem_url, json=add_dem_data, headers=header)\n # 断言\n try:\n> assert \"成功\" in res.text\nE assert '成功' in '{\"state\":false,\"message\":\"添加维度失败,维度编码【dem_code_test_528】在系统中已存在!\",\"value\":\"\"}'\nE + where '{\"state\":false,\"message\":\"添加维度失败,维度编码【dem_code_test_528】在系统中已存在!\",\"value\":\"\"}' = <Response [200]>.text\n\ntest_case\\test_dependecy_template\\test_dependecy_template.py:60: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <InterfaceAutoTest.test_case.test_dependecy_template.test_dependecy_template.TestDependency object at 0x00000146473026A0>\n\n @allure.feature(\"维度管理\")\n @allure.story(\"添加维度\")\n @allure.title(\"正向用例\")\n @allure.severity(\"\")\n @pytest.mark.dependency(depends=[\"TestDependency::test_login\"])\n def test_add_demo(self):\n add_dem_url = \"http://120.46.172.186:8080/api/demension/v1/dem/addDem\"\n add_dem_data = {\n \"code\": \"dem_code_test_528\",\n \"description\": \"测试维度528\",\n \"isDefault\": 0,\n \"name\": \"测试维度518\"\n }\n header = {\"Authorization\": \"Bearer \" + data_dict[\"token\"]}\n print(header)\n res = requests.request(method=\"post\", url=add_dem_url, json=add_dem_data, headers=header)\n # 断言\n try:\n assert \"成功\" in res.text\n except AssertionError:\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_case\\test_dependecy_template\\test_dependecy_template.py:62: AssertionError",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败",
"statusTrace" : "self = <InterfaceAutoTest.test_case.test_dependecy_template.test_dependecy_template.TestDependency object at 0x00000146473026A0>\n\n @allure.feature(\"维度管理\")\n @allure.story(\"添加维度\")\n @allure.title(\"正向用例\")\n @allure.severity(\"\")\n @pytest.mark.dependency(depends=[\"TestDependency::test_login\"])\n def test_add_demo(self):\n add_dem_url = \"http://120.46.172.186:8080/api/demension/v1/dem/addDem\"\n add_dem_data = {\n \"code\": \"dem_code_test_528\",\n \"description\": \"测试维度528\",\n \"isDefault\": 0,\n \"name\": \"测试维度518\"\n }\n header = {\"Authorization\": \"Bearer \" + data_dict[\"token\"]}\n print(header)\n res = requests.request(method=\"post\", url=add_dem_url, json=add_dem_data, headers=header)\n # 断言\n try:\n> assert \"成功\" in res.text\nE assert '成功' in '{\"state\":false,\"message\":\"添加维度失败,维度编码【dem_code_test_528】在系统中已存在!\",\"value\":\"\"}'\nE + where '{\"state\":false,\"message\":\"添加维度失败,维度编码【dem_code_test_528】在系统中已存在!\",\"value\":\"\"}' = <Response [200]>.text\n\ntest_case\\test_dependecy_template\\test_dependecy_template.py:60: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <InterfaceAutoTest.test_case.test_dependecy_template.test_dependecy_template.TestDependency object at 0x00000146473026A0>\n\n @allure.feature(\"维度管理\")\n @allure.story(\"添加维度\")\n @allure.title(\"正向用例\")\n @allure.severity(\"\")\n @pytest.mark.dependency(depends=[\"TestDependency::test_login\"])\n def test_add_demo(self):\n add_dem_url = \"http://120.46.172.186:8080/api/demension/v1/dem/addDem\"\n add_dem_data = {\n \"code\": \"dem_code_test_528\",\n \"description\": \"测试维度528\",\n \"isDefault\": 0,\n \"name\": \"测试维度518\"\n }\n header = {\"Authorization\": \"Bearer \" + data_dict[\"token\"]}\n print(header)\n res = requests.request(method=\"post\", url=add_dem_url, json=add_dem_data, headers=header)\n # 断言\n try:\n assert \"成功\" in res.text\n except AssertionError:\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_case\\test_dependecy_template\\test_dependecy_template.py:62: AssertionError",
"steps" : [ ],
"attachments" : [ {
"uid" : "ed285e5be08b6595",
"name" : "stdout",
"source" : "ed285e5be08b6595.txt",
"type" : "text/plain",
"size" : 896
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : true,
"attachmentsCount" : 1
},
"afterStages" : [ ],
"labels" : [ {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "epic",
"value" : "BPM系统依赖"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "tag",
"value" : "dependency(depends=['TestDependency::test_login'])"
}, {
"name" : "parentSuite",
"value" : "test_case.test_dependecy_template"
}, {
"name" : "suite",
"value" : "test_dependecy_template"
}, {
"name" : "subSuite",
"value" : "TestDependency"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_dependecy_template.test_dependecy_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ ],
"links" : [ ],
"hidden" : true,
"retry" : true,
"extra" : {
"categories" : [ ],
"tags" : [ "dependency(depends=['TestDependency::test_login'])" ]
},
"source" : "a5fa002a13c53f02.json",
"parameterValues" : [ ]
}
\ No newline at end of file
{
"uid" : "a6583647569e5e2d",
"name" : "正向用例",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "acad9b9ca657e1d5368ecf4d3f5c19f9",
"time" : {
"start" : 1704355354102,
"stop" : 1704355354161,
"duration" : 59
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "3f1d951c5ab6ae06",
"name" : "log",
"source" : "3f1d951c5ab6ae06.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "8d5d7210a14424c8",
"name" : "stdout",
"source" : "8d5d7210a14424c8.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "用户加入组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'用户加入组织'"
}, {
"name" : "case_data",
"value" : "{'orgCode': 'test_58_org', 'accounts': 'admin,guest'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'params'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '加入成功'}"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "a6583647569e5e2d.json",
"parameterValues" : [ "'用户加入组织'", "{'orgCode': 'test_58_org', 'accounts': 'admin,guest'}", "'高'", "'params'", "'POST'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg'", "{'state': True, 'message': '加入成功'}", "'组织管理'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "aa3466af57b8aaaf",
"name" : "正向用例",
"fullName" : "test_case.test_mr_zhang.test_mr_zhang.TestTemple#test_method_template",
"historyId" : "004074446ba9419929ba197d5ba61664",
"time" : {
"start" : 1704355358092,
"stop" : 1704355358184,
"duration" : 92
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "c4f7e704940981de",
"name" : "log",
"source" : "c4f7e704940981de.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "f6239a8718cfe557",
"name" : "stdout",
"source" : "f6239a8718cfe557.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "根据维度编码删除维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老张"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_zhang"
}, {
"name" : "suite",
"value" : "test_mr_zhang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_zhang.test_mr_zhang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'根据维度编码删除维度'"
}, {
"name" : "case_data",
"value" : "{'ids': '需要更新'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'query'"
}, {
"name" : "case_req",
"value" : "'DELETE'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'"
}, {
"name" : "expect_data",
"value" : "{'message': '删除维度成功!'}"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "'select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";'"
}, {
"name" : "sql_type",
"value" : "'select'"
}, {
"name" : "update_key",
"value" : "'ids'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "aa3466af57b8aaaf.json",
"parameterValues" : [ "'根据维度编码删除维度'", "{'ids': '需要更新'}", "'高'", "'query'", "'DELETE'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'", "{'message': '删除维度成功!'}", "'维度管理'", "'select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";'", "'select'", "'ids'" ]
}
\ No newline at end of file
{
"uid" : "abc618454b28f98c",
"name" : "正向用例",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "64ca2302b38a761ad4495e1a3a7df6ba",
"time" : {
"start" : 1704355354235,
"stop" : 1704355354293,
"duration" : 58
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "1d5cef222618be6b",
"name" : "log",
"source" : "1d5cef222618be6b.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "bacf8268abda4b90",
"name" : "stdout",
"source" : "bacf8268abda4b90.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "删除组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'删除组织'"
}, {
"name" : "case_data",
"value" : "'test_58_org'"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'text/plain'"
}, {
"name" : "case_req",
"value" : "'post'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '删除组织成功!'}"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "abc618454b28f98c.json",
"parameterValues" : [ "'删除组织'", "'test_58_org'", "'高'", "'text/plain'", "'post'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'", "{'state': True, 'message': '删除组织成功!'}", "'组织管理'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "ad441c3426b3d485",
"name" : "正向用例",
"fullName" : "test_case.test_template.test_template.TestTemple#test_method_template",
"historyId" : "609c144ffca008faa731f5a2a1a90e2e",
"time" : {
"start" : 1704355361835,
"stop" : 1704355361888,
"duration" : 53
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1704355358346,
"stop" : 1704355358547,
"duration" : 201
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1704355358547,
"stop" : 1704355358644,
"duration" : 97
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "de617315b03296fd",
"name" : "log",
"source" : "de617315b03296fd.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "516d8bc2b44ec617",
"name" : "stdout",
"source" : "516d8bc2b44ec617.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1704355362219,
"stop" : 1704355362219,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1704355362218,
"stop" : 1704355362218,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "保存组织参数"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-模板"
}, {
"name" : "parentSuite",
"value" : "test_case.test_template"
}, {
"name" : "suite",
"value" : "test_template"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_template.test_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'保存组织参数'"
}, {
"name" : "case_data",
"value" : "{'query': {'orgCode': 'test_58_org'}, 'json': [{'alias': 'sz', 'value': '999'}]}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'query|json'"
}, {
"name" : "case_req",
"value" : "'post'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '保存组织参数成功!'}"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "ad441c3426b3d485.json",
"parameterValues" : [ "'保存组织参数'", "{'query': {'orgCode': 'test_58_org'}, 'json': [{'alias': 'sz', 'value': '999'}]}", "'高'", "'query|json'", "'post'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'", "{'state': True, 'message': '保存组织参数成功!'}", "'组织管理'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "bc6d8f7590db7da3",
"name" : "反向用例-password过短",
"fullName" : "test_case.test_mr_zhang.test_mr_zhang.TestTemple#test_method_template",
"historyId" : "b6ce04cc30587adda64f0f4fae297021",
"time" : {
"start" : 1704355355906,
"stop" : 1704355355998,
"duration" : 92
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "4a5db40172b3629d",
"name" : "log",
"source" : "4a5db40172b3629d.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "bc9e8271e1a70cc7",
"name" : "stdout",
"source" : "bc9e8271e1a70cc7.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老张"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_zhang"
}, {
"name" : "suite",
"value" : "test_mr_zhang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_zhang.test_mr_zhang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'm'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-password过短'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "bc6d8f7590db7da3.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'm'}", "'中'", "'json'", "'POST'", "'反向用例-password过短'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "c7d78f8f23c410d0",
"name" : "正向用例-username和password正确",
"fullName" : "test_case.test_mr_zhang.test_mr_zhang.TestTemple#test_method_template",
"historyId" : "d65f14bcd3e93900fed39a2ae596dcaf",
"time" : {
"start" : 1704355354848,
"stop" : 1704355354900,
"duration" : 52
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "b4e8a56edf41c037",
"name" : "log",
"source" : "b4e8a56edf41c037.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "fd33531b3d2a5b0f",
"name" : "stdout",
"source" : "fd33531b3d2a5b0f.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老张"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_zhang"
}, {
"name" : "suite",
"value" : "test_mr_zhang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_zhang.test_mr_zhang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'正向用例-username和password正确'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "c7d78f8f23c410d0.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2'}", "'高'", "'json'", "'POST'", "'正向用例-username和password正确'", "'http://120.46.172.186:8080/auth'", "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "c8088967e0399600",
"name" : "正向用例-username和password正确",
"fullName" : "test_case.test_template.test_template.TestTemple#test_method_template",
"historyId" : "5cf0ca9bfb84009eee04be6339e4cd3d",
"time" : {
"start" : 1704355358645,
"stop" : 1704355358701,
"duration" : 56
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1704355358346,
"stop" : 1704355358547,
"duration" : 201
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1704355358547,
"stop" : 1704355358644,
"duration" : 97
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "2a9175c56748cee1",
"name" : "log",
"source" : "2a9175c56748cee1.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "db6da708423748ba",
"name" : "stdout",
"source" : "db6da708423748ba.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1704355362219,
"stop" : 1704355362219,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1704355362218,
"stop" : 1704355362218,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-模板"
}, {
"name" : "parentSuite",
"value" : "test_case.test_template"
}, {
"name" : "suite",
"value" : "test_template"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_template.test_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'正向用例-username和password正确'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "c8088967e0399600.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2'}", "'高'", "'json'", "'POST'", "'正向用例-username和password正确'", "'http://120.46.172.186:8080/auth'", "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "cc8a48a980c69ec",
"name" : "反向用例-password过短",
"fullName" : "test_case.test_template.test_template.TestTemple#test_method_template",
"historyId" : "e29df96bf0b201087aade5eb4f0d82a7",
"time" : {
"start" : 1704355359759,
"stop" : 1704355359856,
"duration" : 97
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1704355358346,
"stop" : 1704355358547,
"duration" : 201
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1704355358547,
"stop" : 1704355358644,
"duration" : 97
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "97438c4771e0a590",
"name" : "log",
"source" : "97438c4771e0a590.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "689985a7447b84e3",
"name" : "stdout",
"source" : "689985a7447b84e3.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1704355362219,
"stop" : 1704355362219,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1704355362218,
"stop" : 1704355362218,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-模板"
}, {
"name" : "parentSuite",
"value" : "test_case.test_template"
}, {
"name" : "suite",
"value" : "test_template"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_template.test_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'm'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-password过短'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "cc8a48a980c69ec.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'm'}", "'中'", "'json'", "'POST'", "'反向用例-password过短'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "d1d4a2a8205e4c9b",
"name" : "正向用例",
"fullName" : "test_case.test_mr_zhang.test_mr_zhang.TestTemple#test_method_template",
"historyId" : "5cf09777cb8bfb0870c7462f3680ad17",
"time" : {
"start" : 1704355358016,
"stop" : 1704355358081,
"duration" : 65
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "525f0f10717efa1d",
"name" : "log",
"source" : "525f0f10717efa1d.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "b8cd13404c313579",
"name" : "stdout",
"source" : "b8cd13404c313579.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "删除组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-老张"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_zhang"
}, {
"name" : "suite",
"value" : "test_mr_zhang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_zhang.test_mr_zhang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'删除组织'"
}, {
"name" : "case_data",
"value" : "'test_58_org'"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'text/plain'"
}, {
"name" : "case_req",
"value" : "'post'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '删除组织成功!'}"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "d1d4a2a8205e4c9b.json",
"parameterValues" : [ "'删除组织'", "'test_58_org'", "'高'", "'text/plain'", "'post'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'", "{'state': True, 'message': '删除组织成功!'}", "'组织管理'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "d85f1d4520a8ecf7",
"name" : "反向用例-username为空",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "7461be189578c787cfeec4b94a13cc4c",
"time" : {
"start" : 1704355351052,
"stop" : 1704355351104,
"duration" : 52
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "9d78c2e1dc81151e",
"name" : "log",
"source" : "9d78c2e1dc81151e.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "276e33bade2fee05",
"name" : "stdout",
"source" : "276e33bade2fee05.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': '', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-username为空'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "d85f1d4520a8ecf7.json",
"parameterValues" : [ "'登录系统'", "{'username': '', 'password': 'MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-username为空'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "d99f9f23e9ff60f9",
"name" : "正向用例",
"fullName" : "test_case.test_dependecy_template.test_dependecy_template.TestDependency#test_login",
"historyId" : "a8e1d6b9521f1a7fd6055daae44e0481",
"time" : {
"start" : 1704355349812,
"stop" : 1704355349909,
"duration" : 97
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"afterStages" : [ ],
"labels" : [ {
"name" : "severity",
"value" : "高"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "epic",
"value" : "BPM系统依赖"
}, {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "tag",
"value" : "dependency"
}, {
"name" : "parentSuite",
"value" : "test_case.test_dependecy_template"
}, {
"name" : "suite",
"value" : "test_dependecy_template"
}, {
"name" : "subSuite",
"value" : "TestDependency"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_dependecy_template.test_dependecy_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ "dependency" ]
},
"source" : "d99f9f23e9ff60f9.json",
"parameterValues" : [ ]
}
\ No newline at end of file
{
"uid" : "e1b9eac85ad98e31",
"name" : "反向用例-password过长",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "eae10236a39cd7489d16c9308fc1e207",
"time" : {
"start" : 1704355351956,
"stop" : 1704355352052,
"duration" : 96
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "41336894444586c",
"name" : "log",
"source" : "41336894444586c.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "b956727fd5462a03",
"name" : "stdout",
"source" : "b956727fd5462a03.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-password过长'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "e1b9eac85ad98e31.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-password过长'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "e2738a34fb1062f8",
"name" : "反向用例-username为特殊字符",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "5d98543074058e754e3e6c9788aaa828",
"time" : {
"start" : 1704355351315,
"stop" : 1704355351401,
"duration" : 86
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "94b93991dec76e61",
"name" : "log",
"source" : "94b93991dec76e61.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "1e3d571bc46def3e",
"name" : "stdout",
"source" : "1e3d571bc46def3e.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': '♠♣▣▤▥▦▩◘◙◈', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-username为特殊字符'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "e2738a34fb1062f8.json",
"parameterValues" : [ "'登录系统'", "{'username': '♠♣▣▤▥▦▩◘◙◈', 'password': 'MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-username为特殊字符'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "e67b49c2340cf8a8",
"name" : "正向用例",
"fullName" : "test_case.test_template.test_template.TestTemple#test_method_template",
"historyId" : "b673aae92214b6cf57ebd3f2bcc747fc",
"time" : {
"start" : 1704355362068,
"stop" : 1704355362210,
"duration" : 142
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1704355358346,
"stop" : 1704355358547,
"duration" : 201
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1704355358547,
"stop" : 1704355358644,
"duration" : 97
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "f551dd6663c7b465",
"name" : "log",
"source" : "f551dd6663c7b465.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "1137c01f3e8e7584",
"name" : "stdout",
"source" : "1137c01f3e8e7584.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1704355362219,
"stop" : 1704355362219,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1704355362218,
"stop" : 1704355362218,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "用户管理"
}, {
"name" : "story",
"value" : "添加用户"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-模板"
}, {
"name" : "parentSuite",
"value" : "test_case.test_template"
}, {
"name" : "suite",
"value" : "test_template"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_template.test_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加用户'"
}, {
"name" : "case_data",
"value" : "{'id': '', 'account': 'laowang', 'address': '', 'email': '', 'fullname': 'laowang', 'mobile': '', 'password': '123456', 'photo': '', 'sex': '', 'status': 1}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/user/v1/user/addUser'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '用户添加成功!'}"
}, {
"name" : "module_name",
"value" : "'用户管理'"
}, {
"name" : "sql_data",
"value" : "'delete from uc_user WHERE `ACCOUNT_`=\"laowang\";'"
}, {
"name" : "sql_type",
"value" : "'delete'"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "e67b49c2340cf8a8.json",
"parameterValues" : [ "'添加用户'", "{'id': '', 'account': 'laowang', 'address': '', 'email': '', 'fullname': 'laowang', 'mobile': '', 'password': '123456', 'photo': '', 'sex': '', 'status': 1}", "'高'", "'json'", "'POST'", "'正向用例'", "'http://120.46.172.186:8080/api/user/v1/user/addUser'", "{'state': True, 'message': '用户添加成功!'}", "'用户管理'", "'delete from uc_user WHERE `ACCOUNT_`=\"laowang\";'", "'delete'", "None" ]
}
\ No newline at end of file
{
"uid" : "ec4096a0ca542aa5",
"name" : "正向用例",
"fullName" : "test_case.test_dependecy_template.test_dependecy_template.TestDependency#test3",
"historyId" : "455987a44c5b38bba06bf0a34630bf2f",
"time" : {
"start" : 1704355350674,
"stop" : 1704355350674,
"duration" : 0
},
"status" : "skipped",
"statusMessage" : "Skipped: test3[4-5-6] depends on TestDependency::test_add_demo",
"statusTrace" : "('D:\\\\Document\\\\PythonDoc\\\\test_58\\\\venv\\\\lib\\\\site-packages\\\\pytest_dependency.py', 101, 'Skipped: test3[4-5-6] depends on TestDependency::test_add_demo')",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "skipped",
"statusMessage" : "Skipped: test3[4-5-6] depends on TestDependency::test_add_demo",
"statusTrace" : "('D:\\\\Document\\\\PythonDoc\\\\test_58\\\\venv\\\\lib\\\\site-packages\\\\pytest_dependency.py', 101, 'Skipped: test3[4-5-6] depends on TestDependency::test_add_demo')",
"steps" : [ ],
"attachments" : [ {
"uid" : "bdc4eda9da6f094a",
"name" : "log",
"source" : "bdc4eda9da6f094a.txt",
"type" : "text/plain",
"size" : 130
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : true,
"attachmentsCount" : 1
},
"afterStages" : [ ],
"labels" : [ {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统依赖"
}, {
"name" : "story",
"value" : "测试参数化"
}, {
"name" : "feature",
"value" : "测试模块"
}, {
"name" : "tag",
"value" : "dependency(depends=['TestDependency::test_login', 'TestDependency::test_add_demo'])"
}, {
"name" : "parentSuite",
"value" : "test_case.test_dependecy_template"
}, {
"name" : "suite",
"value" : "test_dependecy_template"
}, {
"name" : "subSuite",
"value" : "TestDependency"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_dependecy_template.test_dependecy_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "a",
"value" : "4"
}, {
"name" : "b",
"value" : "5"
}, {
"name" : "c",
"value" : "6"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ "dependency(depends=['TestDependency::test_login', 'TestDependency::test_add_demo'])" ]
},
"source" : "ec4096a0ca542aa5.json",
"parameterValues" : [ "4", "5", "6" ]
}
\ No newline at end of file
{
"uid" : "efd9d4bbfcb5bc27",
"name" : "反向用例-username过短",
"fullName" : "test_case.test_template.test_template.TestTemple#test_method_template",
"historyId" : "524fee58c602e51bb671e53cde950aa7",
"time" : {
"start" : 1704355358770,
"stop" : 1704355358861,
"duration" : 91
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1704355358346,
"stop" : 1704355358547,
"duration" : 201
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1704355358547,
"stop" : 1704355358644,
"duration" : 97
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "53f8db47df0e09c0",
"name" : "log",
"source" : "53f8db47df0e09c0.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "26dd3e8176fc8b8c",
"name" : "stdout",
"source" : "26dd3e8176fc8b8c.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1704355362219,
"stop" : 1704355362219,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1704355362218,
"stop" : 1704355362218,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-模板"
}, {
"name" : "parentSuite",
"value" : "test_case.test_template"
}, {
"name" : "suite",
"value" : "test_template"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_template.test_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'a', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-username过短'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "efd9d4bbfcb5bc27.json",
"parameterValues" : [ "'登录系统'", "{'username': 'a', 'password': 'MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-username过短'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "f034cb0300caa608",
"name" : "反向用例-username过长",
"fullName" : "test_case.test_template.test_template.TestTemple#test_method_template",
"historyId" : "a3232bdbd26fa2dd9641a5ad5c4e77ca",
"time" : {
"start" : 1704355358870,
"stop" : 1704355358964,
"duration" : 94
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1704355358346,
"stop" : 1704355358547,
"duration" : 201
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1704355358547,
"stop" : 1704355358644,
"duration" : 97
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "62daea4feff396de",
"name" : "log",
"source" : "62daea4feff396de.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "fdd59a6f53dee3ab",
"name" : "stdout",
"source" : "fdd59a6f53dee3ab.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1704355362219,
"stop" : 1704355362219,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1704355362218,
"stop" : 1704355362218,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-模板"
}, {
"name" : "parentSuite",
"value" : "test_case.test_template"
}, {
"name" : "suite",
"value" : "test_template"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_template.test_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'adminadminadminadminadminadminadminadminadminadmin', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-username过长'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "f034cb0300caa608.json",
"parameterValues" : [ "'登录系统'", "{'username': 'adminadminadminadminadminadminadminadminadminadmin', 'password': 'MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-username过长'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "f23bc22a67709133",
"name" : "反向用例-password过长",
"fullName" : "test_case.test_template.test_template.TestTemple#test_method_template",
"historyId" : "668a8e3f30e3e40742ca0446d2e2579a",
"time" : {
"start" : 1704355359655,
"stop" : 1704355359749,
"duration" : 94
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1704355358346,
"stop" : 1704355358547,
"duration" : 201
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1704355358547,
"stop" : 1704355358644,
"duration" : 97
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "7ce63bc9b7f2458d",
"name" : "log",
"source" : "7ce63bc9b7f2458d.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "892759fc9289cd64",
"name" : "stdout",
"source" : "892759fc9289cd64.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1704355362219,
"stop" : 1704355362219,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1704355362218,
"stop" : 1704355362218,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-模板"
}, {
"name" : "parentSuite",
"value" : "test_case.test_template"
}, {
"name" : "suite",
"value" : "test_template"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_template.test_template"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-password过长'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "f23bc22a67709133.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}", "'中'", "'json'", "'POST'", "'反向用例-password过长'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "fe2fc1e5b7dd8d5",
"name" : "反向用例-password为特殊字符",
"fullName" : "test_case.test_mr_wang.test_mr_wang.TestTemple#test_method_template",
"historyId" : "7b1bdaf6e37bbb9241593d069d02be7e",
"time" : {
"start" : 1704355352166,
"stop" : 1704355352262,
"duration" : 96
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1704355349682,
"stop" : 1704355349811,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "ea60ad274e9c8f96",
"name" : "log",
"source" : "ea60ad274e9c8f96.txt",
"type" : "text/plain",
"size" : 105
}, {
"uid" : "8829912669f8ddef",
"name" : "stdout",
"source" : "8829912669f8ddef.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"shouldDisplayMessage" : false,
"attachmentsCount" : 2
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-老王"
}, {
"name" : "parentSuite",
"value" : "test_case.test_mr_wang"
}, {
"name" : "suite",
"value" : "test_mr_wang"
}, {
"name" : "subSuite",
"value" : "TestTemple"
}, {
"name" : "host",
"value" : "TimeIsALine"
}, {
"name" : "thread",
"value" : "3212-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_mr_wang.test_mr_wang"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': '♠♣▣▤▥▦▩◘◙◈'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_req",
"value" : "'POST'"
}, {
"name" : "case_title",
"value" : "'反向用例-password为特殊字符'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "fe2fc1e5b7dd8d5.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': '♠♣▣▤▥▦▩◘◙◈'}", "'中'", "'json'", "'POST'", "'反向用例-password为特殊字符'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
launch_status failed=10 1704355411000000000
launch_status broken=0 1704355411000000000
launch_status passed=46 1704355411000000000
launch_status skipped=2 1704355411000000000
launch_status unknown=0 1704355411000000000
launch_time duration=12398 1704355411000000000
launch_time min_duration=0 1704355411000000000
launch_time max_duration=176 1704355411000000000
launch_time sum_duration=4799 1704355411000000000
launch_problems product_defects=10 1704355411000000000
launch_retries retries=50 1704355411000000000
launch_retries run=58 1704355411000000000
module.exports = __webpack_public_path__ + "favicon.ico";
\ No newline at end of file
[ {
"data" : {
"run" : 58,
"retry" : 50
}
} ]
\ No newline at end of file
<!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">
</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>
'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('nl', {
tab: {
behaviors: {
name: 'Functionaliteit'
}
},
widget: {
behaviors: {
name: 'Features en story’s',
showAll: 'Toon 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.addTranslation('fr', {
tab: {
behaviors: {
name: 'Comportements'
}
},
widget: {
behaviors: {
name: 'Thèmes par histoires',
showAll: 'Montrer tout'
}
}
});
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
}));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment