From 67209e7096c2b7dd471d69dbb604817ba5bed828 Mon Sep 17 00:00:00 2001 From: chenyongzhiaaron <262667641@qq.com> Date: Mon, 4 Sep 2023 10:24:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=87=8D=E5=A4=8D=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E6=97=A5=E5=BF=97=E4=BB=A5=E5=8F=8A=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E4=BF=A1=E6=81=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/dbnavigator.xml | 8 +- OutPut/log/2023-06-25.log | 2 - OutPut/log/2023-07-04.log | 0 OutPut/log/2023-07-05.log | 108 --- OutPut/log/2023-07-12.log | 25 - OutPut/log/2023-07-13.log | 304 ------ OutPut/log/2023-07-14.log | 199 ---- OutPut/log/2023-07-15.log | 9 - OutPut/log/2023-07-19.log | 357 -------- OutPut/log/2023-07-20.log | 15 - OutPut/log/2023-07-21.log | 37 - OutPut/log/2023-07-31.log | 32 - OutPut/reports/report.html | 917 ++++++++++++++++--- cases/cases/test_cases.xlsx | Bin 18544 -> 0 bytes cases/templates/template.xlsx | Bin 23396 -> 0 bytes common/{utils => core}/action.py | 26 +- common/crypto/encrypt_data.py | 59 +- common/crypto/encryption_base64_to_image.py | 2 +- common/data_analysis/dependent_parameter.py | 1 + common/http_client/http_client.py | 49 +- common/log_utils/mylogger.py | 2 + common/utils/__init__.py | 5 - common/utils/decorators.py | 11 +- common/utils/environments.py | 3 + common/utils/exceptions.py | 4 + common/validation/extractor.py | 1 + common/validation/load_and_execute_script.py | 4 + common/validation/loaders.py | 19 +- common/validation/validator.py | 3 +- config/config.py | 6 +- encryption_rules/__init__.py | 1 + encryption_rules/rules.py | 22 +- excel_converter.py | 4 +- output/reports/history.json | 2 +- run.py | 7 +- src/cases/test_cases.xlsx | Bin 0 -> 18513 bytes {cases => src}/files/test.txt | 0 {cases => src}/files/test2.txt | 0 src/templates/template.xlsx | Bin 0 -> 23402 bytes {cases => src}/temporary_file/openapi.json | 0 {cases => src}/temporary_file/postman.json | 0 test_script/test_executor.py | 2 +- 42 files changed, 933 insertions(+), 1313 deletions(-) delete mode 100644 OutPut/log/2023-06-25.log delete mode 100644 OutPut/log/2023-07-04.log delete mode 100644 OutPut/log/2023-07-05.log delete mode 100644 OutPut/log/2023-07-12.log delete mode 100644 OutPut/log/2023-07-13.log delete mode 100644 OutPut/log/2023-07-14.log delete mode 100644 OutPut/log/2023-07-15.log delete mode 100644 OutPut/log/2023-07-19.log delete mode 100644 OutPut/log/2023-07-20.log delete mode 100644 OutPut/log/2023-07-21.log delete mode 100644 OutPut/log/2023-07-31.log delete mode 100644 cases/cases/test_cases.xlsx delete mode 100644 cases/templates/template.xlsx rename common/{utils => core}/action.py (87%) create mode 100644 src/cases/test_cases.xlsx rename {cases => src}/files/test.txt (100%) rename {cases => src}/files/test2.txt (100%) create mode 100644 src/templates/template.xlsx rename {cases => src}/temporary_file/openapi.json (100%) rename {cases => src}/temporary_file/postman.json (100%) diff --git a/.idea/dbnavigator.xml b/.idea/dbnavigator.xml index fedd825..368a099 100644 --- a/.idea/dbnavigator.xml +++ b/.idea/dbnavigator.xml @@ -2,9 +2,15 @@ - + + + + + + + diff --git a/OutPut/log/2023-06-25.log b/OutPut/log/2023-06-25.log deleted file mode 100644 index 217df2a..0000000 --- a/OutPut/log/2023-06-25.log +++ /dev/null @@ -1,2 +0,0 @@ -2023-06-25 22:14:00 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-06-25 22:45:38 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None diff --git a/OutPut/log/2023-07-04.log b/OutPut/log/2023-07-04.log deleted file mode 100644 index e69de29..0000000 diff --git a/OutPut/log/2023-07-05.log b/OutPut/log/2023-07-05.log deleted file mode 100644 index bce2a30..0000000 --- a/OutPut/log/2023-07-05.log +++ /dev/null @@ -1,108 +0,0 @@ -2023-07-05 09:17:38 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 09:17:40 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-05 09:17:43 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 09:17:43 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-05 09:20:43 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 09:20:46 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-05 09:20:49 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 09:20:49 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-05 09:21:53 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 09:21:55 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-05 09:21:58 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 09:21:58 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-05 09:46:55 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 09:46:57 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-05 09:47:00 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 09:47:00 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-05 09:52:10 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 09:52:10 | ERROR | 发送请求失败: URL cannot be None -2023-07-05 09:52:10 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 09:52:12 | ERROR | key:{{get_timestamp()}},在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 09:52:15 | ERROR | key:{{get_timestamp()}},在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:05:00 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:05:02 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:05:05 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:07:57 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:07:57 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 15:07:59 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:07:59 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-05 15:08:02 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:08:02 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 15:08:02 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-05 15:12:26 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:12:26 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 15:12:28 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:12:29 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-05 15:12:32 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:12:32 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 15:12:32 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-05 15:15:53 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:15:53 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 15:15:55 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:15:55 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-05 15:15:58 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:15:58 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 15:15:59 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-05 15:17:24 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:17:24 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-05 15:17:26 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:17:26 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-05 15:17:29 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:17:29 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 15:17:29 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-05 15:17:52 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:17:54 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:17:57 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:17:57 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-05 15:31:17 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:31:19 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:31:22 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-05 15:31:22 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None diff --git a/OutPut/log/2023-07-12.log b/OutPut/log/2023-07-12.log deleted file mode 100644 index 02dd1b0..0000000 --- a/OutPut/log/2023-07-12.log +++ /dev/null @@ -1,25 +0,0 @@ -2023-07-12 11:17:52 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-12 11:17:52 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -Expecting value: line 1 column 1 (char 0) -2023-07-12 11:17:54 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-12 11:17:54 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -Expecting value: line 1 column 1 (char 0) -2023-07-12 11:17:57 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-12 11:17:57 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-12 11:17:57 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -Expecting value: line 1 column 1 (char 0) -2023-07-12 15:06:03 | ERROR | 发送请求失败: list indices must be integers or slices, not str -2023-07-12 15:12:59 | ERROR | 发送请求失败: list indices must be integers or slices, not str -2023-07-12 15:13:12 | ERROR | 发送请求失败: list indices must be integers or slices, not str -2023-07-12 15:13:35 | ERROR | 发送请求失败: list indices must be integers or slices, not str -2023-07-12 15:14:04 | ERROR | 发送请求失败: list indices must be integers or slices, not str -2023-07-12 15:14:27 | ERROR | 发送请求失败: list indices must be integers or slices, not str -2023-07-12 15:15:51 | ERROR | 发送请求失败: read of closed file -2023-07-12 15:24:51 | ERROR | 发送请求失败: read of closed file -2023-07-12 16:07:16 | ERROR | 发送请求失败: read of closed file -2023-07-12 16:07:38 | ERROR | 发送请求失败: read of closed file -2023-07-12 16:24:30 | ERROR | 发送请求失败: URL cannot be None -2023-07-12 16:25:45 | ERROR | 发送请求失败: Data must not be a string. diff --git a/OutPut/log/2023-07-13.log b/OutPut/log/2023-07-13.log deleted file mode 100644 index 6c11d72..0000000 --- a/OutPut/log/2023-07-13.log +++ /dev/null @@ -1,304 +0,0 @@ -2023-07-13 15:04:15 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,块排查: [Errno 13] Permission denied: 'D:\\apk_api\\api-test-project\\cases\\cases\\test_api.xlsx' -2023-07-13 15:04:16 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:04:17 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:04:17 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-13 15:04:17 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,块排查: [Errno 13] Permission denied: 'D:\\apk_api\\api-test-project\\cases\\cases\\test_api.xlsx' -2023-07-13 15:04:18 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:04:18 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:04:18 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-13 15:04:18 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,块排查: [Errno 13] Permission denied: 'D:\\apk_api\\api-test-project\\cases\\cases\\test_api.xlsx' -2023-07-13 15:04:19 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:04:19 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:04:19 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:04:19 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-13 15:04:19 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,块排查: [Errno 13] Permission denied: 'D:\\apk_api\\api-test-project\\cases\\cases\\test_api.xlsx' -2023-07-13 15:04:32 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:04:32 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:04:32 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-13 15:04:33 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:04:33 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:04:33 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-13 15:04:34 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:04:34 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:04:34 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:04:34 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-13 15:12:39 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:12:39 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-13 15:12:40 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:12:40 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-13 15:12:41 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:12:41 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:12:41 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:12:41 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-13 15:15:43 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:15:43 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-13 15:15:44 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:15:44 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-13 15:15:45 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:15:45 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:15:45 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:15:45 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-13 15:19:25 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:19:25 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-13 15:19:26 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:19:26 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-13 15:19:27 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:19:27 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:19:27 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:19:27 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-13 15:19:37 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:19:37 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-13 15:19:38 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:19:38 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-13 15:19:39 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:19:39 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:19:39 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:19:39 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-13 15:20:43 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:20:43 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-13 15:20:44 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:20:44 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-13 15:20:45 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:20:45 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:20:45 | ERROR | 发送请求失败: local variable 'fs' referenced before assignment -2023-07-13 15:20:45 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-13 15:21:33 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -local variable 'fs' referenced before assignment -2023-07-13 15:21:34 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -local variable 'fs' referenced before assignment -2023-07-13 15:21:35 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:21:35 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:21:35 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -local variable 'fs' referenced before assignment -2023-07-13 15:22:11 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'Action' object has no attribute 'validate_variables_list' -2023-07-13 15:22:13 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:22:13 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:22:13 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'Action' object has no attribute 'validate_variables_list' -2023-07-13 15:27:48 | ERROR | 参数格式错误! -2023-07-13 15:27:48 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -exceptions must derive from BaseException -2023-07-13 15:27:49 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:27:49 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:27:49 | ERROR | 参数格式错误! -2023-07-13 15:27:49 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -exceptions must derive from BaseException -2023-07-13 15:30:31 | ERROR | 参数格式错误! -2023-07-13 15:30:31 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -exceptions must derive from BaseException -2023-07-13 15:30:32 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 15:30:32 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 15:30:32 | ERROR | 参数格式错误! -2023-07-13 15:30:32 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -exceptions must derive from BaseException -2023-07-13 16:42:55 | ERROR | 参数格式错误! -2023-07-13 16:42:55 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -exceptions must derive from BaseException -2023-07-13 16:42:56 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 16:42:56 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 16:42:56 | ERROR | 参数格式错误! -2023-07-13 16:42:56 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -exceptions must derive from BaseException -2023-07-13 17:52:43 | ERROR | 参数格式错误! -2023-07-13 17:52:43 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -exceptions must derive from BaseException -2023-07-13 17:52:44 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 17:52:44 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 17:52:44 | ERROR | 参数格式错误! -2023-07-13 17:52:44 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -exceptions must derive from BaseException -2023-07-13 17:55:34 | ERROR | 参数格式错误! -2023-07-13 17:55:34 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -exceptions must derive from BaseException -2023-07-13 17:55:35 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 17:55:35 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 17:55:35 | ERROR | 参数格式错误! -2023-07-13 17:55:35 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -exceptions must derive from BaseException -2023-07-13 17:59:30 | ERROR | 参数格式错误! -2023-07-13 17:59:30 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -exceptions must derive from BaseException -2023-07-13 17:59:31 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 17:59:31 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 17:59:31 | ERROR | 参数格式错误! -2023-07-13 17:59:32 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -exceptions must derive from BaseException -2023-07-13 18:00:30 | ERROR | 参数格式错误! -2023-07-13 18:00:30 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -exceptions must derive from BaseException -2023-07-13 18:00:31 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 18:00:31 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 18:00:31 | ERROR | 参数格式错误! -2023-07-13 18:00:31 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -exceptions must derive from BaseException -2023-07-13 18:00:53 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'Action' object has no attribute 'built_in_comparators' -2023-07-13 18:00:55 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 18:00:55 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 18:00:55 | ERROR | 提取失败:提取表达式:data[0].tvSequence,没有提取到对应的值 -2023-07-13 18:00:55 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'Action' object has no attribute 'built_in_comparators' -2023-07-13 18:02:05 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 18:02:08 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-13 18:02:09 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 18:02:09 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 18:02:09 | ERROR | 提取失败:提取表达式:data[0].tvSequence,没有提取到对应的值 -2023-07-13 18:02:09 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data[0].tvSequence', '期望值': '{{tvSequence}}', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-13 18:04:10 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 18:04:13 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-13 18:04:14 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 18:04:14 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 18:04:14 | ERROR | 提取失败:提取表达式:data[0].tvSequence,没有提取到对应的值 -2023-07-13 18:04:14 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data[0].tvSequence', '期望值': '{{tvSequence}}', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-13 18:52:43 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 18:53:56 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 18:54:30 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 18:54:56 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 18:55:00 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-13 18:55:01 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 18:55:01 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 18:55:01 | ERROR | 提取失败:提取表达式:data[0].tvSequence,没有提取到对应的值 -2023-07-13 18:55:01 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data[0].tvSequence', '期望值': '{{tvSequence}}', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-13 19:10:18 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 19:10:21 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-13 19:10:22 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 19:10:22 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:10:22 | ERROR | 提取失败:提取表达式:data[0].tvSequence,没有提取到对应的值 -2023-07-13 19:10:22 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data[0].tvSequence', '期望值': '{{tvSequence}}', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-13 19:15:37 | ERROR | | called load_built_in_functions | error: 快看,异常了,别唧唧哇哇,块排查: vars() argument must have __dict__ attribute -2023-07-13 19:15:37 | ERROR | | called set_bif_fun | error: 快看,异常了,别唧唧哇哇,块排查: 'NoneType' object has no attribute 'items' -2023-07-13 19:16:12 | ERROR | | called load_built_in_functions | error: 快看,异常了,别唧唧哇哇,块排查: vars() argument must have __dict__ attribute -2023-07-13 19:16:12 | ERROR | | called set_bif_fun | error: 快看,异常了,别唧唧哇哇,块排查: 'NoneType' object has no attribute 'items' -2023-07-13 19:30:55 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 19:30:57 | ERROR | 异常用例: 安全纯净大屏_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/auth/loginByNotBip (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 19:30:58 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/ibs/api/ibs-lms-base/tvConfig/addTvSequence?t=1689247858607 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 19:30:59 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 19:30:59 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:30:59 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/ibs/api/ibs-lms-base/tvConfig/getTvInfo?t=1689247859760&projectId=104966 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 19:31:09 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 19:31:12 | ERROR | 异常用例: 安全纯净大屏_4_劳务基础配置_绑定TV -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-13 19:31:13 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 19:31:13 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:31:13 | ERROR | 提取失败:提取表达式:data[0].tvSequence,没有提取到对应的值 -2023-07-13 19:31:13 | ERROR | 异常用例: 安全纯净大屏_5_劳务基础配置_查询配置 -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data[0].tvSequence', '期望值': '{{tvSequence}}', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-13 19:39:56 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 19:39:59 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 200, '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': '添加成功', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-13 19:40:00 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-13 19:40:00 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:40:00 | ERROR | 提取失败:提取表达式:data[0].tvSequence,没有提取到对应的值 -2023-07-13 19:40:00 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data[0].tvSequence', '期望值': '{{tvSequence}}', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-13 19:43:55 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 19:43:58 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 200, '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': '添加成功', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-13 19:43:59 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:43:59 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '104966', '实际值': '104966', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-13 19:44:23 | ERROR | | called load_built_in_comparators | error: 快看,异常了,别唧唧哇哇,块排查: load_built_in_comparators() missing 1 required positional argument: 'self' -2023-07-13 19:47:38 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:50:03 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/auth/loginByNotBip (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 19:50:04 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/ibs/api/ibs-lms-base/tvConfig/addTvSequence?t=1689249004213 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 19:50:05 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:50:05 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/ibs/api/ibs-lms-base/tvConfig/getTvInfo?t=1689249005341&projectId=104966 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 19:50:17 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -'Action' object has no attribute 'built_in_comparators' -2023-07-13 19:50:18 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:50:18 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -'Action' object has no attribute 'built_in_comparators' -2023-07-13 19:51:09 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -'Action' object has no attribute 'built_in_comparators' -2023-07-13 19:51:10 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 19:51:10 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -'Action' object has no attribute 'built_in_comparators' -2023-07-13 20:10:34 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/auth/loginByNotBip (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 20:10:35 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/ibs/api/ibs-lms-base/tvConfig/addTvSequence?t=1689250235406 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 20:10:36 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:10:36 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/test/user/ugs/ibs/api/ibs-lms-base/tvConfig/getTvInfo?t=1689250236535&projectId=104966 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-13 20:10:52 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -'Action' object has no attribute 'built_in_comparators' -2023-07-13 20:10:53 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:10:53 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -'Action' object has no attribute 'built_in_comparators' -2023-07-13 20:11:51 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:20:37 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:23:07 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:24:02 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:27:02 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:27:55 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:31:15 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 20:33:24 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 23:38:51 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -decorator() got an unexpected keyword argument 'json' -2023-07-13 23:38:52 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -decorator() got an unexpected keyword argument 'json' -2023-07-13 23:38:53 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-13 23:38:53 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -decorator() got an unexpected keyword argument 'params' diff --git a/OutPut/log/2023-07-14.log b/OutPut/log/2023-07-14.log deleted file mode 100644 index 77716b8..0000000 --- a/OutPut/log/2023-07-14.log +++ /dev/null @@ -1,199 +0,0 @@ -2023-07-14 00:15:44 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:15:44 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -'NoneType' object has no attribute 'json' -2023-07-14 00:15:45 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689264945235 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:15:45 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -'NoneType' object has no attribute 'json' -2023-07-14 00:15:46 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 00:15:46 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689264946368&projectId=3333 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:15:46 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -'NoneType' object has no attribute 'json' -2023-07-14 00:19:48 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:19:48 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:19:49 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689265189499 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:19:49 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689265189499 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:19:50 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 00:19:50 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689265190636&projectId=3333 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:19:50 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689265190636&projectId=3333 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:20:10 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 00:20:10 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 00:20:14 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689265212011 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 00:20:14 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689265212011 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 00:20:16 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 00:20:19 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689265216060&projectId=3333 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 00:20:19 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689265216060&projectId=3333 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 00:32:06 | ERROR | 发送请求失败: name 'self' is not defined -2023-07-14 00:32:06 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -name 'self' is not defined -2023-07-14 00:32:07 | ERROR | 发送请求失败: name 'self' is not defined -2023-07-14 00:32:07 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -name 'self' is not defined -2023-07-14 00:32:08 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 00:32:08 | ERROR | 发送请求失败: name 'self' is not defined -2023-07-14 00:32:08 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -name 'self' is not defined -2023-07-14 00:32:31 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:32:31 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:32:32 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689265952519 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:32:32 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689265952519 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:32:33 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 00:32:33 | ERROR | 发送请求失败: HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689265953669&projectId=3333 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:32:33 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689265953669&projectId=3333 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:39:00 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -module 'common.utils.logger' has no attribute 'error' -2023-07-14 00:39:01 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -module 'common.utils.logger' has no attribute 'error' -2023-07-14 00:39:03 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 00:39:03 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -module 'common.utils.logger' has no attribute 'error' -2023-07-14 00:42:32 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -module 'common.utils.logger' has no attribute 'error' -2023-07-14 00:42:33 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -module 'common.utils.logger' has no attribute 'error' -2023-07-14 00:42:34 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 00:42:34 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -module 'common.utils.logger' has no attribute 'error' -2023-07-14 00:46:03 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:46:04 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689266764798 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 00:46:05 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 00:46:05 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689266765926&projectId=3333 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 17:56:48 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 17:56:50 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 17:56:56 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689328610847 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 17:56:57 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 17:56:57 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 17:57:03 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689328617901&projectId=3333 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 18:05:55 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 18:05:56 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 18:06:05 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689329156326 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 18:06:06 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 18:06:06 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 18:06:20 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689329166696&projectId=3333 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:39:34 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 21:39:35 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 21:39:35 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689341975678 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 21:39:36 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 21:39:36 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 21:39:36 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689341976802&projectId=3333 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 21:45:50 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-14 21:45:55 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:45:55 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-14 21:45:56 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 21:45:59 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689342356074 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:45:59 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-14 21:46:00 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 21:46:00 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 21:46:03 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689342360415&projectId=3333 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:46:03 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-14 21:51:21 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-14 21:51:25 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:51:25 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-14 21:51:26 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 21:51:29 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689342686629 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:51:29 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-14 21:51:30 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 21:51:30 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 21:51:33 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689342690487&projectId=3333 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:51:33 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-14 21:57:41 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:57:42 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 21:57:45 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689343062620 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 21:57:46 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 21:57:46 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 21:57:49 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689343066559&projectId=3333 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 22:00:03 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 22:00:04 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 22:00:04 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689343204417 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 22:00:05 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 22:00:05 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 22:00:05 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689343205520&projectId=3333 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))) -2023-07-14 23:00:24 | ERROR | 异常用例: safe_2_登录_非BIP用户登录 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/login (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 23:00:26 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:00:28 | ERROR | 异常用例: safe_4_劳务基础配置_绑定TV -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/addTvSequence?t=1689346826007 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 23:00:30 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:00:30 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 23:00:33 | ERROR | 异常用例: safe_5_劳务基础配置_查询配置 -HTTPSConnectionPool(host='xxxx.com', port=443): Max retries exceeded with url: /test/api/getTvInfo?t=1689346830060&projectId=3333 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')) -2023-07-14 23:31:50 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:31:51 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:31:51 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 23:33:01 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:33:13 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:33:13 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 23:38:02 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:38:15 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:38:15 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 23:45:41 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:45:51 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-14 23:45:51 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 23:54:12 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 23:54:12 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-14 23:54:12 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-14 23:56:41 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 23:56:41 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-14 23:56:41 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-14 23:57:22 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-14 23:57:22 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-14 23:57:23 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 diff --git a/OutPut/log/2023-07-15.log b/OutPut/log/2023-07-15.log deleted file mode 100644 index 47f4952..0000000 --- a/OutPut/log/2023-07-15.log +++ /dev/null @@ -1,9 +0,0 @@ -2023-07-15 00:01:21 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-15 00:01:21 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-15 00:01:21 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-15 00:07:51 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-15 00:07:52 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-15 00:11:01 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-15 00:11:01 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 diff --git a/OutPut/log/2023-07-19.log b/OutPut/log/2023-07-19.log deleted file mode 100644 index c106c84..0000000 --- a/OutPut/log/2023-07-19.log +++ /dev/null @@ -1,357 +0,0 @@ -2023-07-19 20:53:52 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 20:53:52 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '{{response_time}}', '期望值': '20', '实际值': '{{response_time}}', '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 20:53:53 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 20:53:53 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': 'msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 20:53:54 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 20:53:54 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 20:56:29 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 20:56:30 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': 'msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 20:56:31 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 20:57:50 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 20:57:51 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': 'msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 20:57:52 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:01:29 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:01:29 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '83.557', '期望值': '20', '实际值': '83.557', '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 21:01:30 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:01:30 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'code', '期望值': 200, '实际值': 'code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': 'msg', '期望值': '添加成功', '实际值': 'msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:01:31 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:01:31 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:03:43 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:03:44 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:03:44 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '91.902', '期望值': '20', '实际值': '91.902', '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 21:03:44 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:03:45 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:03:45 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:03:45 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:03:47 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:03:47 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:03:47 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:04:20 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:04:21 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:04:22 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:04:23 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:04:47 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:04:47 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '89.434', '期望值': '20', '实际值': '89.434', '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 21:04:48 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:04:48 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:04:49 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:04:49 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:11:14 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:11:15 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:12:41 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:12:42 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:13:31 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:13:32 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:21:16 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:21:17 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:32:17 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:32:18 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:32:19 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:32:19 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:32:20 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:32:20 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 21:33:40 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '95.54700000000001', '期望值': '20', '实际值': '95.54700000000001', '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 21:33:41 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:33:41 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:33:42 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:33:42 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:50:15 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 108.14500000000001, '期望值': 20, '实际值': 108.14500000000001, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 21:50:16 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:50:16 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:50:17 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:50:17 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:55:46 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 108.132, '期望值': 20, '实际值': 108.132, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 21:55:47 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:55:47 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:55:48 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:55:48 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:58:22 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 124.445, '期望值': 20, '实际值': 124.445, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 21:58:23 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:58:23 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:58:24 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:58:24 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 21:58:53 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 93.627, '期望值': 20, '实际值': 93.627, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 21:58:54 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:58:54 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 21:58:55 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 21:58:55 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 22:00:10 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 99.395, '期望值': 20, '实际值': 99.395, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 22:00:11 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:00:11 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 22:00:12 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:00:12 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 22:02:38 | INFO | | 调用函数: load_built_in_comparators | args: () kwargs:{} -2023-07-19 22:02:38 | INFO | | 结束调用函数: load_built_in_comparators, duration:0.000013s -2023-07-19 22:02:38 | INFO | | 调用函数: clear_date | args: (,) kwargs:{} -2023-07-19 22:02:38 | INFO | | 调用函数: get_excel_init | args: (,) kwargs:{} -2023-07-19 22:02:38 | INFO | | 结束调用函数: get_excel_init, duration:0.000045s -2023-07-19 22:02:39 | INFO | | 结束调用函数: clear_date, duration:0.075347s -2023-07-19 22:02:39 | INFO | | 调用函数: get_excel_init | args: (,) kwargs:{} -2023-07-19 22:02:39 | INFO | | 结束调用函数: get_excel_init, duration:0.000043s -2023-07-19 22:02:39 | INFO | | 调用函数: EncryptData | args: () kwargs:{} -2023-07-19 22:02:39 | INFO | | 结束调用函数: EncryptData, duration:0.000001s -2023-07-19 22:02:39 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:02:39 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:02:39 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000026s -2023-07-19 22:02:39 | INFO | | 结束调用函数: set_bif_fun, duration:0.001842s -2023-07-19 22:02:39 | INFO | | 调用函数: get_excel_init | args: (,) kwargs:{} -2023-07-19 22:02:39 | INFO | | 结束调用函数: get_excel_init, duration:0.000045s -2023-07-19 22:02:39 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:02:39 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:02:39 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000008s -2023-07-19 22:02:39 | INFO | | 结束调用函数: set_bif_fun, duration:0.001865s -2023-07-19 22:02:39 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:02:39 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:02:39 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000008s -2023-07-19 22:02:39 | INFO | | 结束调用函数: set_bif_fun, duration:0.002050s -2023-07-19 22:02:40 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), None) kwargs:{} -2023-07-19 22:02:40 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000004s -2023-07-19 22:02:40 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), {'Url': '/auth/loginByNotBip', 'Headers': '{"Content-Type": "application/json"}', 'Query Str': None, 'Request Data Type': 'json', 'Request Data': '{"account": "{{account}}", "password": "{{passwd}}"}', 'Response': '', 'Assertion': '', 'Error Log': ''}) kwargs:{} -2023-07-19 22:02:40 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000180s -2023-07-19 22:02:40 | INFO | | 调用函数: substitute_data | args: (Action(), '{"account": "18127813600", "password": "ZHh5BTduCaPU+4Ni8Zpk62ynfZI5mc2hrXcMUpymgLkV3wrOjWiB97MZyWXO5TBAbYHG37HNoAejWNUUMnerQlFN52i40F3EIFrZ4Lq+9KIq4K8cfQriWDBSssy6i7DaiZcsZu1vI47Wz7+FShdOE2gpiO7iQo3+b4KoQS3ZZXA="}') kwargs:{'jp_dict': '{"tvSequence": "$..account"}'} -2023-07-19 22:02:40 | INFO | | 结束调用函数: substitute_data, duration:0.024628s -2023-07-19 22:02:40 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), '{"check":{{responseTime}},"comparator":"lt","expect":20}') kwargs:{} -2023-07-19 22:02:40 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000042s -2023-07-19 22:02:40 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 99.56, '期望值': 20, '实际值': 99.56, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 22:02:40 | INFO | | 调用函数: write_back | args: (,) kwargs:{'sheet_name': 'safe', 'i': 2, 'response': '{"code":"0","type":"success","data":{"id":"216897748901771157","userId":"216483504447804297","ibsUserId":7884,"mobile":"18127813600","bspToken":"a364383dd1cb02de8913ce569f33ef31","type":"user","avatar":null,"ncAccount":null,"timestamp":1689775367,"idpTokenId":null,"loginChannel":null,"clientType":null,"name":"陈勇志","btpToken":null,"account":"18127813600","accountType":"C","currentEnvId":null,"currentTenantId":"216260762345772077","currentAppId":"8d1f5bdc9c6648af84a98e2c017846c5","currentProjectId":"103654","currentOrgId":null,"currentMenuId":null,"currentOrgMenuId":null,"currentSelectedTab":"org","currentUrl":"/ibs/newLabor/basicConfig/Index","tenants":[{"id":"1623811301356297657","code":"1623811301356297657","fullName":"广东博嘉拓建筑测试租户","shortName":"广东博嘉拓建筑测试租户","envId":"6296f5e3960c4fdfb9c9357b581c853b","envName":"默认环境","tenantEnvs":null},{"id":"216572673247394736","code":"9C8D5715AAA44D4B8530AB2B7F627E1A","fullName":"安徽腾越建筑工程有限公司","shortName":"安徽腾越建筑工程有限公司","envId":"d1b4f959495f433fb1dd5400a78bce2c","envName":"默认环境","tenantEnvs":null},{"id":"216317749963825419","code":"C2C35D2543B34CA99366D9C76E45D01B","fullName":"沈阳腾越建筑测试租户","shortName":"沈阳腾越建筑测试租户","envId":"c4a70c0a1f5c4aaa83fcd390dcd898c6","envName":"默认环境","tenantEnvs":null},{"id":"216260762345772077","code":"216260762345772077","fullName":"广东腾越建筑工程有限公司","shortName":"广东腾越建筑工程有限公司","envId":"210712034943271000","envName":"默认环境","tenantEnvs":null},{"id":"216328986981406025","code":"TENANT_TEST","fullName":"智慧工地测试租户9","shortName":"智慧工地测试租户9","envId":"e7682a3876a343b483645b0c20da93a3","envName":"默认环境","tenantEnvs":null},{"id":"216365124588606373","code":"TENANT_TEST","fullName":"计划排程自动化测试","shortName":"计划排程自动化测试","envId":"80ce8eb5a7c941f8a6f57b8ecb61ec17","envName":"默认环境","tenantEnvs":null},{"id":"216674624791091228","code":"232E9186B1BE494E966F27BA7CF33AE2","fullName":"cyq测试","shortName":"cyq测试","envId":"ef3f8ed4792f4ef0a5e7d92af394d29c","envName":"默认环境","tenantEnvs":null},{"id":"216687529947792866","code":"9769454E01304245AEE83CE7E99537A8","fullName":"成本总控报表测试租户","shortName":"成本总控报表测试租户","envId":"5125917072884123bf9fe3966ffa4af2","envName":"默认环境","tenantEnvs":null},{"id":"216661417159402453","code":"216661417159402453","fullName":"科技建筑集团","shortName":"科技建筑集团","envId":"b23d88da977e467cb81dd7fb57de97d0","envName":"默认环境","tenantEnvs":null},{"id":"216281557054332425","code":"216281557054332425","fullName":"BIM材料用量计算","shortName":"BIM材料用量计算","envId":"7501c77b0ccd4b4d912451e5f74c1ba7","envName":"默认环境","tenantEnvs":null},{"id":"1320970534539886592","code":"1320970534539886592","fullName":"碧桂园集团","shortName":"碧桂园集团","envId":"1320970534539886592","envName":"默认环境","tenantEnvs":null}],"loginAppDto":null},"msg":null,"succeed":true}', 'test_result': 'FAIL', 'assert_log': "('FAIL', [{'check_rt': None, '检查项': 99.56, '期望值': 20, '实际值': 99.56, '断言方法': 'lt:实际值小于期望值'}])"} -2023-07-19 22:02:40 | INFO | | 结束调用函数: write_back, duration:0.084348s -2023-07-19 22:02:40 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:02:40 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:02:40 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000026s -2023-07-19 22:02:40 | INFO | | 结束调用函数: set_bif_fun, duration:0.002193s -2023-07-19 22:02:40 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:02:40 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:02:40 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000008s -2023-07-19 22:02:40 | INFO | | 结束调用函数: set_bif_fun, duration:0.001733s -2023-07-19 22:02:41 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), None) kwargs:{} -2023-07-19 22:02:41 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000004s -2023-07-19 22:02:41 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), {'Url': '/ibs/api/ibs-lms-base/tvConfig/addTvSequence?t={{get_timestamp()}}', 'Headers': '{"tvSequence":"{{tvSequence}}","Content-Type":"application/json;charset=utf-8","BSP_TOKEN":"{{BSP_TOKEN}}","BSP_USER_TENANT":"{{BSP_USER_TENANT}}"}', 'Query Str': None, 'Request Data Type': 'json', 'Request Data': '{"projectId":"{{projectId}}","tvSequence":"{{random_string()}}"}', 'Response': '', 'Assertion': '', 'Error Log': ''}) kwargs:{} -2023-07-19 22:02:41 | INFO | | 调用函数: get_timestamp | args: () kwargs:{} -2023-07-19 22:02:41 | INFO | | 结束调用函数: get_timestamp, duration:0.000015s -2023-07-19 22:02:41 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:02:41 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.005535s -2023-07-19 22:02:41 | INFO | | 调用函数: substitute_data | args: (Action(), '{"projectId":"{{projectId}}","tvSequence":"lKmwDNYWLSUOMbLzxNfT"}') kwargs:{'jp_dict': '{"tvSequence": "$..tvSequence"}'} -2023-07-19 22:02:41 | INFO | | 结束调用函数: substitute_data, duration:0.023907s -2023-07-19 22:02:41 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), '[{"check":"$.code","comparator":"eq","expect":200},{"check":"$.msg","comparator":"eq","expect":"添加成功"}]') kwargs:{} -2023-07-19 22:02:41 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000026s -2023-07-19 22:02:41 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 22:02:41 | INFO | | 调用函数: write_back | args: (,) kwargs:{'sheet_name': 'safe', 'i': 4, 'response': '{"code":"AG_100003","msg":"您的登陆状态已过期,请重新登陆。","showType":2,"succeed":false}', 'test_result': 'FAIL', 'assert_log': "('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}])"} -2023-07-19 22:02:41 | INFO | | 结束调用函数: write_back, duration:0.076274s -2023-07-19 22:02:41 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:02:41 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:02:41 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000011s -2023-07-19 22:02:41 | INFO | | 结束调用函数: set_bif_fun, duration:0.002281s -2023-07-19 22:02:42 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), None) kwargs:{} -2023-07-19 22:02:42 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000002s -2023-07-19 22:02:42 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), {'Url': '/ibs/api/ibs-lms-base/tvConfig/listTvSequence?t={{get_timestamp()}}&projectId={{projectId}}', 'Headers': '{"Content-Type":"application/json;charset=utf-8","BSP_TOKEN":"{{BSP_TOKEN}}","BSP_USER_TENANT":"{{BSP_USER_TENANT}}","test":"{{tvSequence}}"}', 'Query Str': None, 'Request Data Type': 'params', 'Request Data': None, 'Response': '', 'Assertion': '', 'Error Log': ''}) kwargs:{} -2023-07-19 22:02:42 | INFO | | 调用函数: get_timestamp | args: () kwargs:{} -2023-07-19 22:02:42 | INFO | | 结束调用函数: get_timestamp, duration:0.000007s -2023-07-19 22:02:42 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:02:42 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.003517s -2023-07-19 22:02:42 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), '{"check":"data.projectId","comparator":"contained_by","expect":"{{projectId}}"}') kwargs:{} -2023-07-19 22:02:42 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000050s -2023-07-19 22:02:42 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 22:02:42 | INFO | | 调用函数: write_back | args: (,) kwargs:{'sheet_name': 'safe', 'i': 5, 'response': '{"code":"AG_100003","msg":"您的登陆状态已过期,请重新登陆。","showType":2,"succeed":false}', 'test_result': 'FAIL', 'assert_log': "('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}])"} -2023-07-19 22:02:42 | INFO | | 结束调用函数: write_back, duration:0.073453s -2023-07-19 22:02:42 | INFO | 所有用例执行完毕 -2023-07-19 22:03:42 | INFO | | 调用函数: load_built_in_comparators | args: () kwargs:{} -2023-07-19 22:03:42 | INFO | | 结束调用函数: load_built_in_comparators, duration:0.000036s -2023-07-19 22:03:43 | INFO | | 调用函数: clear_date | args: (,) kwargs:{} -2023-07-19 22:03:43 | INFO | | 调用函数: get_excel_init | args: (,) kwargs:{} -2023-07-19 22:03:43 | INFO | | 结束调用函数: get_excel_init, duration:0.000045s -2023-07-19 22:03:43 | INFO | | 结束调用函数: clear_date, duration:0.075481s -2023-07-19 22:03:43 | INFO | | 调用函数: get_excel_init | args: (,) kwargs:{} -2023-07-19 22:03:43 | INFO | | 结束调用函数: get_excel_init, duration:0.000044s -2023-07-19 22:03:43 | INFO | | 调用函数: EncryptData | args: () kwargs:{} -2023-07-19 22:03:43 | INFO | | 结束调用函数: EncryptData, duration:0.000001s -2023-07-19 22:03:43 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:03:43 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:03:43 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000023s -2023-07-19 22:03:43 | INFO | | 结束调用函数: set_bif_fun, duration:0.002302s -2023-07-19 22:03:43 | INFO | | 调用函数: get_excel_init | args: (,) kwargs:{} -2023-07-19 22:03:43 | INFO | | 结束调用函数: get_excel_init, duration:0.000042s -2023-07-19 22:03:43 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:03:43 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:03:43 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000008s -2023-07-19 22:03:43 | INFO | | 结束调用函数: set_bif_fun, duration:0.001910s -2023-07-19 22:03:43 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:03:43 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:03:43 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000007s -2023-07-19 22:03:43 | INFO | | 结束调用函数: set_bif_fun, duration:0.002326s -2023-07-19 22:03:44 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), None) kwargs:{} -2023-07-19 22:03:44 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000006s -2023-07-19 22:03:44 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), {'Url': '/auth/loginByNotBip', 'Headers': '{"Content-Type": "application/json"}', 'Query Str': None, 'Request Data Type': 'json', 'Request Data': '{"account": "{{account}}", "password": "{{passwd}}"}', 'Response': '', 'Assertion': '', 'Error Log': ''}) kwargs:{} -2023-07-19 22:03:44 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000180s -2023-07-19 22:03:44 | INFO | | 调用函数: substitute_data | args: (Action(), '{"account": "18127813600", "password": "ZHh5BTduCaPU+4Ni8Zpk62ynfZI5mc2hrXcMUpymgLkV3wrOjWiB97MZyWXO5TBAbYHG37HNoAejWNUUMnerQlFN52i40F3EIFrZ4Lq+9KIq4K8cfQriWDBSssy6i7DaiZcsZu1vI47Wz7+FShdOE2gpiO7iQo3+b4KoQS3ZZXA="}') kwargs:{'jp_dict': '{"tvSequence": "$..account"}'} -2023-07-19 22:03:44 | INFO | | 结束调用函数: substitute_data, duration:0.037463s -2023-07-19 22:03:44 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), '{"check":{{responseTime}},"comparator":"lt","expect":20}') kwargs:{} -2023-07-19 22:03:44 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000044s -2023-07-19 22:03:44 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 86.245, '期望值': 20, '实际值': 86.245, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 22:03:44 | INFO | | 调用函数: write_back | args: (,) kwargs:{'sheet_name': 'safe', 'i': 2, 'response': '{"code":"0","type":"success","data":{"id":"216897754319782156","userId":"216483504447804297","ibsUserId":7884,"mobile":"18127813600","bspToken":"2608e7cd6acb3d8291a0a11035cbd3b1","type":"user","avatar":null,"ncAccount":null,"timestamp":1689775431,"idpTokenId":null,"loginChannel":null,"clientType":null,"name":"陈勇志","btpToken":null,"account":"18127813600","accountType":"C","currentEnvId":null,"currentTenantId":"216260762345772077","currentAppId":"8d1f5bdc9c6648af84a98e2c017846c5","currentProjectId":"103654","currentOrgId":null,"currentMenuId":null,"currentOrgMenuId":null,"currentSelectedTab":"org","currentUrl":"/ibs/newLabor/basicConfig/Index","tenants":[{"id":"1623811301356297657","code":"1623811301356297657","fullName":"广东博嘉拓建筑测试租户","shortName":"广东博嘉拓建筑测试租户","envId":"6296f5e3960c4fdfb9c9357b581c853b","envName":"默认环境","tenantEnvs":null},{"id":"216572673247394736","code":"9C8D5715AAA44D4B8530AB2B7F627E1A","fullName":"安徽腾越建筑工程有限公司","shortName":"安徽腾越建筑工程有限公司","envId":"d1b4f959495f433fb1dd5400a78bce2c","envName":"默认环境","tenantEnvs":null},{"id":"216317749963825419","code":"C2C35D2543B34CA99366D9C76E45D01B","fullName":"沈阳腾越建筑测试租户","shortName":"沈阳腾越建筑测试租户","envId":"c4a70c0a1f5c4aaa83fcd390dcd898c6","envName":"默认环境","tenantEnvs":null},{"id":"216260762345772077","code":"216260762345772077","fullName":"广东腾越建筑工程有限公司","shortName":"广东腾越建筑工程有限公司","envId":"210712034943271000","envName":"默认环境","tenantEnvs":null},{"id":"216328986981406025","code":"TENANT_TEST","fullName":"智慧工地测试租户9","shortName":"智慧工地测试租户9","envId":"e7682a3876a343b483645b0c20da93a3","envName":"默认环境","tenantEnvs":null},{"id":"216365124588606373","code":"TENANT_TEST","fullName":"计划排程自动化测试","shortName":"计划排程自动化测试","envId":"80ce8eb5a7c941f8a6f57b8ecb61ec17","envName":"默认环境","tenantEnvs":null},{"id":"216674624791091228","code":"232E9186B1BE494E966F27BA7CF33AE2","fullName":"cyq测试","shortName":"cyq测试","envId":"ef3f8ed4792f4ef0a5e7d92af394d29c","envName":"默认环境","tenantEnvs":null},{"id":"216687529947792866","code":"9769454E01304245AEE83CE7E99537A8","fullName":"成本总控报表测试租户","shortName":"成本总控报表测试租户","envId":"5125917072884123bf9fe3966ffa4af2","envName":"默认环境","tenantEnvs":null},{"id":"216661417159402453","code":"216661417159402453","fullName":"科技建筑集团","shortName":"科技建筑集团","envId":"b23d88da977e467cb81dd7fb57de97d0","envName":"默认环境","tenantEnvs":null},{"id":"216281557054332425","code":"216281557054332425","fullName":"BIM材料用量计算","shortName":"BIM材料用量计算","envId":"7501c77b0ccd4b4d912451e5f74c1ba7","envName":"默认环境","tenantEnvs":null},{"id":"1320970534539886592","code":"1320970534539886592","fullName":"碧桂园集团","shortName":"碧桂园集团","envId":"1320970534539886592","envName":"默认环境","tenantEnvs":null}],"loginAppDto":null},"msg":null,"succeed":true}', 'test_result': 'FAIL', 'assert_log': "('FAIL', [{'check_rt': None, '检查项': 86.245, '期望值': 20, '实际值': 86.245, '断言方法': 'lt:实际值小于期望值'}])"} -2023-07-19 22:03:44 | INFO | | 结束调用函数: write_back, duration:0.073642s -2023-07-19 22:03:44 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:03:44 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:03:44 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000008s -2023-07-19 22:03:44 | INFO | | 结束调用函数: set_bif_fun, duration:0.002119s -2023-07-19 22:03:44 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:03:44 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:03:44 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000007s -2023-07-19 22:03:44 | INFO | | 结束调用函数: set_bif_fun, duration:0.002234s -2023-07-19 22:03:45 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), None) kwargs:{} -2023-07-19 22:03:45 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000003s -2023-07-19 22:03:45 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), {'Url': '/ibs/api/ibs-lms-base/tvConfig/addTvSequence?t={{get_timestamp()}}', 'Headers': '{"tvSequence":"{{tvSequence}}","Content-Type":"application/json;charset=utf-8","BSP_TOKEN":"{{BSP_TOKEN}}","BSP_USER_TENANT":"{{BSP_USER_TENANT}}"}', 'Query Str': None, 'Request Data Type': 'json', 'Request Data': '{"projectId":"{{projectId}}","tvSequence":"{{random_string()}}"}', 'Response': '', 'Assertion': '', 'Error Log': ''}) kwargs:{} -2023-07-19 22:03:45 | INFO | | 调用函数: get_timestamp | args: () kwargs:{} -2023-07-19 22:03:45 | INFO | | 结束调用函数: get_timestamp, duration:0.000014s -2023-07-19 22:03:45 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:03:45 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.005656s -2023-07-19 22:03:45 | INFO | | 调用函数: substitute_data | args: (Action(), '{"projectId":"{{projectId}}","tvSequence":"GSovTnbELYHBqzqxCdzZ"}') kwargs:{'jp_dict': '{"tvSequence": "$..tvSequence"}'} -2023-07-19 22:03:45 | INFO | | 结束调用函数: substitute_data, duration:0.020842s -2023-07-19 22:03:45 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), '[{"check":"$.code","comparator":"eq","expect":200},{"check":"$.msg","comparator":"eq","expect":"添加成功"}]') kwargs:{} -2023-07-19 22:03:45 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000050s -2023-07-19 22:03:45 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 22:03:45 | INFO | | 调用函数: write_back | args: (,) kwargs:{'sheet_name': 'safe', 'i': 4, 'response': '{"code":"AG_100003","msg":"您的登陆状态已过期,请重新登陆。","showType":2,"succeed":false}', 'test_result': 'FAIL', 'assert_log': "('FAIL', [{'check_rt': None, '检查项': '$.code', '期望值': 200, '实际值': '$.code', '断言方法': 'eq:实际值与期望值相等'}, {'check_rt': None, '检查项': '$.msg', '期望值': '添加成功', '实际值': '$.msg', '断言方法': 'eq:实际值与期望值相等'}])"} -2023-07-19 22:03:45 | INFO | | 结束调用函数: write_back, duration:0.081924s -2023-07-19 22:03:45 | INFO | | 调用函数: set_bif_fun | args: (Action(), ) kwargs:{} -2023-07-19 22:03:45 | INFO | | 调用函数: load_built_in_functions | args: (Action(), ) kwargs:{} -2023-07-19 22:03:45 | INFO | | 结束调用函数: load_built_in_functions, duration:0.000009s -2023-07-19 22:03:45 | INFO | | 结束调用函数: set_bif_fun, duration:0.002199s -2023-07-19 22:03:46 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), None) kwargs:{} -2023-07-19 22:03:46 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000003s -2023-07-19 22:03:47 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), {'Url': '/ibs/api/ibs-lms-base/tvConfig/listTvSequence?t={{get_timestamp()}}&projectId={{projectId}}', 'Headers': '{"Content-Type":"application/json;charset=utf-8","BSP_TOKEN":"{{BSP_TOKEN}}","BSP_USER_TENANT":"{{BSP_USER_TENANT}}","test":"{{tvSequence}}"}', 'Query Str': None, 'Request Data Type': 'params', 'Request Data': None, 'Response': '', 'Assertion': '', 'Error Log': ''}) kwargs:{} -2023-07-19 22:03:47 | INFO | | 调用函数: get_timestamp | args: () kwargs:{} -2023-07-19 22:03:47 | INFO | | 结束调用函数: get_timestamp, duration:0.000014s -2023-07-19 22:03:47 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:03:47 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.005533s -2023-07-19 22:03:47 | INFO | | 调用函数: replace_dependent_parameter | args: (Action(), '{"check":"data.projectId","comparator":"contained_by","expect":"{{projectId}}"}') kwargs:{} -2023-07-19 22:03:47 | INFO | | 结束调用函数: replace_dependent_parameter, duration:0.000083s -2023-07-19 22:03:47 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 22:03:47 | INFO | | 调用函数: write_back | args: (,) kwargs:{'sheet_name': 'safe', 'i': 5, 'response': '{"code":"AG_100003","msg":"您的登陆状态已过期,请重新登陆。","showType":2,"succeed":false}', 'test_result': 'FAIL', 'assert_log': "('FAIL', [{'check_rt': None, '检查项': 'data.projectId', '期望值': '103654', '实际值': 'data.projectId', '断言方法': 'contained_by:实际值被包含在期望值中'}])"} -2023-07-19 22:03:47 | INFO | | 结束调用函数: write_back, duration:0.088302s -2023-07-19 22:03:47 | INFO | 所有用例执行完毕 -2023-07-19 22:13:25 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -name 'check_rt' is not defined -2023-07-19 22:13:26 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:13:26 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -name 'check_rt' is not defined -2023-07-19 22:13:27 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:13:27 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-19 22:13:27 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -name 'check_rt' is not defined -2023-07-19 22:14:00 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 108.67699999999999, '期望值': 20, '实际值': 108.67699999999999, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 22:14:02 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:14:02 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 22:14:03 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:14:03 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-19 22:14:03 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 22:15:57 | ERROR | 提取失败:提取表达式:700,没有提取到对应的值 -2023-07-19 22:16:56 | ERROR | 提取失败:提取表达式:700,没有提取到对应的值 -2023-07-19 22:17:30 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 94.92699999999999, '期望值': 20, '实际值': 94.92699999999999, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 22:17:31 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:17:31 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-19 22:17:32 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-19 22:17:32 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-19 22:17:32 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 22:18:47 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-19 22:27:34 | ERROR | 异常用例: **safe_2_登录_非BIP用户登录** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 114.75200000000001, '期望值': 20, '实际值': 114.75200000000001, '断言方法': 'lt:实际值小于期望值'}]) : FAIL 存在结果元组中 -2023-07-19 22:27:36 | ERROR | 提取失败:提取表达式:data.projectId,没有提取到对应的值 -2023-07-19 22:27:36 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': 'data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-19 22:29:28 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-19 22:29:28 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 diff --git a/OutPut/log/2023-07-20.log b/OutPut/log/2023-07-20.log deleted file mode 100644 index 4c341e4..0000000 --- a/OutPut/log/2023-07-20.log +++ /dev/null @@ -1,15 +0,0 @@ -2023-07-20 23:39:11 | ERROR | 查询异常 sql: select username,password as pwd from user where username ='luoshunwen003'; -2023-07-20 23:39:11 | ERROR | 数据库操作异常: 'MysqlClient' object has no attribute 'cursor' -2023-07-20 23:39:11 | ERROR | | called execute_sql | error: 快看,异常了,别唧唧哇哇,快排查!!: 'MysqlClient' object has no attribute 'cursor' -2023-07-20 23:39:11 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-20 23:40:14 | ERROR | 查询异常 sql: select username,password as pwd from lea.user where username ='luoshunwen003'; -2023-07-20 23:40:14 | ERROR | 数据库操作异常: 'MysqlClient' object has no attribute 'cursor' -2023-07-20 23:40:14 | ERROR | | called execute_sql | error: 快看,异常了,别唧唧哇哇,快排查!!: 'MysqlClient' object has no attribute 'cursor' -2023-07-20 23:40:14 | ERROR | 被提取对象非字典、非字符串、非列表,不执行jsonpath提取,被提取对象: None -2023-07-20 23:40:23 | ERROR | 查询异常 sql: select username,password as pwd from lea.user where username ='luoshunwen003'; -2023-07-20 23:40:23 | ERROR | 数据库操作异常: 'MysqlClient' object has no attribute 'cursor' -2023-07-20 23:40:23 | ERROR | | called execute_sql | error: 快看,异常了,别唧唧哇哇,快排查!!: 'MysqlClient' object has no attribute 'cursor' -2023-07-20 23:41:11 | ERROR | 查询异常 sql: select username,password as pwd from lea.user where username ='luoshunwen003'; -2023-07-20 23:41:11 | ERROR | 数据库操作异常: 'MysqlClient' object has no attribute 'cursor' -2023-07-20 23:42:16 | ERROR | 查询异常 sql: select username,password as pwd from lea.user where username ='luoshunwen003'; -2023-07-20 23:42:16 | ERROR | 数据库操作异常: 'MysqlClient' object has no attribute 'cursor' diff --git a/OutPut/log/2023-07-21.log b/OutPut/log/2023-07-21.log deleted file mode 100644 index 9f571b3..0000000 --- a/OutPut/log/2023-07-21.log +++ /dev/null @@ -1,37 +0,0 @@ -2023-07-21 00:15:54 | ERROR | 执行 sql 失败:{'select': {'select_one': "select username,password as pwd from user where username ='luoshunwen003';"}},异常信息:'MysqlClient' object has no attribute 'do_mysql' -2023-07-21 00:15:55 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-21 00:15:55 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-21 00:15:56 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-21 00:15:56 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:15:56 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:16:39 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:16:39 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:18:28 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:18:28 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:19:03 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:19:03 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:20:12 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:20:12 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:41:18 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:41:18 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:42:07 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:42:07 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:44:24 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:44:24 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:49:16 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:49:16 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-21 00:52:03 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-21 00:52:03 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 diff --git a/OutPut/log/2023-07-31.log b/OutPut/log/2023-07-31.log deleted file mode 100644 index 8a2f444..0000000 --- a/OutPut/log/2023-07-31.log +++ /dev/null @@ -1,32 +0,0 @@ -2023-07-31 20:25:00 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-31 20:25:01 | ERROR | 异常用例: **safe_4_劳务基础配置_绑定TV** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.code', '期望值': 200, '实际值': 'AG_100003', '断言方法': 'eq:实际值与期望值相等'}, {'检查项': '$.msg', '期望值': '添加成功', '实际值': '您的登陆状态已过期,请重新登陆。', '断言方法': 'eq:实际值与期望值相等'}]) : FAIL 存在结果元组中 -2023-07-31 20:25:02 | ERROR | key:,在关联参数表中查询不到,请检查关联参数字段提取及填写是否正常 - -2023-07-31 20:25:02 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-31 20:25:02 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-31 20:57:50 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-31 20:57:50 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'FAIL' unexpectedly found in ('FAIL', [{'检查项': '$.data.projectId', '期望值': '103654', '实际值': [], '断言方法': 'contained_by:实际值被包含在期望值中'}]) : FAIL 存在结果元组中 -2023-07-31 21:16:44 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-31 21:27:15 | ERROR | | called clear_date | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-31 21:27:16 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-31 21:27:17 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-31 21:27:18 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-31 21:27:18 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'in ' requires string as left operand, not list -2023-07-31 21:27:18 | ERROR | | called write_back | error: 快看,异常了,别唧唧哇哇,快排查!!: [Errno 13] Permission denied: 'E:\\apitest\\cases\\cases\\test_api.xlsx' -2023-07-31 21:27:57 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-31 21:27:57 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'in ' requires string as left operand, not list -2023-07-31 21:32:53 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-31 21:32:53 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'in ' requires string as left operand, not list -2023-07-31 21:46:05 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-31 21:46:05 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'in ' requires string as left operand, not list -2023-07-31 21:51:08 | ERROR | 提取失败:提取表达式:$.data.projectId,没有提取到对应的值 -2023-07-31 21:51:08 | ERROR | 异常用例: **safe_5_劳务基础配置_查询配置** -'in ' requires string as left operand, not list diff --git a/OutPut/reports/report.html b/OutPut/reports/report.html index 9bbc519..0073b2f 100644 --- a/OutPut/reports/report.html +++ b/OutPut/reports/report.html @@ -220,17 +220,17 @@
- 2023-08-22 09:28:06 + 2023-09-04 10:22:10
- 6 + 12
- 3.32 S + 17.29 S
@@ -240,11 +240,11 @@
- 3 + 0
- 50% + 0%
@@ -269,6 +269,419 @@ + + 2023-09-04 10:22:10 + 12 + 0 + 0% + + + + 2023-09-04 10:21:17 + 12 + 4 + 33% + + + + 2023-09-04 10:16:45 + 12 + 0 + 0% + + + + 2023-09-04 09:50:28 + 12 + 4 + 33% + + + + 2023-09-04 09:47:29 + 12 + 4 + 33% + + + + 2023-09-04 09:46:47 + 12 + 4 + 33% + + + + 2023-09-04 09:42:44 + 12 + 4 + 33% + + + + 2023-09-04 09:34:37 + 12 + 4 + 33% + + + + 2023-09-04 09:32:32 + 12 + 4 + 33% + + + + 2023-09-04 09:26:24 + 12 + 4 + 33% + + + + 2023-09-04 09:22:37 + 12 + 4 + 33% + + + + 2023-09-04 09:14:18 + 12 + 4 + 33% + + + + 2023-09-04 09:10:01 + 12 + 4 + 33% + + + + 2023-09-04 09:09:31 + 12 + 4 + 33% + + + + 2023-09-04 08:56:10 + 12 + 4 + 33% + + + + 2023-08-31 17:52:59 + 12 + 4 + 33% + + + + 2023-08-31 17:41:13 + 12 + 4 + 33% + + + + 2023-08-31 17:36:28 + 12 + 0 + 0% + + + + 2023-08-31 17:33:25 + 12 + 3 + 25% + + + + 2023-08-31 17:14:56 + 12 + 3 + 25% + + + + 2023-08-31 17:05:53 + 12 + 0 + 0% + + + + 2023-08-31 16:55:23 + 12 + 0 + 0% + + + + 2023-08-31 16:52:18 + 12 + 3 + 25% + + + + 2023-08-31 16:50:10 + 12 + 0 + 0% + + + + 2023-08-31 16:03:23 + 12 + 0 + 0% + + + + 2023-08-31 15:58:11 + 12 + 0 + 0% + + + + 2023-08-31 15:56:04 + 12 + 0 + 0% + + + + 2023-08-31 15:49:58 + 12 + 3 + 25% + + + + 2023-08-31 15:39:57 + 12 + 1 + 8% + + + + 2023-08-31 15:34:42 + 12 + 3 + 25% + + + + 2023-08-31 15:32:53 + 12 + 3 + 25% + + + + 2023-08-31 15:20:43 + 12 + 3 + 25% + + + + 2023-08-31 15:15:49 + 12 + 0 + 0% + + + + 2023-08-31 15:14:23 + 12 + 0 + 0% + + + + 2023-08-31 15:03:39 + 12 + 0 + 0% + + + + 2023-08-31 14:56:26 + 12 + 0 + 0% + + + + 2023-08-31 14:46:50 + 6 + 0 + 0% + + + + 2023-08-31 14:42:01 + 6 + 0 + 0% + + + + 2023-08-31 14:34:45 + 6 + 0 + 0% + + + + 2023-08-31 14:24:12 + 6 + 1 + 16% + + + + 2023-08-31 11:08:45 + 6 + 3 + 50% + + + + 2023-08-31 11:07:29 + 6 + 3 + 50% + + + + 2023-08-31 11:06:05 + 6 + 3 + 50% + + + + 2023-08-31 11:05:06 + 6 + 3 + 50% + + + + 2023-08-31 11:02:25 + 6 + 3 + 50% + + + + 2023-08-31 10:54:11 + 6 + 3 + 50% + + + + 2023-08-31 10:52:43 + 6 + 3 + 50% + + + + 2023-08-31 10:52:00 + 6 + 3 + 50% + + + + 2023-08-31 10:50:59 + 6 + 3 + 50% + + + + 2023-08-31 10:48:24 + 6 + 3 + 50% + + + + 2023-08-31 10:41:00 + 6 + 3 + 50% + + + + 2023-08-31 10:37:07 + 6 + 3 + 50% + + + + 2023-08-31 10:35:27 + 6 + 3 + 50% + + + + 2023-08-31 10:34:39 + 6 + 3 + 50% + + + + 2023-08-31 10:33:31 + 6 + 3 + 50% + + + + 2023-08-31 10:27:40 + 6 + 3 + 50% + + + + 2023-08-31 10:14:28 + 6 + 3 + 50% + + + + 2023-08-31 10:12:20 + 6 + 0 + 0% + + + + 2023-08-31 10:11:56 + 6 + 0 + 0% + + 2023-08-22 09:28:06 6 @@ -1295,9 +1708,9 @@ TestProjectApi test_api_002_注册 正确的随机邮箱注册成功 - 1.76s + 3.59s - 成功 + 错误 @@ -1306,96 +1719,6 @@ -
| 执行 sql 成功--> {'select_one': [{'e_name': 'Ben', 'e_salary': 5000, 'e_dep': 'b2'}]}
-pm----------------> {'Url': '/api/register', 'Headers': '{"Content-Type": "application/json"}', 'HeadersCrypto': None, 'QueryString': None, 'RequestDataType': 'json', 'RequestData': '{"email": "{{email}}", "password": "{{password}}"}', 'RequestDataCrypto': None, 'Response': '', 'Assertion': '', 'ErrorLog': '', None: None}
-| 第1次未处理过得请求参数:(Action(), 'https://reqres.in', '/api/register', 'post') -- {'json': '{"email": "eve.holt@reqres.in", "password": "pistol"}', 'headers': '{"Content-Type": "application/json"}', 'params': None}
-| 请求地址 --> https://reqres.in/api/register
-| 请求方法 --> POST
-| 请求头 --> {'Content-Type': 'application/json', 'Content-Length': '53'}
-| 请求 body --> b'{"email": "eve.holt@reqres.in", "password": "pistol"}'
-| 接口状态--> 200
-| 接口耗时--> 0:00:01.171007
-| 接口响应--> {"id":4,"token":"QpwL5tke4Pnpja7X4"}
-| 断言结果-->[{'检查项': '200', '期望值': '200', '实际值': '200', '断言方法': 'eq:实际值与期望值相等', '断言结果': '通过'}]
-
---------------------------------------------------我是分割线--------------------------------------------------
-test_api_002_注册 (test_executor.TestProjectApi)执行——>【通过】
-
- - - - - - - 3 - TestProjectApi - test_api_003_登录 - 注册成功的账号可以登录成功 - 0.957s - - 成功 - - - - - - - - -
| 第1次未处理过得请求参数:(Action(), 'https://reqres.in', '/api/login', 'post') -- {'json': '{"email": "eve.holt@reqres.in", "password": "pistol"}', 'headers': '{"Content-Type": "application/json"}', 'params': None}
-| 请求地址 --> https://reqres.in/api/login
-| 请求方法 --> POST
-| 请求头 --> {'Content-Type': 'application/json', 'Content-Length': '53'}
-| 请求 body --> b'{"email": "eve.holt@reqres.in", "password": "pistol"}'
-| 接口状态--> 200
-| 接口耗时--> 0:00:00.419791
-| 接口响应--> {"token":"QpwL5tke4Pnpja7X4"}
-请求地址 --> https://reqres.in/api/login
-请求头 --> {'Content-Type': 'application/json', 'Content-Length': '53'}
-请求 body --> b'{"email": "eve.holt@reqres.in", "password": "pistol"}'
-接口状态--> 200
-接口耗时--> 0:00:00.419791
-接口响应--> {"token":"QpwL5tke4Pnpja7X4"}
-| 断言结果-->[{'检查项': '200', '期望值': '200', '实际值': '200', '断言方法': 'eq:实际值与期望值相等', '断言结果': '通过'}, {'检查项': 419.79, '期望值': 300, '实际值': 419.79, '断言方法': 'gte:实际值大于或等于期望值', '断言结果': '通过'}]
-
---------------------------------------------------我是分割线--------------------------------------------------
-test_api_003_登录 (test_executor.TestProjectApi)执行——>【通过】
-
- - - - - - - 4 - TestProjectApi - test_api_004_用户列表 - 查询用户列表 - 0.338s - - 失败 - - - - - - - - -
| 第1次未处理过得请求参数:(Action(), 'https://reqres.in', '/api/users', 'get') -- {'params': None, 'headers': '{"Content-Type":"application/json;charset=utf-8","token":"QpwL5tke4Pnpja7X4"}'}
-| 请求地址 --> https://reqres.in/api/users
-| 请求方法 --> GET
-| 请求头 --> {'Content-Type': 'application/json;charset=utf-8', 'token': 'QpwL5tke4Pnpja7X4'}
-| 请求 body --> None
-| 接口状态--> 200
-| 接口耗时--> 0:00:00.236277
-| 接口响应--> {"page":1,"per_page":6,"total":12,"total_pages":2,"data":[{"id":1,"email":"george.bluth@reqres.in","first_name":"George","last_name":"Bluth","avatar":"https://reqres.in/img/faces/1-image.jpg"},{"id":2,"email":"janet.weaver@reqres.in","first_name":"Janet","last_name":"Weaver","avatar":"https://reqres.in/img/faces/2-image.jpg"},{"id":3,"email":"emma.wong@reqres.in","first_name":"Emma","last_name":"Wong","avatar":"https://reqres.in/img/faces/3-image.jpg"},{"id":4,"email":"eve.holt@reqres.in","first_name":"Eve","last_name":"Holt","avatar":"https://reqres.in/img/faces/4-image.jpg"},{"id":5,"email":"charles.morris@reqres.in","first_name":"Charles","last_name":"Morris","avatar":"https://reqres.in/img/faces/5-image.jpg"},{"id":6,"email":"tracey.ramos@reqres.in","first_name":"Tracey","last_name":"Ramos","avatar":"https://reqres.in/img/faces/6-image.jpg"}],"support":{"url":"https://reqres.in/#support-heading","text":"To keep ReqRes free, contributions towards server costs are appreciated!"}}
-| 断言结果-->[{'检查项': '200', '期望值': 200, '实际值': '200', '断言方法': 'eq:实际值与期望值相等', '断言结果': '失败'}]
-
---------------------------------------------------我是分割线--------------------------------------------------
-test_api_004_用户列表 (test_executor.TestProjectApi)执行——>【失败】
-
-
Traceback (most recent call last):
 
