Browse Source

JW第一次提交

“蒋伟” 1 year ago
parent
commit
69e8719194
78 changed files with 1265 additions and 4 deletions
  1. 0 0
      data/bmgl/__init__.py
  2. 0 4
      data/bmgl/get_token_data.yaml
  3. 0 0
      logs/__init__.py
  4. 0 0
      report/app.js
  5. 43 0
      report/data/attachments/100f1f88e661a26.txt
  6. 43 0
      report/data/attachments/2626d836024f195a.txt
  7. 43 0
      report/data/attachments/4054abe286a78f64.txt
  8. 43 0
      report/data/attachments/40b72eb09861571.txt
  9. 47 0
      report/data/attachments/586c74b3a7052e3c.txt
  10. 43 0
      report/data/attachments/917db7f8acb220c0.txt
  11. 43 0
      report/data/attachments/c5a9efe9b2c866d4.txt
  12. 2 0
      report/data/behaviors.csv
  13. 0 0
      report/data/behaviors.json
  14. 2 0
      report/data/categories.csv
  15. 0 0
      report/data/categories.json
  16. 0 0
      report/data/packages.json
  17. 8 0
      report/data/suites.csv
  18. 0 0
      report/data/suites.json
  19. 0 0
      report/data/test-cases/15248fc83124df2c.json
  20. 0 0
      report/data/test-cases/4f9a6f40691dc8e3.json
  21. 0 0
      report/data/test-cases/82e633593839af66.json
  22. 0 0
      report/data/test-cases/84ea9c2e204ec5cd.json
  23. 0 0
      report/data/test-cases/e7fc3894b7d69f0.json
  24. 0 0
      report/data/test-cases/f21e1d2e0ff0899e.json
  25. 0 0
      report/data/test-cases/fbddf47e545b264b.json
  26. 0 0
      report/data/timeline.json
  27. 12 0
      report/export/influxDbData.txt
  28. 10 0
      report/export/mail.html
  29. 12 0
      report/export/prometheusData.txt
  30. BIN
      report/favicon.ico
  31. 1 0
      report/history/categories-trend.json
  32. 1 0
      report/history/duration-trend.json
  33. 1 0
      report/history/history-trend.json
  34. 0 0
      report/history/history.json
  35. 1 0
      report/history/retry-trend.json
  36. 23 0
      report/index.html
  37. 206 0
      report/plugins/behaviors/index.js
  38. 120 0
      report/plugins/packages/index.js
  39. 200 0
      report/plugins/screen-diff/index.js
  40. 30 0
      report/plugins/screen-diff/styles.css
  41. 3 0
      report/styles.css
  42. 1 0
      report/widgets/behaviors.json
  43. 1 0
      report/widgets/categories-trend.json
  44. 1 0
      report/widgets/categories.json
  45. 1 0
      report/widgets/duration-trend.json
  46. 1 0
      report/widgets/duration.json
  47. 1 0
      report/widgets/environment.json
  48. 1 0
      report/widgets/executors.json
  49. 1 0
      report/widgets/history-trend.json
  50. 1 0
      report/widgets/launch.json
  51. 1 0
      report/widgets/retry-trend.json
  52. 1 0
      report/widgets/severity.json
  53. 1 0
      report/widgets/status-chart.json
  54. 1 0
      report/widgets/suites.json
  55. 1 0
      report/widgets/summary.json
  56. 43 0
      temps/0aae1b6e-de48-41af-9278-c51e6e3f0073-attachment.txt
  57. 43 0
      temps/1258d120-e4ba-4133-a347-7a3d812121c1-attachment.txt
  58. 0 0
      temps/1aa5a03c-3cc1-4cb8-ab07-13310b7306b9-result.json
  59. 1 0
      temps/3bccd1f7-678a-4562-8c19-7e4b8af794ea-container.json
  60. 43 0
      temps/3e50f726-0b7f-4b1c-a7c6-91115a49771c-attachment.txt
  61. 47 0
      temps/5e796740-7879-4c35-a9c2-a6a47ebf67a0-attachment.txt
  62. 1 0
      temps/6008c61c-10a8-4e00-a4ad-0fdea177c5f0-container.json
  63. 1 0
      temps/74a3d6d2-a608-42ef-9936-b976750d7bdf-container.json
  64. 43 0
      temps/87d8720b-aa9d-4512-8883-0b24d1b1c0ba-attachment.txt
  65. 1 0
      temps/91f3eabd-09fc-4000-98a0-8e3302465995-container.json
  66. 1 0
      temps/93d4b252-5257-4844-83f8-0368a9703ad2-container.json
  67. 1 0
      temps/94861dec-a57f-4b2e-8e68-fafb7b8fd237-container.json
  68. 0 0
      temps/94cc5b87-296b-4a78-935b-75b9c3a9037b-result.json
  69. 0 0
      temps/b801a193-004d-46f2-b699-2b3738ed7680-result.json
  70. 0 0
      temps/c10012ea-e26f-4c24-bdf9-867f3d31095d-result.json
  71. 0 0
      temps/cbfb1136-c4a7-4735-bb1b-78762cf67046-result.json
  72. 0 0
      temps/dbd6343f-88c1-4767-831f-7c75e43937de-result.json
  73. 0 0
      temps/e3088ed0-7ffd-4fc8-bbcf-1f5fe55bcc56-result.json
  74. 1 0
      temps/e90e578a-51d3-4c98-a69c-29f899a6d319-container.json
  75. 1 0
      temps/eb4f6fbb-a379-44cf-bee3-1f0f97463677-container.json
  76. 1 0
      temps/ed37e5d7-bd9b-4c2c-ab38-4b1df1c750cd-container.json
  77. 43 0
      temps/faea02e3-99da-410f-a965-152f19c5e638-attachment.txt
  78. 43 0
      temps/fcda3fae-a9d0-4f58-9762-4c7345a18eb9-attachment.txt

+ 0 - 0
data/bmgl/__init__.py


+ 0 - 4
data/bmgl/get_token_data.yaml

@@ -1,4 +0,0 @@
-#DDT(data driver test)数据驱动yaml文件,对应的测试用列的文件为:pm_get_token.yaml
-- ['name','password','userName','assert_str']
-- ['成功获取鉴权码','Y6U6ZUtyD5+byzy5YOTxvA+OrTki2bhlCAh4uG41DokyRDaIPJTnsHFCeoKjjNAzoFKdliRS1PdDjSlBsF/YraE7ES77iAPng+CvUV9I1tmprMSTUCvNLfGgrohN4fPM0EH+8g7bqqrtrfEfhQM2Q3AnLEUHt7rbaVT36tol98QHcWU83YlfyYoNEbvARbohDoDOOUwvI3UQ+rc7b5bjf7D21y4Lg++77tOkQKDGosJxGDNmVAgHosJU+YfBSd7EF/TT53RMNeHrXkhQvyX8GNHqA8aw0uY3BCPLTE9n1akP6a6bGjJeOxKKoCRZij4fqrcga8/orePuztTaIZ8Rmw==','admin@newzdh','token']
-- ['用户名为空','Y6U6ZUtyD5+byzy5YOTxvA+OrTki2bhlCAh4uG41DokyRDaIPJTnsHFCeoKjjNAzoFKdliRS1PdDjSlBsF/YraE7ES77iAPng+CvUV9I1tmprMSTUCvNLfGgrohN4fPM0EH+8g7bqqrtrfEfhQM2Q3AnLEUHt7rbaVT36tol98QHcWU83YlfyYoNEbvARbohDoDOOUwvI3UQ+rc7b5bjf7D21y4Lg++77tOkQKDGosJxGDNmVAgHosJU+YfBSd7EF/TT53RMNeHrXkhQvyX8GNHqA8aw0uY3BCPLTE9n1akP6a6bGjJeOxKKoCRZij4fqrcga8/orePuztTaIZ8Rmw==','',1]

+ 0 - 0
data/__init__.py → logs/__init__.py


File diff suppressed because it is too large
+ 0 - 0
report/app.js


+ 43 - 0
report/data/attachments/100f1f88e661a26.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 43 - 0
report/data/attachments/2626d836024f195a.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 43 - 0
report/data/attachments/4054abe286a78f64.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 43 - 0
report/data/attachments/40b72eb09861571.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 47 - 0
report/data/attachments/586c74b3a7052e3c.txt