@@ -1415,35 +1738,157 @@ test_api_004_用户列表 (test_executor.TestProjectApi)执行——>【失败 return func(self, params, *args, **kwargs) -
  File "D:\app\apitest\test_script\test_executor.py", line 52, in test_api
-    self.action.execute_validation(excel, sheet, iid, name, desc, expected)
+                        
  File "D:\app\apitest\test_script\test_executor.py", line 50, in test_api
+    self.action.send_request(host, method, ex_request_data)
 
-
  File "D:\app\apitest\common\utils\action.py", line 85, in execute_validation
-    raise e
+                        
  File "D:\app\apitest\common\utils\decorators.py", line 197, in decorator
+    response = func(self, host, method, extract_request_data)
 
-
  File "D:\app\apitest\common\utils\action.py", line 79, in execute_validation
-    self.run_validate(expected, self.response_json)
+                        
  File "D:\app\apitest\common\core\action.py", line 37, in send_request
+    self.http_client(host, url, method, **kwargs)
 
-
  File "D:\app\apitest\common\validation\validator.py", line 115, in run_validate
-    self.validate(resp)
+                        
  File "D:\app\apitest\common\utils\decorators.py", line 65, in wrapper
+    raise RequestSendingError(f"{args} | {kwargs}", e)
 
-
  File "D:\app\apitest\common\validation\validator.py", line 87, in validate