@@ -0,0 +1,47 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+INFO     log:log_util.py:73 请求名称:登录成功
+INFO     log:log_util.py:73 请求方式:post
+INFO     log:log_util.py:73 请求路径:http://221.229.99.73:63220/api/service-sysmgr/LoginController/login
+INFO     log:log_util.py:73 请求json参数:{'captcha': 'youthcq', 'captchaKey': 'wwohetlyfcuswjcxeyglkpxl', 'password': '5856464E5731466E547A4D794D6C2B42334973312B784D3561584E4264726F487532746F37664C6F70326F47752B6F585043426543704356777A59717065774A6F423439385659426F6668716D496C75484A344F54416764676668596F6478554C6365643255793742736B56714B6271644858777675724F6D3959794667356D455071796C7858776D586D72672B344F4A57654249677779546631612B6E4B724E334C6B4B695A336A574D3D', 'scope': 'WEB', 'username': '17723565637'}
+INFO     log:log_util.py:73 实际结果: <Response [200]>
+INFO     log:log_util.py:73 预期结果:[{'contains': True}]
+INFO     log:log_util.py:73 实际结果:{'success': False, 'code': '-1', 'msg': '验证码错误!', 'data': None}
+ERROR    log:log_util.py:67 断言失败:返回结果中不包含True
+INFO     log:log_util.py:73 接口测试失败!!!
+INFO     log:log_util.py:73 ------接口测试结束————————
+ERROR    log:log_util.py:67 断言assert_result异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
+    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
+  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
+    error_log("断言失败:返回结果中不包含" + str(value))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 断言失败:返回结果中不包含True
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
+    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
+  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
+    error_log("断言失败:返回结果中不包含" + str(value))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 断言失败:返回结果中不包含True
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 148, in standard_yaml
+    self.assert_result(arg_names['validate'], return_json, return_code)
+  File "D:\zdh\pythonProject\common\request_util.py", line 183, in assert_result
+    error_log("断言assert_result异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 断言assert_result异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
+    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
+  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
+    error_log("断言失败:返回结果中不包含" + str(value))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 断言失败:返回结果中不包含True

+ 43 - 0
report/data/attachments/917db7f8acb220c0.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 43 - 0
report/data/attachments/c5a9efe9b2c866d4.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 2 - 0
report/data/behaviors.csv

@@ -0,0 +1,2 @@
+"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
+"青春重庆","用户管理模块","","0","7","0","0","0"

File diff suppressed because it is too large
+ 0 - 0
report/data/behaviors.json


+ 2 - 0
report/data/categories.csv

@@ -0,0 +1,2 @@
+"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
+"Test defects","0","7","0","0","0"

File diff suppressed because it is too large
+ 0 - 0
report/data/categories.json


File diff suppressed because it is too large
+ 0 - 0
report/data/packages.json


+ 8 - 0
report/data/suites.csv

@@ -0,0 +1,8 @@
+"Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
+"broken","Mon Jan 29 16:24:15 CST 2024","Mon Jan 29 16:24:15 CST 2024","2","test_case.qccq","test_allAPI2","TestAPI","","","分页查询1页10条数据,名称是”测试“",""
+"broken","Mon Jan 29 16:24:15 CST 2024","Mon Jan 29 16:24:15 CST 2024","3","test_case.qccq","test_allAPI2","TestAPI","","","分页查询1页50条数据",""
+"broken","Mon Jan 29 16:24:15 CST 2024","Mon Jan 29 16:24:15 CST 2024","4","test_case.qccq","test_allAPI2","TestAPI","","","查询状态失效的",""
+"broken","Mon Jan 29 16:24:15 CST 2024","Mon Jan 29 16:24:15 CST 2024","3","test_case.qccq","test_allAPI2","TestAPI","","","分页查询1页100条数据",""
+"broken","Mon Jan 29 16:24:15 CST 2024","Mon Jan 29 16:24:15 CST 2024","86","test_case.qccq","test_allAPI2","TestAPI","","","登录成功",""
+"broken","Mon Jan 29 16:24:15 CST 2024","Mon Jan 29 16:24:15 CST 2024","2","test_case.qccq","test_allAPI2","TestAPI","","","分页查询2页10条数据,名称是”校外教育",""
+"broken","Mon Jan 29 16:24:15 CST 2024","Mon Jan 29 16:24:15 CST 2024","2","test_case.qccq","test_allAPI2","TestAPI","","","$ddt{name}",""

File diff suppressed because it is too large
+ 0 - 0
report/data/suites.json


File diff suppressed because it is too large
+ 0 - 0
report/data/test-cases/15248fc83124df2c.json


File diff suppressed because it is too large
+ 0 - 0
report/data/test-cases/4f9a6f40691dc8e3.json


File diff suppressed because it is too large
+ 0 - 0
report/data/test-cases/82e633593839af66.json


File diff suppressed because it is too large
+ 0 - 0
report/data/test-cases/84ea9c2e204ec5cd.json


File diff suppressed because it is too large
+ 0 - 0
report/data/test-cases/e7fc3894b7d69f0.json


File diff suppressed because it is too large
+ 0 - 0
report/data/test-cases/f21e1d2e0ff0899e.json


File diff suppressed because it is too large
+ 0 - 0
report/data/test-cases/fbddf47e545b264b.json


File diff suppressed because it is too large
+ 0 - 0
report/data/timeline.json


+ 12 - 0
report/export/influxDbData.txt

@@ -0,0 +1,12 @@
+launch_status failed=0 1706516660000000000
+launch_status broken=7 1706516660000000000
+launch_status passed=0 1706516660000000000
+launch_status skipped=0 1706516660000000000
+launch_status unknown=0 1706516660000000000
+launch_time duration=390 1706516660000000000
+launch_time min_duration=2 1706516660000000000
+launch_time max_duration=86 1706516660000000000
+launch_time sum_duration=102 1706516660000000000
+launch_problems test_defects=7 1706516660000000000
+launch_retries retries=0 1706516660000000000
+launch_retries run=7 1706516660000000000

+ 10 - 0
report/export/mail.html

@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <title>Allure Report summary mail</title>
+</head>
+<body>
+    Mail body
+</body>
+</html>

+ 12 - 0
report/export/prometheusData.txt

@@ -0,0 +1,12 @@
+launch_status_failed 0
+launch_status_broken 7
+launch_status_passed 0
+launch_status_skipped 0
+launch_status_unknown 0
+launch_time_duration 390
+launch_time_min_duration 2
+launch_time_max_duration 86
+launch_time_sum_duration 102
+launch_problems_test_defects 7
+launch_retries_retries 0
+launch_retries_run 7

BIN
report/favicon.ico


+ 1 - 0
report/history/categories-trend.json

@@ -0,0 +1 @@
+[{"data":{"Test defects":7}}]

+ 1 - 0
report/history/duration-trend.json

@@ -0,0 +1 @@
+[{"data":{"duration":390}}]

+ 1 - 0
report/history/history-trend.json

@@ -0,0 +1 @@
+[{"data":{"failed":0,"broken":7,"skipped":0,"passed":0,"unknown":0,"total":7}}]

File diff suppressed because it is too large
+ 0 - 0
report/history/history.json


+ 1 - 0
report/history/retry-trend.json

@@ -0,0 +1 @@
+[{"data":{"run":7,"retry":0}}]

+ 23 - 0
report/index.html

@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html dir="ltr">
+<head>
+    <meta charset="utf-8">
+    <title>Allure Report</title>
+    <link rel="favicon" href="favicon.ico?v=2">
+    <link rel="stylesheet" type="text/css" href="styles.css">
+        <link rel="stylesheet" href="plugins/screen-diff/styles.css">
+</head>
+<body>
+<div id="alert"></div>
+<div id="content">
+    <span class="spinner">
+        <span class="spinner__circle"></span>
+    </span>
+</div>
+<div id="popup"></div>
+<script src="app.js"></script>
+    <script src="plugins/behaviors/index.js"></script>
+    <script src="plugins/packages/index.js"></script>
+    <script src="plugins/screen-diff/index.js"></script>
+</body>
+</html>

+ 206 - 0
report/plugins/behaviors/index.js

@@ -0,0 +1,206 @@
+'use strict';
+
+allure.api.addTranslation('en', {
+    tab: {
+        behaviors: {
+            name: 'Behaviors'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Features by stories',
+            showAll: 'show all'
+        }
+    }
+});
+
+allure.api.addTranslation('ru', {
+    tab: {
+        behaviors: {
+            name: 'Функциональность'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Функциональность',
+            showAll: 'показать все'
+        }
+    }
+});
+
+allure.api.addTranslation('zh', {
+    tab: {
+        behaviors: {
+            name: '功能'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: '特性场景',
+            showAll: '显示所有'
+        }
+    }
+});
+
+allure.api.addTranslation('de', {
+    tab: {
+        behaviors: {
+            name: 'Verhalten'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Features nach Stories',
+            showAll: 'Zeige alle'
+        }
+    }
+});
+
+allure.api.addTranslation('nl', {
+    tab: {
+        behaviors: {
+            name: 'Functionaliteit'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Features en story’s',
+            showAll: 'Toon alle'
+        }
+    }
+});
+
+allure.api.addTranslation('he', {
+    tab: {
+        behaviors: {
+            name: 'התנהגויות'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'תכונות לפי סיפורי משתמש',
+            showAll: 'הצג הכול'
+        }
+    }
+});
+
+allure.api.addTranslation('br', {
+    tab: {
+        behaviors: {
+            name: 'Comportamentos'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Funcionalidades por história',
+            showAll: 'Mostrar tudo'
+        }
+    }
+});
+
+allure.api.addTranslation('ja', {
+    tab: {
+        behaviors: {
+            name: '振る舞い'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'ストーリー別の機能',
+            showAll: '全て表示'
+        }
+    }
+});
+
+allure.api.addTranslation('es', {
+    tab: {
+        behaviors: {
+            name: 'Funcionalidades'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Funcionalidades por Historias de Usuario',
+            showAll: 'mostrar todo'
+        }
+    }
+});
+
+allure.api.addTranslation('kr', {
+    tab: {
+        behaviors: {
+            name: '동작'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: '스토리별 기능',
+            showAll: '전체 보기'
+        }
+    }
+});
+
+allure.api.addTranslation('fr', {
+    tab: {
+        behaviors: {
+            name: 'Comportements'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Thèmes par histoires',
+            showAll: 'Montrer tout'
+        }
+    }
+});
+
+allure.api.addTranslation('pl', {
+    tab: {
+        behaviors: {
+            name: 'Zachowania'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Funkcje według historii',
+            showAll: 'pokaż wszystko'
+        }
+    }
+});
+
+allure.api.addTranslation('az', {
+    tab: {
+        behaviors: {
+            name: 'Davranışlar'
+        }
+    },
+    widget: {
+        behaviors: {
+            name: 'Hekayələr üzrə xüsusiyyətlər',
+            showAll: 'hamısını göstər'
+        }
+    }
+});
+
+allure.api.addTab('behaviors', {
+    title: 'tab.behaviors.name', icon: 'fa fa-list',
+    route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
+    onEnter: (function (testGroup, testResult, testResultTab) {
+        return new allure.components.TreeLayout({
+            testGroup: testGroup,
+            testResult: testResult,
+            testResultTab: testResultTab,
+            tabName: 'tab.behaviors.name',
+            baseUrl: 'behaviors',
+            url: 'data/behaviors.json',
+            csvUrl: 'data/behaviors.csv'
+        });
+    })
+});
+
+allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
+    rowTag: 'a',
+    title: 'widget.behaviors.name',
+    baseUrl: 'behaviors',
+    showLinks: true
+}));

+ 120 - 0
report/plugins/packages/index.js

@@ -0,0 +1,120 @@
+'use strict';
+
+allure.api.addTranslation('en', {
+    tab: {
+        packages: {
+            name: 'Packages'
+        }
+    }
+});
+
+allure.api.addTranslation('ru', {
+    tab: {
+        packages: {
+            name: 'Пакеты'
+        }
+    }
+});
+
+allure.api.addTranslation('zh', {
+    tab: {
+        packages: {
+            name: '包'
+        }
+    }
+});
+
+allure.api.addTranslation('de', {
+    tab: {
+        packages: {
+            name: 'Pakete'
+        }
+    }
+});
+
+allure.api.addTranslation('nl', {
+    tab: {
+        packages: {
+            name: 'Packages'
+        }
+    }
+});
+
+allure.api.addTranslation('he', {
+    tab: {
+        packages: {
+            name: 'חבילות'
+        }
+    }
+});
+
+allure.api.addTranslation('br', {
+    tab: {
+        packages: {
+            name: 'Pacotes'
+        }
+    }
+});
+
+allure.api.addTranslation('ja', {
+    tab: {
+        packages: {
+            name: 'パッケージ'
+        }
+    }
+});
+
+allure.api.addTranslation('es', {
+    tab: {
+        packages: {
+            name: 'Paquetes'
+        }
+    }
+});
+
+allure.api.addTranslation('kr', {
+    tab: {
+        packages: {
+            name: '패키지'
+        }
+    }
+});
+
+allure.api.addTranslation('fr', {
+    tab: {
+        packages: {
+            name: 'Paquets'
+        }
+    }
+});
+
+allure.api.addTranslation('pl', {
+    tab: {
+        packages: {
+            name: 'Pakiety'
+        }
+    }
+});
+
+allure.api.addTranslation('az', {
+    tab: {
+        packages: {
+            name: 'Paketlər'
+        }
+    }
+});
+
+allure.api.addTab('packages', {
+    title: 'tab.packages.name', icon: 'fa fa-align-left',
+    route: 'packages(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
+    onEnter: (function (testGroup, testResult, testResultTab) {
+        return new allure.components.TreeLayout({
+            testGroup: testGroup,
+            testResult: testResult,
+            testResultTab: testResultTab,
+            tabName: 'tab.packages.name',
+            baseUrl: 'packages',
+            url: 'data/packages.json'
+        });
+    })
+});

+ 200 - 0
report/plugins/screen-diff/index.js