-    raise e
+                        
common.utils.exceptions.RequestSendingError: 请求异常:request_info=(Action(), 'https://reqres.in', '/api/register', 'post') | {'json': '{"email": "eve.holt@reqres.in", "password": "pistol"}', 'headers': '{"Content-Type": "application/json"}', 'params': None}, 原因=HTTPSConnectionPool(host='reqres.in', port=443): Max retries exceeded with url: /api/register (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
 
-
  File "D:\app\apitest\common\validation\validator.py", line 83, in validate
-    fun(actual_value=actual_value, expect_value=expect_value)
+                        
| 执行 sql 成功--> {'select_one': [{'e_name': 'Ben', 'e_salary': 5000, 'e_dep': 'b2'}]}
+pm----------------> {'Url': '/api/register', 'Headers': '{"Content-Type": "application/json"}', 'HeadersCrypto': None, 'QueryString': None, 'RequestDataType': 'json', 'RequestData': '{"email": "{{email}}", "password": "{{password}}"}', 'RequestDataCrypto': None, 'Response': '', 'Assertion': '', 'ErrorLog': '', None: None}
+| 第1次请求参数=【(Action(), 'https://reqres.in', '/api/register', 'post') | {'json': '{"email": "eve.holt@reqres.in", "password": "pistol"}', 'headers': '{"Content-Type": "application/json"}', 'params': None}】
+| 第2次请求参数=【(Action(), 'https://reqres.in', '/api/register', 'post') | {'json': '{"email": "eve.holt@reqres.in", "password": "pistol"}', 'headers': '{"Content-Type": "application/json"}', 'params': None}】
+test_api_002_注册 (test_executor.TestProjectApi)执行——>【错误Error】
 
-
  File "D:\app\apitest\common\validation\comparators.py", line 30, in eq
-    assert actual_value == expect_value, p_string(actual_value, expect_value)
+                        
+                    
+                
+                
+                
+                    3
+                    TestProjectApi
+                    test_api_003_登录
+                    注册成功的账号可以登录成功
+                    3.56s
+                    
+                    错误
+                    
+                    
+                        
+                    
+                
+                
+                    
+                        
+                        
Traceback (most recent call last):
 
-
AssertionError: 预期:200 -> (class 'str'), 实际:200 -> (class 'int')
+                        
  File "D:\Program Files\python39\lib\unittest\case.py", line 59, in testPartExecutor
+    yield
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 593, in run
+    self._callTestMethod(testMethod)
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 550, in _callTestMethod
+    method()
+
+ +
  File "D:\app\apitest\common\core\dataDriver.py", line 43, in wrapper
+    return func(self, params, *args, **kwargs)
+
+ +
  File "D:\app\apitest\test_script\test_executor.py", line 50, in test_api
+    self.action.send_request(host, method, ex_request_data)
+
+ +
  File "D:\app\apitest\common\utils\decorators.py", line 197, in decorator
+    response = func(self, host, method, extract_request_data)
+
+ +
  File "D:\app\apitest\common\core\action.py", line 37, in send_request
+    self.http_client(host, url, method, **kwargs)
+
+ +
  File "D:\app\apitest\common\utils\decorators.py", line 65, in wrapper
+    raise RequestSendingError(f"{args} | {kwargs}", e)
+
+ +
common.utils.exceptions.RequestSendingError: 请求异常:request_info=(Action(), 'https://reqres.in', '/api/login', 'post') | {'json': '{"email": "eve.holt@reqres.in", "password": "pistol"}', 'headers': '{"Content-Type": "application/json"}', 'params': None}, 原因=HTTPSConnectionPool(host='reqres.in', port=443): Max retries exceeded with url: /api/login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
+
+ +
| 第1次请求参数=【(Action(), 'https://reqres.in', '/api/login', 'post') | {'json': '{"email": "eve.holt@reqres.in", "password": "pistol"}', 'headers': '{"Content-Type": "application/json"}', 'params': None}】
+| 第2次请求参数=【(Action(), 'https://reqres.in', '/api/login', 'post') | {'json': '{"email": "eve.holt@reqres.in", "password": "pistol"}', 'headers': '{"Content-Type": "application/json"}', 'params': None}】
+test_api_003_登录 (test_executor.TestProjectApi)执行——>【错误Error】
+
+ + + + + + + 4 + TestProjectApi + test_api_004_用户列表 + 查询用户列表 + 3.05s + + 错误 + + + + + + + + +
Traceback (most recent call last):
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 59, in testPartExecutor
+    yield
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 593, in run
+    self._callTestMethod(testMethod)
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 550, in _callTestMethod
+    method()
+
+ +
  File "D:\app\apitest\common\core\dataDriver.py", line 43, in wrapper
+    return func(self, params, *args, **kwargs)
+
+ +
  File "D:\app\apitest\test_script\test_executor.py", line 50, in test_api
+    self.action.send_request(host, method, ex_request_data)
+
+ +
  File "D:\app\apitest\common\utils\decorators.py", line 197, in decorator
+    response = func(self, host, method, extract_request_data)
+
+ +
  File "D:\app\apitest\common\core\action.py", line 37, in send_request
+    self.http_client(host, url, method, **kwargs)
+
+ +
  File "D:\app\apitest\common\utils\decorators.py", line 65, in wrapper
+    raise RequestSendingError(f"{args} | {kwargs}", e)
+
+ +
common.utils.exceptions.RequestSendingError: 请求异常:request_info=(Action(), 'https://reqres.in', '/api/users', 'get') | {'params': '{"page":1}', 'headers': {'Content-Type': 'application/json;charset=utf-8', 'token': '{{token}}', 'sign': 'c79bd4f420bdb215d03e61c65fdf676e'}}, 原因=HTTPSConnectionPool(host='reqres.in', port=443): Max retries exceeded with url: /api/users?page=1 (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
+
+ +
开始执行md5_sign加密,待加密参数={'Content-Type': 'application/json;charset=utf-8', 'token': '{{token}}'}
+| 第1次请求参数=【(Action(), 'https://reqres.in', '/api/users', 'get') | {'params': '{"page":1}', 'headers': {'Content-Type': 'application/json;charset=utf-8', 'token': '{{token}}', 'sign': 'c79bd4f420bdb215d03e61c65fdf676e'}}】
+| 第2次请求参数=【(Action(), 'https://reqres.in', '/api/users', 'get') | {'params': '{"page":1}', 'headers': {'Content-Type': 'application/json;charset=utf-8', 'token': '{{token}}', 'sign': 'c79bd4f420bdb215d03e61c65fdf676e'}}】
+test_api_004_用户列表 (test_executor.TestProjectApi)执行——>【错误Error】
 
@@ -1455,9 +1900,9 @@ test_api_004_用户列表 (test_executor.TestProjectApi)执行——>【失败 TestProjectApi test_api_005_用户列表 获取指定用户的信息 - 0.269s + 3.04s - 成功 + 错误 @@ -1466,18 +1911,47 @@ test_api_004_用户列表 (test_executor.TestProjectApi)执行——>【失败 -
| 第1次未处理过得请求参数:(Action(), 'https://reqres.in', '/api/users/4', 'get') -- {'params': None, 'headers': '{"Content-Type":"application/json;charset=utf-8","token":"QpwL5tke4Pnpja7X4"}'}
-| 请求地址 --> https://reqres.in/api/users/4
-| 请求方法 --> GET
-| 请求头 --> {'Content-Type': 'application/json;charset=utf-8', 'token': 'QpwL5tke4Pnpja7X4'}
-| 请求 body --> None
-| 接口状态--> 200
-| 接口耗时--> 0:00:00.233405
-| 接口响应--> {"data":{"id":4,"email":"eve.holt@reqres.in","first_name":"Eve","last_name":"Holt","avatar":"https://reqres.in/img/faces/4-image.jpg"},"support":{"url":"https://reqres.in/#support-heading","text":"To keep ReqRes free, contributions towards server costs are appreciated!"}}
-| 断言结果-->[{'检查项': '$.data.id', '期望值': 4, '实际值': 4, '断言方法': 'eq:实际值与期望值相等', '断言结果': '通过'}, {'检查项': '$.data.email', '期望值': 'eve.holt@reqres.in', '实际值': 'eve.holt@reqres.in', '断言方法': 'eq:实际值与期望值相等', '断言结果': '通过'}, {'检查项': '200', '期望值': '200', '实际值': '200', '断言方法': 'eq:实际值与期望值相等', '断言结果': '通过'}]
-
---------------------------------------------------我是分割线--------------------------------------------------
-test_api_005_用户列表 (test_executor.TestProjectApi)执行——>【通过】
+                        
Traceback (most recent call last):
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 59, in testPartExecutor
+    yield
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 593, in run
+    self._callTestMethod(testMethod)
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 550, in _callTestMethod
+    method()
+
+ +
  File "D:\app\apitest\common\core\dataDriver.py", line 43, in wrapper
+    return func(self, params, *args, **kwargs)
+
+ +
  File "D:\app\apitest\test_script\test_executor.py", line 50, in test_api
+    self.action.send_request(host, method, ex_request_data)
+
+ +
  File "D:\app\apitest\common\utils\decorators.py", line 197, in decorator
+    response = func(self, host, method, extract_request_data)
+
+ +
  File "D:\app\apitest\common\core\action.py", line 37, in send_request
+    self.http_client(host, url, method, **kwargs)
+
+ +
  File "D:\app\apitest\common\utils\decorators.py", line 65, in wrapper
+    raise RequestSendingError(f"{args} | {kwargs}", e)
+
+ +
common.utils.exceptions.RequestSendingError: 请求异常:request_info=(Action(), 'https://reqres.in', '/api/users/{{userId}}', 'get') | {'params': None, 'headers': '{"Content-Type":"application/json;charset=utf-8","token":"{{token}}"}'}, 原因=HTTPSConnectionPool(host='reqres.in', port=443): Max retries exceeded with url: /api/users/%7B%7BuserId%7D%7D (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
+
+ +
| 第1次请求参数=【(Action(), 'https://reqres.in', '/api/users/{{userId}}', 'get') | {'params': None, 'headers': '{"Content-Type":"application/json;charset=utf-8","token":"{{token}}"}'}】
+| 第2次请求参数=【(Action(), 'https://reqres.in', '/api/users/{{userId}}', 'get') | {'params': None, 'headers': '{"Content-Type":"application/json;charset=utf-8","token":"{{token}}"}'}】
+test_api_005_用户列表 (test_executor.TestProjectApi)执行——>【错误Error】
 
@@ -1489,6 +1963,179 @@ test_api_005_用户列表 (test_executor.TestProjectApi)执行——>【通过 TestProjectApi test_api_006_None None + 0.00101s + + 跳过 + + + + + + + + +
这个测试用例听说泡面比较好吃,所以放弃执行了!!
+ + + + + + + 7 + TestProjectApi + test_api_007_文件上传 + 文件上传 + 4.05s + + 错误 + + + + + + + + +
Traceback (most recent call last):
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 59, in testPartExecutor
+    yield
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 593, in run
+    self._callTestMethod(testMethod)
+
+ +
  File "D:\Program Files\python39\lib\unittest\case.py", line 550, in _callTestMethod
+    method()
+
+ +
  File "D:\app\apitest\common\core\dataDriver.py", line 43, in wrapper
+    return func(self, params, *args, **kwargs)
+
+ +
  File "D:\app\apitest\test_script\test_executor.py", line 50, in test_api
+    self.action.send_request(host, method, ex_request_data)
+
+ +
  File "D:\app\apitest\common\utils\decorators.py", line 197, in decorator
+    response = func(self, host, method, extract_request_data)
+
+ +
  File "D:\app\apitest\common\core\action.py", line 37, in send_request
+    self.http_client(host, url, method, **kwargs)
+
+ +
  File "D:\app\apitest\common\utils\decorators.py", line 65, in wrapper
+    raise RequestSendingError(f"{args} | {kwargs}", e)
+
+ +
common.utils.exceptions.RequestSendingError: 请求异常:request_info=(Action(), 'https://reqres.in', 'https://bimdc.bzlrobot.com/bsp/pre/user/ugs/ibs/api/ibs-file/file-upload/upload-image', 'post') | {'files': '["test.txt"]', 'headers': '{\n  "BSP_TOKEN": "7c7d70bfb079d72182156d9b80d7911c",\n  "USER_ENV_ID": "1320970534539886592",\n  "USER_ID": "60629040",\n  "USER_TENANT": "1320970534539886592"\n}\n', 'params': None}, 原因=HTTPSConnectionPool(host='bimdc.bzlrobot.com', port=443): Max retries exceeded with url: /bsp/pre/user/ugs/ibs/api/ibs-file/file-upload/upload-image (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
+
+ +
| 第1次请求参数=【(Action(), 'https://reqres.in', 'https://bimdc.bzlrobot.com/bsp/pre/user/ugs/ibs/api/ibs-file/file-upload/upload-image', 'post') | {'files': '["test.txt"]', 'headers': '{\n  "BSP_TOKEN": "7c7d70bfb079d72182156d9b80d7911c",\n  "USER_ENV_ID": "1320970534539886592",\n  "USER_ID": "60629040",\n  "USER_TENANT": "1320970534539886592"\n}\n', 'params': None}】
+| 第2次请求参数=【(Action(), 'https://reqres.in', 'https://bimdc.bzlrobot.com/bsp/pre/user/ugs/ibs/api/ibs-file/file-upload/upload-image', 'post') | {'files': '["test.txt"]', 'headers': '{\n  "BSP_TOKEN": "7c7d70bfb079d72182156d9b80d7911c",\n  "USER_ENV_ID": "1320970534539886592",\n  "USER_ID": "60629040",\n  "USER_TENANT": "1320970534539886592"\n}\n', 'params': None}】
+test_api_007_文件上传 (test_executor.TestProjectApi)执行——>【错误Error】
+
+ + + + + + + 8 + TestProjectApi + test_api_008_None + None + 0.0s + + 跳过 + + + + + + + + +
这个测试用例听说泡面比较好吃,所以放弃执行了!!
+ + + + + + + 9 + TestProjectApi + test_api_009_None + None + 0.0s + + 跳过 + + + + + + + + +
这个测试用例听说泡面比较好吃,所以放弃执行了!!
+ + + + + + + 10 + TestProjectApi + test_api_010_None + None + 0.0s + + 跳过 + + + + + + + + +
这个测试用例听说泡面比较好吃,所以放弃执行了!!
+ + + + + + + 11 + TestProjectApi + test_api_011_None + None + 0.0s + + 跳过 + + + + + + + + +
这个测试用例听说泡面比较好吃,所以放弃执行了!!
+ + + + + + + 12 + TestProjectApi + test_api_012_None + None 0.0s 跳过 @@ -1516,16 +2163,16 @@ test_api_005_用户列表 (test_executor.TestProjectApi)执行——>【通过