@@ -0,0 +1,200 @@
+(function () {
+    var settings = allure.getPluginSettings('screen-diff', { diffType: 'diff' });
+
+    function renderImage(src) {
+        return (
+            '<div class="screen-diff__container">' +
+            '<img class="screen-diff__image" src="' +
+            src +
+            '">' +
+            '</div>'
+        );
+    }
+
+    function findImage(data, name) {
+        if (data.testStage && data.testStage.attachments) {
+            var matchedImage = data.testStage.attachments.filter(function (attachment) {
+                return attachment.name === name;
+            })[0];
+            if (matchedImage) {
+                return 'data/attachments/' + matchedImage.source;
+            }
+        }
+        return null;
+    }
+
+    function renderDiffContent(type, diffImage, actualImage, expectedImage) {
+        if (type === 'diff') {
+            if (diffImage) {
+                return renderImage(diffImage);
+            }
+        }
+        if (type === 'overlay' && expectedImage) {
+            return (
+                '<div class="screen-diff__overlay screen-diff__container">' +
+                '<img class="screen-diff__image" src="' +
+                expectedImage +
+                '">' +
+                '<div class="screen-diff__image-over">' +
+                '<img class="screen-diff__image" src="' +
+                actualImage +
+                '">' +
+                '</div>' +
+                '</div>'
+            );
+        }
+        if (actualImage) {
+            return renderImage(actualImage);
+        }
+        return 'No diff data provided';
+    }
+
+    var TestResultView = Backbone.Marionette.View.extend({
+        regions: {
+            subView: '.screen-diff-view',
+        },
+        template: function () {
+            return '<div class="screen-diff-view"></div>';
+        },
+        onRender: function () {
+            var data = this.model.toJSON();
+            var testType = data.labels.filter(function (label) {
+                return label.name === 'testType';
+            })[0];
+            var diffImage = findImage(data, 'diff');
+            var actualImage = findImage(data, 'actual');
+            var expectedImage = findImage(data, 'expected');
+            if (!testType || testType.value !== 'screenshotDiff') {
+                return;
+            }
+            this.showChildView(
+                'subView',
+                new ScreenDiffView({
+                    diffImage: diffImage,
+                    actualImage: actualImage,
+                    expectedImage: expectedImage,
+                }),
+            );
+        },
+    });
+    var ErrorView = Backbone.Marionette.View.extend({
+        templateContext: function () {
+            return this.options;
+        },
+        template: function (data) {
+            return '<pre class="screen-diff-error">' + data.error + '</pre>';
+        },
+    });
+    var AttachmentView = Backbone.Marionette.View.extend({
+        regions: {
+            subView: '.screen-diff-view',
+        },
+        template: function () {
+            return '<div class="screen-diff-view"></div>';
+        },
+        onRender: function () {
+            jQuery
+                .getJSON(this.options.sourceUrl)
+                .then(this.renderScreenDiffView.bind(this), this.renderErrorView.bind(this));
+        },
+        renderErrorView: function (error) {
+            console.log(error);
+            this.showChildView(
+                'subView',
+                new ErrorView({
+                    error: error.statusText,
+                }),
+            );
+        },
+        renderScreenDiffView: function (data) {
+            this.showChildView(
+                'subView',
+                new ScreenDiffView({
+                    diffImage: data.diff,
+                    actualImage: data.actual,
+                    expectedImage: data.expected,
+                }),
+            );
+        },
+    });
+
+    var ScreenDiffView = Backbone.Marionette.View.extend({
+        className: 'pane__section',
+        events: function () {
+            return {
+                ['click [name="screen-diff-type-' + this.cid + '"]']: 'onDiffTypeChange',
+                'mousemove .screen-diff__overlay': 'onOverlayMove',
+            };
+        },
+        initialize: function (options) {
+            this.diffImage = options.diffImage;
+            this.actualImage = options.actualImage;
+            this.expectedImage = options.expectedImage;
+            this.radioName = 'screen-diff-type-' + this.cid;
+        },
+        templateContext: function () {
+            return {
+                diffType: settings.get('diffType'),
+                diffImage: this.diffImage,
+                actualImage: this.actualImage,
+                expectedImage: this.expectedImage,
+                radioName: this.radioName,
+            };
+        },
+        template: function (data) {
+            if (!data.diffImage && !data.actualImage && !data.expectedImage) {
+                return '';
+            }
+
+            return (
+                '<h3 class="pane__section-title">Screen Diff</h3>' +
+                '<div class="screen-diff__content">' +
+                '<div class="screen-diff__switchers">' +
+                '<label><input type="radio" name="' +
+                data.radioName +
+                '" value="diff"> Show diff</label>' +
+                '<label><input type="radio" name="' +
+                data.radioName +
+                '" value="overlay"> Show overlay</label>' +
+                '</div>' +
+                renderDiffContent(
+                    data.diffType,
+                    data.diffImage,
+                    data.actualImage,
+                    data.expectedImage,
+                ) +
+                '</div>'
+            );
+        },
+        adjustImageSize: function (event) {
+            var overImage = this.$(event.target);
+            overImage.width(overImage.width());
+        },
+        onRender: function () {
+            const diffType = settings.get('diffType');
+            this.$('[name="' + this.radioName + '"][value="' + diffType + '"]').prop(
+                'checked',
+                true,
+            );
+            if (diffType === 'overlay') {
+                this.$('.screen-diff__image-over img').on('load', this.adjustImageSize.bind(this));
+            }
+        },
+        onOverlayMove: function (event) {
+            var pageX = event.pageX;
+            var containerScroll = this.$('.screen-diff__container').scrollLeft();
+            var elementX = event.currentTarget.getBoundingClientRect().left;
+            var delta = pageX - elementX + containerScroll;
+            this.$('.screen-diff__image-over').width(delta);
+        },
+        onDiffTypeChange: function (event) {
+            settings.save('diffType', event.target.value);
+            this.render();
+        },
+    });
+    allure.api.addTestResultBlock(TestResultView, { position: 'before' });
+    allure.api.addAttachmentViewer('application/vnd.allure.image.diff', {
+        View: AttachmentView,
+        icon: 'fa fa-exchange',
+    });
+})();

+ 30 - 0
report/plugins/screen-diff/styles.css

@@ -0,0 +1,30 @@
+.screen-diff__switchers {
+  margin-bottom: 1em;
+}
+
+.screen-diff__switchers label + label {
+  margin-left: 1em;
+}
+
+.screen-diff__overlay {
+  position: relative;
+  cursor: col-resize;
+}
+
+.screen-diff__container {
+  overflow-x: auto;
+}
+
+.screen-diff__image-over {
+  top: 0;
+  left: 0;
+  bottom: 0;
+  background: #fff;
+  position: absolute;
+  overflow: hidden;
+  box-shadow: 2px 0 1px -1px #aaa;
+}
+
+.screen-diff-error {
+  color: #fd5a3e;
+}

File diff suppressed because it is too large
+ 3 - 0
report/styles.css


+ 1 - 0
report/widgets/behaviors.json

@@ -0,0 +1 @@
+{"total":1,"items":[{"uid":"d6ad39a7cacb8ddf63ee40b5a60cc62f","name":"青春重庆","statistic":{"failed":0,"broken":1,"skipped":0,"passed":0,"unknown":0,"total":1}}]}

+ 1 - 0
report/widgets/categories-trend.json

@@ -0,0 +1 @@
+[{"data":{"Test defects":7}}]

+ 1 - 0
report/widgets/categories.json

@@ -0,0 +1 @@
+{"total":1,"items":[{"uid":"bdbf199525818fae7a8651db9eafe741","name":"Test defects","statistic":{"failed":0,"broken":7,"skipped":0,"passed":0,"unknown":0,"total":7}}]}

+ 1 - 0
report/widgets/duration-trend.json

@@ -0,0 +1 @@
+[{"data":{"duration":390}}]

+ 1 - 0
report/widgets/duration.json

@@ -0,0 +1 @@
+[{"uid":"84ea9c2e204ec5cd","name":"分页查询1页10条数据,名称是”测试“","time":{"start":1706516655519,"stop":1706516655521,"duration":2},"status":"broken","severity":"normal"},{"uid":"4f9a6f40691dc8e3","name":"分页查询1页50条数据","time":{"start":1706516655613,"stop":1706516655616,"duration":3},"status":"broken","severity":"normal"},{"uid":"e7fc3894b7d69f0","name":"查询状态失效的","time":{"start":1706516655644,"stop":1706516655648,"duration":4},"status":"broken","severity":"normal"},{"uid":"82e633593839af66","name":"分页查询1页100条数据","time":{"start":1706516655580,"stop":1706516655583,"duration":3},"status":"broken","severity":"normal"},{"uid":"15248fc83124df2c","name":"登录成功","time":{"start":1706516655290,"stop":1706516655376,"duration":86},"status":"broken","severity":"normal"},{"uid":"f21e1d2e0ff0899e","name":"分页查询2页10条数据,名称是”校外教育","time":{"start":1706516655547,"stop":1706516655549,"duration":2},"status":"broken","severity":"normal"},{"uid":"fbddf47e545b264b","name":"$ddt{name}","time":{"start":1706516655678,"stop":1706516655680,"duration":2},"status":"broken","severity":"normal"}]

+ 1 - 0
report/widgets/environment.json

@@ -0,0 +1 @@
+[]

+ 1 - 0
report/widgets/executors.json

@@ -0,0 +1 @@
+[]

+ 1 - 0
report/widgets/history-trend.json

@@ -0,0 +1 @@
+[{"data":{"failed":0,"broken":7,"skipped":0,"passed":0,"unknown":0,"total":7}}]

+ 1 - 0
report/widgets/launch.json

@@ -0,0 +1 @@
+[]

+ 1 - 0
report/widgets/retry-trend.json

@@ -0,0 +1 @@
+[{"data":{"run":7,"retry":0}}]

+ 1 - 0
report/widgets/severity.json

@@ -0,0 +1 @@
+[{"uid":"f21e1d2e0ff0899e","name":"分页查询2页10条数据,名称是”校外教育","time":{"start":1706516655547,"stop":1706516655549,"duration":2},"status":"broken","severity":"normal"},{"uid":"4f9a6f40691dc8e3","name":"分页查询1页50条数据","time":{"start":1706516655613,"stop":1706516655616,"duration":3},"status":"broken","severity":"normal"},{"uid":"84ea9c2e204ec5cd","name":"分页查询1页10条数据,名称是”测试“","time":{"start":1706516655519,"stop":1706516655521,"duration":2},"status":"broken","severity":"normal"},{"uid":"15248fc83124df2c","name":"登录成功","time":{"start":1706516655290,"stop":1706516655376,"duration":86},"status":"broken","severity":"normal"},{"uid":"e7fc3894b7d69f0","name":"查询状态失效的","time":{"start":1706516655644,"stop":1706516655648,"duration":4},"status":"broken","severity":"normal"},{"uid":"82e633593839af66","name":"分页查询1页100条数据","time":{"start":1706516655580,"stop":1706516655583,"duration":3},"status":"broken","severity":"normal"},{"uid":"fbddf47e545b264b","name":"$ddt{name}","time":{"start":1706516655678,"stop":1706516655680,"duration":2},"status":"broken","severity":"normal"}]

+ 1 - 0
report/widgets/status-chart.json

@@ -0,0 +1 @@
+[{"uid":"84ea9c2e204ec5cd","name":"分页查询1页10条数据,名称是”测试“","time":{"start":1706516655519,"stop":1706516655521,"duration":2},"status":"broken","severity":"normal"},{"uid":"4f9a6f40691dc8e3","name":"分页查询1页50条数据","time":{"start":1706516655613,"stop":1706516655616,"duration":3},"status":"broken","severity":"normal"},{"uid":"e7fc3894b7d69f0","name":"查询状态失效的","time":{"start":1706516655644,"stop":1706516655648,"duration":4},"status":"broken","severity":"normal"},{"uid":"82e633593839af66","name":"分页查询1页100条数据","time":{"start":1706516655580,"stop":1706516655583,"duration":3},"status":"broken","severity":"normal"},{"uid":"15248fc83124df2c","name":"登录成功","time":{"start":1706516655290,"stop":1706516655376,"duration":86},"status":"broken","severity":"normal"},{"uid":"f21e1d2e0ff0899e","name":"分页查询2页10条数据,名称是”校外教育","time":{"start":1706516655547,"stop":1706516655549,"duration":2},"status":"broken","severity":"normal"},{"uid":"fbddf47e545b264b","name":"$ddt{name}","time":{"start":1706516655678,"stop":1706516655680,"duration":2},"status":"broken","severity":"normal"}]

+ 1 - 0
report/widgets/suites.json

@@ -0,0 +1 @@
+{"total":1,"items":[{"uid":"9f855550c70aac5760ef6e02fd010b03","name":"test_case.qccq","statistic":{"failed":0,"broken":7,"skipped":0,"passed":0,"unknown":0,"total":7}}]}

+ 1 - 0
report/widgets/summary.json

@@ -0,0 +1 @@
+{"reportName":"Allure Report","testRuns":[],"statistic":{"failed":0,"broken":7,"skipped":0,"passed":0,"unknown":0,"total":7},"time":{"start":1706516655290,"stop":1706516655680,"duration":390,"minDuration":2,"maxDuration":86,"sumDuration":102}}

+ 43 - 0
temps/0aae1b6e-de48-41af-9278-c51e6e3f0073-attachment.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 43 - 0
temps/1258d120-e4ba-4133-a347-7a3d812121c1-attachment.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

File diff suppressed because it is too large
+ 0 - 0
temps/1aa5a03c-3cc1-4cb8-ab07-13310b7306b9-result.json


+ 1 - 0
temps/3bccd1f7-678a-4562-8c19-7e4b8af794ea-container.json

@@ -0,0 +1 @@
+{"uuid": "a07ca621-0687-4385-b731-5a5c1a101a68", "befores": [{"name": "arg_names", "status": "passed", "start": 1706516655288, "stop": 1706516655288}], "start": 1706516655288, "stop": 1706516655516}

+ 43 - 0
temps/3e50f726-0b7f-4b1c-a7c6-91115a49771c-attachment.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 47 - 0
temps/5e796740-7879-4c35-a9c2-a6a47ebf67a0-attachment.txt

@@ -0,0 +1,47 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+INFO     log:log_util.py:73 请求名称:登录成功
+INFO     log:log_util.py:73 请求方式:post
+INFO     log:log_util.py:73 请求路径:http://221.229.99.73:63220/api/service-sysmgr/LoginController/login
+INFO     log:log_util.py:73 请求json参数:{'captcha': 'youthcq', 'captchaKey': 'wwohetlyfcuswjcxeyglkpxl', 'password': '5856464E5731466E547A4D794D6C2B42334973312B784D3561584E4264726F487532746F37664C6F70326F47752B6F585043426543704356777A59717065774A6F423439385659426F6668716D496C75484A344F54416764676668596F6478554C6365643255793742736B56714B6271644858777675724F6D3959794667356D455071796C7858776D586D72672B344F4A57654249677779546631612B6E4B724E334C6B4B695A336A574D3D', 'scope': 'WEB', 'username': '17723565637'}
+INFO     log:log_util.py:73 实际结果: <Response [200]>
+INFO     log:log_util.py:73 预期结果:[{'contains': True}]
+INFO     log:log_util.py:73 实际结果:{'success': False, 'code': '-1', 'msg': '验证码错误!', 'data': None}
+ERROR    log:log_util.py:67 断言失败:返回结果中不包含True
+INFO     log:log_util.py:73 接口测试失败!!!
+INFO     log:log_util.py:73 ------接口测试结束————————
+ERROR    log:log_util.py:67 断言assert_result异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
+    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
+  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
+    error_log("断言失败:返回结果中不包含" + str(value))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 断言失败:返回结果中不包含True
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
+    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
+  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
+    error_log("断言失败:返回结果中不包含" + str(value))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 断言失败:返回结果中不包含True
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 148, in standard_yaml
+    self.assert_result(arg_names['validate'], return_json, return_code)
+  File "D:\zdh\pythonProject\common\request_util.py", line 183, in assert_result
+    error_log("断言assert_result异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 断言assert_result异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
+    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
+  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
+    error_log("断言失败:返回结果中不包含" + str(value))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 断言失败:返回结果中不包含True

+ 1 - 0
temps/6008c61c-10a8-4e00-a4ad-0fdea177c5f0-container.json

@@ -0,0 +1 @@
+{"uuid": "2235fb69-ba30-48fd-8533-0fd455b0d3b4", "befores": [{"name": "arg_names", "status": "passed", "start": 1706516655643, "stop": 1706516655644}], "start": 1706516655643, "stop": 1706516655675}

+ 1 - 0
temps/74a3d6d2-a608-42ef-9936-b976750d7bdf-container.json

@@ -0,0 +1 @@
+{"uuid": "d5360fc3-00d9-4caf-befc-a73da8b37468", "befores": [{"name": "arg_names", "status": "passed", "start": 1706516655579, "stop": 1706516655579}], "start": 1706516655579, "stop": 1706516655608}

+ 43 - 0
temps/87d8720b-aa9d-4512-8883-0b24d1b1c0ba-attachment.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 1 - 0
temps/91f3eabd-09fc-4000-98a0-8e3302465995-container.json

@@ -0,0 +1 @@
+{"uuid": "65f0fd88-2e79-4f9b-830a-3c6921a6b9dd", "befores": [{"name": "arg_names", "status": "passed", "start": 1706516655677, "stop": 1706516655678}], "start": 1706516655677, "stop": 1706516655699}

+ 1 - 0
temps/93d4b252-5257-4844-83f8-0368a9703ad2-container.json

@@ -0,0 +1 @@
+{"uuid": "c4c67571-8abb-4b30-a364-bc4a0324d7cc", "befores": [{"name": "arg_names", "status": "passed", "start": 1706516655546, "stop": 1706516655547}], "start": 1706516655546, "stop": 1706516655575}

+ 1 - 0
temps/94861dec-a57f-4b2e-8e68-fafb7b8fd237-container.json

@@ -0,0 +1 @@
+{"uuid": "cd550592-2cd4-4fa0-bf24-808dda674237", "befores": [{"name": "arg_names", "status": "passed", "start": 1706516655519, "stop": 1706516655519}], "start": 1706516655519, "stop": 1706516655542}

File diff suppressed because it is too large
+ 0 - 0
temps/94cc5b87-296b-4a78-935b-75b9c3a9037b-result.json


File diff suppressed because it is too large
+ 0 - 0
temps/b801a193-004d-46f2-b699-2b3738ed7680-result.json


File diff suppressed because it is too large
+ 0 - 0
temps/c10012ea-e26f-4c24-bdf9-867f3d31095d-result.json


File diff suppressed because it is too large
+ 0 - 0
temps/cbfb1136-c4a7-4735-bb1b-78762cf67046-result.json


File diff suppressed because it is too large
+ 0 - 0
temps/dbd6343f-88c1-4767-831f-7c75e43937de-result.json


File diff suppressed because it is too large
+ 0 - 0
temps/e3088ed0-7ffd-4fc8-bbcf-1f5fe55bcc56-result.json


+ 1 - 0
temps/e90e578a-51d3-4c98-a69c-29f899a6d319-container.json

@@ -0,0 +1 @@
+{"uuid": "578de9b3-5741-4fa7-8f0c-7202b6a24aa8", "befores": [{"name": "arg_names", "status": "passed", "start": 1706516655612, "stop": 1706516655612}], "start": 1706516655612, "stop": 1706516655640}

+ 1 - 0
temps/eb4f6fbb-a379-44cf-bee3-1f0f97463677-container.json

@@ -0,0 +1 @@
+{"uuid": "41819a73-1578-4f35-8a60-e6a44a0be532", "children": ["720e1735-b2d7-4347-a65a-c211f14e6d51", "87d3dac6-6748-4972-81a5-05ee55119a3e", "8ef508fa-d666-4bc5-9649-3ce5eb050a74", "b59c24ff-0255-4445-8496-646f827b68f3", "730ce5ce-3bf4-4faa-a376-a0397c93fe30", "ccc80229-e740-421c-96ee-65382f27ceba", "68385582-8827-4ff8-bc32-ca67f68660b3"], "befores": [{"name": "clear_yam", "status": "passed", "start": 1706516655288, "stop": 1706516655288}], "start": 1706516655288, "stop": 1706516655699}

+ 1 - 0
temps/ed37e5d7-bd9b-4c2c-ab38-4b1df1c750cd-container.json

@@ -0,0 +1 @@
+{"uuid": "24ae984c-93f8-42e5-8d3b-111c524aa167", "children": ["720e1735-b2d7-4347-a65a-c211f14e6d51", "87d3dac6-6748-4972-81a5-05ee55119a3e", "8ef508fa-d666-4bc5-9649-3ce5eb050a74", "b59c24ff-0255-4445-8496-646f827b68f3", "730ce5ce-3bf4-4faa-a376-a0397c93fe30", "ccc80229-e740-421c-96ee-65382f27ceba", "68385582-8827-4ff8-bc32-ca67f68660b3"], "befores": [{"name": "_session_faker", "status": "passed", "start": 1706516655174, "stop": 1706516655287}], "start": 1706516655174, "stop": 1706516655700}

+ 43 - 0
temps/faea02e3-99da-410f-a965-152f19c5e638-attachment.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

+ 43 - 0
temps/fcda3fae-a9d0-4f58-9762-4c7345a18eb9-attachment.txt

@@ -0,0 +1,43 @@
+INFO     log:log_util.py:73 --------接口测试开始--------
+INFO     log:log_util.py:73 yaml框架检查基本通过
+ERROR    log:log_util.py:67 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
+    res = self.send_request(name, method, url, **arg_names['request'])
+  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
+    error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
+  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
+    raise Exception(message)
+Exception: 发送请求send_request异常:Traceback (most recent call last):
+  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
+    kwargs[key] = self.replace_value(value)
+  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
+    new_index = getattr(DubugTalk(), function_name)(*args_value2)
+  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
+    return read_yaml(key)
+  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
+    return value[key]
+TypeError: 'NoneType' object is not subscriptable

Some files were not shown because too many files changed in this diff