做了一下优化

This commit is contained in:
yushaoqi 2022-04-07 22:29:47 +08:00
parent 0463430a16
commit 1d923c64e0
70 changed files with 8303 additions and 48 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
- # 用例001
url: ${{Host}}/recommend/get_head_word
url: ${{host}}/recommend/get_head_word
method: POST
detail: 测试接口
headers:

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2022-03-16 13:07:13
# @Time : 2022-04-07 22:29:22
# @Author : 余少琪
@ -25,4 +25,5 @@ class DateDemo(object):
if __name__ == '__main__':
path = GetCaseData(ConfigHandler.data_path + r'test_demo\DateDemo.yaml').get_yaml_case_data()[0]
data = DateDemo().dateDemo(path)
print(data)
print(data)

Binary file not shown.

View File

@ -1,2 +1,334 @@
%(levelname)-8s2022-02-21 18:37:52,617 C:\Users\hzxy\PycharmProjects\py_auto_demo\logs\error.log:conftest.py:94 执行失败用例数:1
%(levelname)-8s2022-02-21 18:38:30,385 C:\Users\hzxy\PycharmProjects\py_auto_demo\logs\error.log:conftest.py:94 执行失败用例数:0
<<<<<<< HEAD
%(levelname)-8s2022-04-02 10:46:12,349 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:57 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-02 10:53:05,670 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:57 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-02 16:36:25,809 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:57 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-02 17:51:06,101 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:57 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-02 18:02:10,052 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:57 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-02 18:06:19,876 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:57 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-02 18:09:44,105 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:57 断言失败, 预期值:200, 断言类型==, 实际值1011006
=======
%(levelname)-8s2022-04-04 23:12:19,468 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 ('失败用例书:', 0)
%(levelname)-8s2022-04-04 23:12:19,472 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 ('异常用例数:', 0)
%(levelname)-8s2022-04-04 23:17:29,681 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:102 异常用例数: 0
%(levelname)-8s2022-04-04 23:17:29,681 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 失败用例数: 0
%(levelname)-8s2022-04-04 23:19:44,769 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:102 异常用例数: 0
%(levelname)-8s2022-04-04 23:19:44,770 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 失败用例数: 0
%(levelname)-8s2022-04-04 23:20:13,255 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:102 异常用例数: 0
%(levelname)-8s2022-04-04 23:20:13,255 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 失败用例数: 0
%(levelname)-8s2022-04-04 23:20:32,708 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:102 异常用例数: 0
%(levelname)-8s2022-04-04 23:20:32,709 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 失败用例数: 1
%(levelname)-8s2022-04-04 23:20:32,725 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:102 异常用例数: 0
%(levelname)-8s2022-04-04 23:20:32,726 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 失败用例数: 1
%(levelname)-8s2022-04-04 23:20:32,966 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:102 异常用例数: 0
%(levelname)-8s2022-04-04 23:20:32,966 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 失败用例数: 0
%(levelname)-8s2022-04-04 23:23:57,687 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:23:57,687 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:23:57,703 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:23:57,703 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:23:57,914 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:23:57,914 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 1
%(levelname)-8s2022-04-04 23:25:01,026 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:25:01,027 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 1
%(levelname)-8s2022-04-04 23:29:33,110 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:29:33,110 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:30:03,892 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:30:03,893 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:30:03,930 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:30:03,931 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:30:03,943 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:30:03,944 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:31:23,262 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:31:23,262 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:32:34,960 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:32:34,960 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:32:35,019 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:32:35,019 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:32:35,045 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:32:35,045 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:36:12,973 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:36:12,973 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:36:13,027 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:36:13,027 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:36:13,104 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:36:13,105 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:39:06,638 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:39:06,638 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:39:06,676 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:39:06,676 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:39:06,735 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:39:06,735 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:43:03,410 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:43:03,410 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:43:03,519 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:43:03,519 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:43:03,600 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:103 异常用例数: 0
%(levelname)-8s2022-04-04 23:43:03,600 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 失败用例数: 0
%(levelname)-8s2022-04-04 23:46:32,700 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:46:32,700 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:46:32,702 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:46:32,702 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:46:32,768 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:46:32,768 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:46:33,500 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:46:33,500 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:46:54,333 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:46:54,333 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:46:54,350 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:46:54,350 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:46:54,350 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:46:54,350 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:46:54,469 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:46:54,469 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:55:14,881 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:55:14,881 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:55:14,969 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:55:14,969 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:55:15,027 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:55:15,028 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:55:15,192 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:55:15,192 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:55:43,360 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:55:43,360 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:55:43,413 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:55:43,413 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:55:43,416 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:55:43,417 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-04 23:55:43,556 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-04 23:55:43,556 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 00:10:22,659 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 00:10:22,659 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 00:10:22,702 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 00:10:22,703 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 00:10:22,825 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 00:10:22,826 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 00:10:22,988 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 00:10:22,988 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 00:27:05,635 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 00:27:05,635 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 00:27:05,779 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 00:27:05,779 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 00:27:05,839 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 00:27:05,840 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 00:27:06,035 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 00:27:06,035 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 13:47:43,580 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 13:47:43,580 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 13:48:24,560 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 13:48:24,560 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 13:49:00,198 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 13:49:00,198 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 1
%(levelname)-8s2022-04-05 13:50:00,239 C:\work\Study\pytest-auto-api3\logs\error.log:assertControl.py:61 断言失败, 预期值:0, 断言类型==, 实际值00000
%(levelname)-8s2022-04-05 13:50:00,415 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 13:50:00,415 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 1
%(levelname)-8s2022-04-05 13:50:16,968 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 13:50:16,969 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 13:52:43,653 C:\work\Study\pytest-auto-api3\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值A0002
%(levelname)-8s2022-04-05 13:52:43,828 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 13:52:43,828 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 1
%(levelname)-8s2022-04-05 13:53:36,056 C:\work\Study\pytest-auto-api3\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值D0001
%(levelname)-8s2022-04-05 13:53:36,228 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 13:53:36,229 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 1
%(levelname)-8s2022-04-05 13:54:25,387 C:\work\Study\pytest-auto-api3\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值D0001
%(levelname)-8s2022-04-05 13:54:25,556 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 13:54:25,556 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 1
%(levelname)-8s2022-04-05 13:55:52,739 C:\work\Study\pytest-auto-api3\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值00000
%(levelname)-8s2022-04-05 13:55:52,908 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 13:55:52,909 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 1
%(levelname)-8s2022-04-05 13:56:48,602 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 13:56:48,602 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 13:59:16,449 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 13:59:16,449 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 13:59:38,024 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 13:59:38,024 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:00:45,379 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 14:00:45,379 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:01:05,299 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 14:01:05,299 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:01:05,421 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 14:01:05,421 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:01:05,426 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 14:01:05,427 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:01:05,555 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 14:01:05,555 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:01:15,933 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 14:01:15,934 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:02:10,134 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 14:02:10,135 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:06:41,324 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 14:06:41,324 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:18:23,449 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 14:18:23,454 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:19:40,579 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 14:19:40,579 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:20:06,733 C:\work\Study\pytest-auto-api3\logs\error.log:assertControl.py:61 断言失败, 预期值:000, 断言类型==, 实际值00000
%(levelname)-8s2022-04-05 14:20:06,914 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 14:20:06,914 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 1
%(levelname)-8s2022-04-05 14:33:59,876 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 1
%(levelname)-8s2022-04-05 14:33:59,877 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
%(levelname)-8s2022-04-05 14:34:50,154 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:104 异常用例数: 0
%(levelname)-8s2022-04-05 14:34:50,154 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:105 失败用例数: 0
>>>>>>> cbe7dd67f936639516799c2ead3ef8b44ecddeb6
%(levelname)-8s2022-04-06 13:08:36,270 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值500
%(levelname)-8s2022-04-06 14:14:55,456 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值500
%(levelname)-8s2022-04-06 14:26:23,563 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值500
%(levelname)-8s2022-04-06 16:46:44,780 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 异常用例数: 0
%(levelname)-8s2022-04-06 16:46:44,782 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:107 失败用例数: 0
<<<<<<< HEAD
%(levelname)-8s2022-04-07 00:00:45,453 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 3
%(levelname)-8s2022-04-07 00:00:45,454 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 0
%(levelname)-8s2022-04-07 00:00:45,495 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 3
%(levelname)-8s2022-04-07 00:00:45,495 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 0
%(levelname)-8s2022-04-07 00:00:45,514 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 3
%(levelname)-8s2022-04-07 00:00:45,515 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 0
%(levelname)-8s2022-04-07 00:00:46,213 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 9
%(levelname)-8s2022-04-07 00:00:46,213 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 0
%(levelname)-8s2022-04-07 00:01:53,486 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 1
%(levelname)-8s2022-04-07 00:01:53,487 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 0
%(levelname)-8s2022-04-07 00:03:44,425 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 1
%(levelname)-8s2022-04-07 00:03:44,426 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 0
%(levelname)-8s2022-04-07 00:09:07,854 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 0
%(levelname)-8s2022-04-07 00:09:07,854 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 0
%(levelname)-8s2022-04-07 00:09:08,008 C:\work\Study\pytest-auto-api3\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011008
%(levelname)-8s2022-04-07 00:09:08,255 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 0
%(levelname)-8s2022-04-07 00:09:08,255 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 1
%(levelname)-8s2022-04-07 00:09:08,379 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 0
%(levelname)-8s2022-04-07 00:09:08,380 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 1
%(levelname)-8s2022-04-07 00:09:08,573 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:106 异常用例数: 0
%(levelname)-8s2022-04-07 00:09:08,574 C:\work\Study\pytest-auto-api3\logs\error.log:conftest.py:107 失败用例数: 2
=======
%(levelname)-8s2022-04-07 00:24:11,657 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值401
%(levelname)-8s2022-04-07 14:49:55,900 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 14:49:55,901 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 14:49:56,329 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 14:49:56,330 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 14:49:58,846 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 14:49:58,847 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 0
%(levelname)-8s2022-04-07 14:49:59,634 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 14:49:59,635 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 2
%(levelname)-8s2022-04-07 14:51:12,326 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 15:16:25,996 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 15:16:26,564 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 15:16:26,564 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 15:16:26,897 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 15:16:26,898 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 15:16:27,056 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 15:16:27,056 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 15:16:27,597 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 15:16:27,598 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 3
%(levelname)-8s2022-04-07 15:17:13,085 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 15:17:13,746 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 15:17:13,747 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 15:17:13,819 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 15:17:13,820 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 15:17:14,195 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 15:17:14,196 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 15:17:14,631 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 15:17:14,632 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 3
%(levelname)-8s2022-04-07 17:33:20,531 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 17:33:21,227 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:33:21,228 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:33:21,449 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:33:21,451 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:33:21,819 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:33:21,820 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:33:22,297 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:33:22,298 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 3
%(levelname)-8s2022-04-07 17:38:33,414 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 17:38:34,002 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:38:34,002 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:38:34,125 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:38:34,126 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:38:34,540 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:38:34,541 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:38:34,951 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:38:34,952 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 3
%(levelname)-8s2022-04-07 17:43:15,151 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 17:43:15,898 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:43:15,899 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:43:16,451 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:43:16,453 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:43:16,746 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:43:16,748 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:43:17,269 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:43:17,270 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 3
%(levelname)-8s2022-04-07 17:47:52,801 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 17:47:53,247 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:47:53,247 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:48:21,649 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:48:21,651 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:48:22,097 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:48:22,098 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 0
%(levelname)-8s2022-04-07 17:48:23,050 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:48:23,051 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 2
%(levelname)-8s2022-04-07 17:48:51,713 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 17:48:52,294 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:48:52,295 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:48:52,448 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:48:52,449 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:48:52,848 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:48:52,849 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:48:53,404 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:48:53,405 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 3
%(levelname)-8s2022-04-07 17:56:18,895 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:56:18,895 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:56:18,997 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:56:18,998 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:56:21,026 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:56:21,026 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 1
%(levelname)-8s2022-04-07 17:56:21,532 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:105 异常用例数: 0
%(levelname)-8s2022-04-07 17:56:21,533 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:106 失败用例数: 3
%(levelname)-8s2022-04-07 18:01:10,619 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 18:01:11,239 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:130 异常用例数: 0
%(levelname)-8s2022-04-07 18:01:11,239 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:131 失败用例数: 1
%(levelname)-8s2022-04-07 18:01:11,433 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:130 异常用例数: 0
%(levelname)-8s2022-04-07 18:01:11,434 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:131 失败用例数: 1
%(levelname)-8s2022-04-07 18:01:11,761 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:130 异常用例数: 0
%(levelname)-8s2022-04-07 18:01:11,761 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:131 失败用例数: 1
%(levelname)-8s2022-04-07 18:01:12,160 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:130 异常用例数: 0
%(levelname)-8s2022-04-07 18:01:12,161 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:131 失败用例数: 3
%(levelname)-8s2022-04-07 18:03:41,012 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:101106, 断言类型==, 实际值1011006
%(levelname)-8s2022-04-07 18:03:41,282 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:assertControl.py:61 断言失败, 预期值:200, 断言类型==, 实际值401
%(levelname)-8s2022-04-07 18:03:41,832 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:130 异常用例数: 0
%(levelname)-8s2022-04-07 18:03:41,832 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:131 失败用例数: 1
%(levelname)-8s2022-04-07 18:03:42,074 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:130 异常用例数: 0
%(levelname)-8s2022-04-07 18:03:42,075 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:131 失败用例数: 1
%(levelname)-8s2022-04-07 18:03:42,906 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:130 异常用例数: 0
%(levelname)-8s2022-04-07 18:03:42,908 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:131 失败用例数: 1
%(levelname)-8s2022-04-07 18:03:43,464 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:130 异常用例数: 0
%(levelname)-8s2022-04-07 18:03:43,465 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:131 失败用例数: 3
%(levelname)-8s2022-04-07 18:14:00,680 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:121 异常用例数: 0
%(levelname)-8s2022-04-07 18:14:00,681 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:122 失败用例数: 0
%(levelname)-8s2022-04-07 18:14:00,839 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:121 异常用例数: 0
%(levelname)-8s2022-04-07 18:14:00,839 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:122 失败用例数: 0
%(levelname)-8s2022-04-07 18:14:00,939 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:121 异常用例数: 0
%(levelname)-8s2022-04-07 18:14:00,939 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:122 失败用例数: 0
%(levelname)-8s2022-04-07 18:14:01,472 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:121 异常用例数: 0
%(levelname)-8s2022-04-07 18:14:01,472 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:122 失败用例数: 0
%(levelname)-8s2022-04-07 18:33:51,700 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 18:33:51,708 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 18:33:52,043 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 18:33:52,045 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 18:33:52,100 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 18:33:52,101 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 18:33:52,897 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 18:33:52,898 C:\Users\hzxy\PycharmProjects\pyestAutoApi\logs\error.log:conftest.py:123 失败用例数: 0
>>>>>>> 2a92615c074dbfa657c44828c7734164b7cb2b0b
%(levelname)-8s2022-04-07 21:05:55,881 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:122 异常用例数: 2
%(levelname)-8s2022-04-07 21:05:55,883 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 21:06:50,258 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 21:06:50,259 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 21:07:03,256 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 21:07:03,256 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 22:03:31,770 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 22:03:31,772 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 22:03:40,134 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 22:03:40,135 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 22:04:06,843 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:122 异常用例数: 0
%(levelname)-8s2022-04-07 22:04:06,843 C:\work\Study\pytest-auto-api2\logs\error.log:conftest.py:123 失败用例数: 0
%(levelname)-8s2022-04-07 22:15:08,820C:\work\Study\pytest-auto-api2\logs\error.log:assertControl.py:64 断言失败, 预期值:[200], 断言类型==, 实际值200
%(levelname)-8s2022-04-07 22:15:44,347C:\work\Study\pytest-auto-api2\logs\error.log:assertControl.py:64 断言失败, 预期值:[200], 断言类型==, 实际值200
%(levelname)-8s2022-04-07 22:16:03,260C:\work\Study\pytest-auto-api2\logs\error.log:assertControl.py:64 断言失败, 预期值:[200], 断言类型==, 实际值200
%(levelname)-8s2022-04-07 22:16:29,309C:\work\Study\pytest-auto-api2\logs\error.log:assertControl.py:64 断言失败, 预期值:[200], 断言类型==, 实际值200
%(levelname)-8s2022-04-07 22:17:43,496C:\work\Study\pytest-auto-api2\logs\error.log:assertControl.py:64 断言失败, 预期值:[200], 断言类型==, 实际值200
%(levelname)-8s2022-04-07 22:23:09,587C:\work\Study\pytest-auto-api2\logs\error.log:assertControl.py:64 断言失败, 预期值:[200], 断言类型==, 实际值200
%(levelname)-8s2022-04-07 22:23:28,693C:\work\Study\pytest-auto-api2\logs\error.log:assertControl.py:64 断言失败, 预期值:[200], 断言类型==, 实际值200

File diff suppressed because one or more lines are too long

40
report/html/app.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"这里是测试平台名称","这里是测试模块名称","这是一个测试的demo接口","0","1","0","0","0"
1 Epic Feature Story FAILED BROKEN PASSED SKIPPED UNKNOWN
2 这里是测试平台名称 这里是测试模块名称 这是一个测试的demo接口 0 1 0 0 0

View File

@ -0,0 +1,34 @@
{
"uid" : "b1a8273437954620fa374b796ffaacdd",
"name" : "behaviors",
"children" : [ {
"name" : "这里是测试平台名称",
"children" : [ {
"name" : "这里是测试模块名称",
"children" : [ {
"name" : "这是一个测试的demo接口",
"children" : [ {
"name" : "test_dateDemo[inData0]",
"uid" : "f55aa1e142fcf040",
"parentUid" : "710e6e9c57cac41e6d6c86e7a2c6994d",
"status" : "broken",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"flaky" : false,
"newFailed" : false,
"newPassed" : false,
"newBroken" : false,
"retriesCount" : 0,
"retriesStatusChange" : false,
"parameters" : [ "{'url': 'https://redisdatarecall.csdn.net/recommend/get_head_word', 'method': 'POST', 'detail': '测试接口', 'headers': {'Content-Type': 'application/json;charset=UTF-8'}, 'requestType': 'params', 'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'resp': {'code': {'jsonpath': '$.status', 'type': '==', 'value': 200, 'AssertType': None}, 'msg': {'jsonpath': '$.msg', 'type': '==', 'value': '查询成功', 'AssertType': None}}, 'sql': None}" ]
} ],
"uid" : "710e6e9c57cac41e6d6c86e7a2c6994d"
} ],
"uid" : "0eea4951504db52d6dcbd87d4bb5eebb"
} ],
"uid" : "d01b1565dd552ec92896a12c6358635e"
} ]
}

View File

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

View File

@ -0,0 +1,30 @@
{
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
"name" : "categories",
"children" : [ {
"name" : "Test defects",
"children" : [ {
"name" : "AttributeError: 'RequestControl' object has no attribute 'HttpRequest'",
"children" : [ {
"name" : "test_dateDemo[inData0]",
"uid" : "f55aa1e142fcf040",
"parentUid" : "6223cb31c16802e96c5849954dbac69e",
"status" : "broken",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"flaky" : false,
"newFailed" : false,
"newPassed" : false,
"newBroken" : false,
"retriesCount" : 0,
"retriesStatusChange" : false,
"parameters" : [ "{'url': 'https://redisdatarecall.csdn.net/recommend/get_head_word', 'method': 'POST', 'detail': '测试接口', 'headers': {'Content-Type': 'application/json;charset=UTF-8'}, 'requestType': 'params', 'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'resp': {'code': {'jsonpath': '$.status', 'type': '==', 'value': 200, 'AssertType': None}, 'msg': {'jsonpath': '$.msg', 'type': '==', 'value': '查询成功', 'AssertType': None}}, 'sql': None}" ]
} ],
"uid" : "6223cb31c16802e96c5849954dbac69e"
} ],
"uid" : "bdbf199525818fae7a8651db9eafe741"
} ]
}

View File

@ -0,0 +1,26 @@
{
"uid" : "83edc06c07f9ae9e47eb6dd1b683e4e2",
"name" : "packages",
"children" : [ {
"name" : "test_case.test_demo.test_DateDemo",
"children" : [ {
"name" : "test_dateDemo[inData0]",
"uid" : "f55aa1e142fcf040",
"parentUid" : "827511afb259d0c1cfc36fa1a8b41cc8",
"status" : "broken",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"flaky" : false,
"newFailed" : false,
"newPassed" : false,
"newBroken" : false,
"retriesCount" : 0,
"retriesStatusChange" : false,
"parameters" : [ "{'url': 'https://redisdatarecall.csdn.net/recommend/get_head_word', 'method': 'POST', 'detail': '测试接口', 'headers': {'Content-Type': 'application/json;charset=UTF-8'}, 'requestType': 'params', 'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'resp': {'code': {'jsonpath': '$.status', 'type': '==', 'value': 200, 'AssertType': None}, 'msg': {'jsonpath': '$.msg', 'type': '==', 'value': '查询成功', 'AssertType': None}}, 'sql': None}" ]
} ],
"uid" : "test_case.test_demo.test_DateDemo"
} ]
}

View File

@ -0,0 +1,6 @@
"Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
"broken","Thu Apr 07 22:26:37 CST 2022","Thu Apr 07 22:26:37 CST 2022","0","test_case.test_demo","test_DateDemo","TestDateDemo","","","test_dateDemo[inData0]","
测试接口
:param :
:return:
"
1 Status Start Time Stop Time Duration in ms Parent Suite Suite Sub Suite Test Class Test Method Name Description
2 broken Thu Apr 07 22:26:37 CST 2022 Thu Apr 07 22:26:37 CST 2022 0 test_case.test_demo test_DateDemo TestDateDemo test_dateDemo[inData0] 测试接口 :param : :return:

View File

@ -0,0 +1,34 @@
{
"uid" : "98d3104e051c652961429bf95fa0b5d6",
"name" : "suites",
"children" : [ {
"name" : "test_case.test_demo",
"children" : [ {
"name" : "test_DateDemo",
"children" : [ {
"name" : "TestDateDemo",
"children" : [ {
"name" : "test_dateDemo[inData0]",
"uid" : "f55aa1e142fcf040",
"parentUid" : "e20c9714c8ce4d88627f18182efe23fe",
"status" : "broken",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"flaky" : false,
"newFailed" : false,
"newPassed" : false,
"newBroken" : false,
"retriesCount" : 0,
"retriesStatusChange" : false,
"parameters" : [ "{'url': 'https://redisdatarecall.csdn.net/recommend/get_head_word', 'method': 'POST', 'detail': '测试接口', 'headers': {'Content-Type': 'application/json;charset=UTF-8'}, 'requestType': 'params', 'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'resp': {'code': {'jsonpath': '$.status', 'type': '==', 'value': 200, 'AssertType': None}, 'msg': {'jsonpath': '$.msg', 'type': '==', 'value': '查询成功', 'AssertType': None}}, 'sql': None}" ]
} ],
"uid" : "e20c9714c8ce4d88627f18182efe23fe"
} ],
"uid" : "63c46c6248f739075ae8566b9f784ad2"
} ],
"uid" : "7a8b7e46177bbd4d1efa8551fea4a38d"
} ]
}

View File

@ -0,0 +1,125 @@
{
"uid" : "f55aa1e142fcf040",
"name" : "test_dateDemo[inData0]",
"fullName" : "test_case.test_demo.test_DateDemo.TestDateDemo#test_dateDemo",
"historyId" : "9724f0467ede83b4aa72aeced28d200a",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"description" : "\n 测试接口\n :param :\n :return:\n ",
"descriptionHtml" : "<pre><code> 测试接口\n :param :\n :return:\n</code></pre>\n",
"status" : "broken",
"statusMessage" : "AttributeError: 'RequestControl' object has no attribute 'HttpRequest'",
"statusTrace" : "self = <test_DateDemo.TestDateDemo object at 0x00000264B8607D00>\ninData = {'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'detail': '测试接口', ...}\n\n @allure.story(\"这是一个测试的demo接口\")\n @pytest.mark.parametrize('inData', TestData)\n def test_dateDemo(self, inData):\n \"\"\"\n 测试接口\n :param :\n :return:\n \"\"\"\n \n> res = DateDemo().dateDemo(inData)\n\ntest_case\\test_demo\\test_DateDemo.py:30: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\ninData = {'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'detail': '测试接口', ...}\n\n @staticmethod\n def dateDemo(inData):\n \"\"\"\n 测试接口\n :param inData:\n :return:\n \"\"\"\n \n> resp = RequestControl().HttpRequest(inData['method'], inData)\nE AttributeError: 'RequestControl' object has no attribute 'HttpRequest'\n\nlib\\test_demo\\DateDemo.py:21: AttributeError",
"flaky" : false,
"newFailed" : false,
"newBroken" : false,
"newPassed" : false,
"retriesCount" : 0,
"retriesStatusChange" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1649341597421,
"stop" : 1649341597521,
"duration" : 100
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"hasContent" : false,
"stepsCount" : 0,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
}, {
"name" : "clear_report",
"time" : {
"start" : 1649341597521,
"stop" : 1649341597522,
"duration" : 1
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"hasContent" : false,
"stepsCount" : 0,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"afterStages" : [ {
"name" : "clear_report::0",
"time" : {
"start" : 1649341597659,
"stop" : 1649341597659,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"hasContent" : false,
"stepsCount" : 0,
"shouldDisplayMessage" : false,
"attachmentsCount" : 0
} ],
"labels" : [ {
"name" : "epic",
"value" : "这里是测试平台名称"
}, {
"name" : "story",
"value" : "这是一个测试的demo接口"
}, {
"name" : "feature",
"value" : "这里是测试模块名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_DateDemo"
}, {
"name" : "subSuite",
"value" : "TestDateDemo"
}, {
"name" : "host",
"value" : "DESKTOP-H35VFGJ"
}, {
"name" : "thread",
"value" : "11356-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_demo.test_DateDemo"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "inData",
"value" : "{'url': 'https://redisdatarecall.csdn.net/recommend/get_head_word', 'method': 'POST', 'detail': '测试接口', 'headers': {'Content-Type': 'application/json;charset=UTF-8'}, 'requestType': 'params', 'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'resp': {'code': {'jsonpath': '$.status', 'type': '==', 'value': 200, 'AssertType': None}, 'msg': {'jsonpath': '$.msg', 'type': '==', 'value': '查询成功', 'AssertType': None}}, 'sql': None}"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ {
"name" : "Test defects",
"matchedStatuses" : [ ],
"flaky" : false
} ],
"tags" : [ ]
},
"source" : "f55aa1e142fcf040.json",
"parameterValues" : [ "{'url': 'https://redisdatarecall.csdn.net/recommend/get_head_word', 'method': 'POST', 'detail': '测试接口', 'headers': {'Content-Type': 'application/json;charset=UTF-8'}, 'requestType': 'params', 'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'resp': {'code': {'jsonpath': '$.status', 'type': '==', 'value': 200, 'AssertType': None}, 'msg': {'jsonpath': '$.msg', 'type': '==', 'value': '查询成功', 'AssertType': None}}, 'sql': None}" ]
}

View File

@ -0,0 +1,30 @@
{
"uid" : "ab17fc5a4eb3bca4b216b548c7f9fcbc",
"name" : "timeline",
"children" : [ {
"name" : "DESKTOP-H35VFGJ",
"children" : [ {
"name" : "11356-MainThread",
"children" : [ {
"name" : "test_dateDemo[inData0]",
"uid" : "f55aa1e142fcf040",
"parentUid" : "4733a64d72c1a4566f8e25ace4b825e2",
"status" : "broken",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"flaky" : false,
"newFailed" : false,
"newPassed" : false,
"newBroken" : false,
"retriesCount" : 0,
"retriesStatusChange" : false,
"parameters" : [ "{'url': 'https://redisdatarecall.csdn.net/recommend/get_head_word', 'method': 'POST', 'detail': '测试接口', 'headers': {'Content-Type': 'application/json;charset=UTF-8'}, 'requestType': 'params', 'allureEpic': '这里是测试平台名称', 'allureFeature': '这里是测试模块名称', 'data': {'bid': 'blog-121903028'}, 'resp': {'code': {'jsonpath': '$.status', 'type': '==', 'value': 200, 'AssertType': None}, 'msg': {'jsonpath': '$.msg', 'type': '==', 'value': '查询成功', 'AssertType': None}}, 'sql': None}" ]
} ],
"uid" : "4733a64d72c1a4566f8e25ace4b825e2"
} ],
"uid" : "bb564c754c163bdde4eb98a5e4dd6534"
} ]
}

View File

@ -0,0 +1,12 @@
launch_status failed=0 1649341599000000000
launch_status broken=1 1649341599000000000
launch_status passed=0 1649341599000000000
launch_status skipped=0 1649341599000000000
launch_status unknown=0 1649341599000000000
launch_time duration=0 1649341599000000000
launch_time min_duration=0 1649341599000000000
launch_time max_duration=0 1649341599000000000
launch_time sum_duration=0 1649341599000000000
launch_problems test_defects=1 1649341599000000000
launch_retries retries=0 1649341599000000000
launch_retries run=1 1649341599000000000

View File

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

View File

@ -0,0 +1,12 @@
launch_status_failed 0
launch_status_broken 1
launch_status_passed 0
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 0
launch_time_min_duration 0
launch_time_max_duration 0
launch_time_sum_duration 0
launch_problems_test_defects 1
launch_retries_retries 0
launch_retries_run 1

BIN
report/html/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

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

View File

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

View File

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

View File

@ -0,0 +1,22 @@
{
"9724f0467ede83b4aa72aeced28d200a" : {
"statistic" : {
"failed" : 0,
"broken" : 1,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "f55aa1e142fcf040",
"status" : "broken",
"statusDetails" : "AttributeError: 'RequestControl' object has no attribute 'HttpRequest'",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
}
} ]
}
}

View File

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

23
report/html/index.html Normal file
View File

@ -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>

View File

@ -0,0 +1,192 @@
'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 storys',
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.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
}));

View File

@ -0,0 +1,112 @@
'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.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'
});
})
});

View File

@ -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',
});
})();

View File

@ -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;
}

5
report/html/styles.css Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,15 @@
{
"total" : 1,
"items" : [ {
"uid" : "d01b1565dd552ec92896a12c6358635e",
"name" : "这里是测试平台名称",
"statistic" : {
"failed" : 0,
"broken" : 1,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
}
} ]
}

View File

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

View File

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

View File

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

View File

@ -0,0 +1,11 @@
[ {
"uid" : "f55aa1e142fcf040",
"name" : "test_dateDemo[inData0]",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"status" : "broken",
"severity" : "normal"
} ]

View File

@ -0,0 +1,16 @@
[ {
"values" : [ "测试项目" ],
"name" : "测试平台"
}, {
"values" : [ "TEST" ],
"name" : "测试环境"
}, {
"values" : [ "余少琪" ],
"name" : "测试人员"
}, {
"values" : [ "1603453211@qq.com" ],
"name" : "邮箱"
}, {
"values" : [ "3.9.0" ],
"name" : "python.Version"
} ]

View File

@ -0,0 +1 @@
[ ]

View File

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

View File

@ -0,0 +1 @@
[ ]

View File

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

View File

@ -0,0 +1,11 @@
[ {
"uid" : "f55aa1e142fcf040",
"name" : "test_dateDemo[inData0]",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"status" : "broken",
"severity" : "normal"
} ]

View File

@ -0,0 +1,11 @@
[ {
"uid" : "f55aa1e142fcf040",
"name" : "test_dateDemo[inData0]",
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0
},
"status" : "broken",
"severity" : "normal"
} ]

View File

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

View File

@ -0,0 +1,20 @@
{
"reportName" : "Allure Report",
"testRuns" : [ ],
"statistic" : {
"failed" : 0,
"broken" : 1,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"time" : {
"start" : 1649341597527,
"stop" : 1649341597527,
"duration" : 0,
"minDuration" : 0,
"maxDuration" : 0,
"sumDuration" : 0
}
}

Binary file not shown.

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2022-03-16 13:07:13
# @Time : 2022-04-07 22:29:22
# @Author : 余少琪
@ -19,18 +19,17 @@ TestData = GetCaseData(ConfigHandler.merchant_data_path + r'test_demo\DateDemo.y
class TestDateDemo:
@allure.story("这是一个测试的demo接口")
@pytest.mark.parametrize('data', TestData)
def test_date_demo(self, date):
@pytest.mark.parametrize('inData', TestData)
def test_dateDemo(self, inData):
"""
测试接口
:param :
:return:
"""
res = DateDemo().dateDemo(date)
Assert(date['resp']).assert_equality(response_data=res[0], sql_data=res[1])
res = DateDemo().dateDemo(inData)
Assert(inData['resp']).assert_equality(response_data=res[0], sql_data=res[1])
if __name__ == '__main__':
pytest.main(['test_DateDemo.py', '-s', '-W', 'ignore:Module already imported:pytest.PytestWarning', "--reruns=2",
"--reruns-delay=2"])
pytest.main(['test_DateDemo.py', '-s', '-W', 'ignore:Module already imported:pytest.PytestWarning'])

View File

@ -92,7 +92,7 @@ class {classTitle}(object):
:return:
"""
resp = RequestControl().HttpRequest(inData['method'], inData)
resp = RequestControl().http_request(inData['method'], inData)
return resp
@ -149,11 +149,11 @@ class Test{classTitle}:
"""
res = {classTitle}().{funcTitle}(inData)
Assert(inData['resp']).assertEquality(responseData=res[0], sqlData=res[1])
Assert(inData['resp']).assert_equality(response_data=res[0], sql_data=res[1])
if __name__ == '__main__':
pytest.main(['{fileName}', '-s', '-W', 'ignore:Module already imported:pytest.PytestWarning', "--reruns=2", "--reruns-delay=2"])
pytest.main(['{fileName}', '-s', '-W', 'ignore:Module already imported:pytest.PytestWarning'])
'''
with open(casePath, 'w', encoding="utf-8") as f:
f.write(page)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -96,7 +96,7 @@ class Assert:
self.sql_switch_handle(sql_data, assert_value, key, values, resp_data)
# 判断assertType为空的情况下则走响应断言
elif assert_type is None:
self._assert_type(assert_type=self.assertData[key]['type'], key=resp_data[0], value=resp_data)
self._assert_type(assert_type=self.assertData[key]['type'], key=resp_data[0], value=resp_data[0])
else:
raise ValueError("断言失败,目前只支持数据库断言和响应断言")

View File

@ -9,7 +9,7 @@ from tools.yamlControl import GetYamlData
from tools import writePageFiles, writeTestCaseFile
class TestCaseAutomaticGeneration:
class CaseAutomaticGeneration:
"""自动生成自动化测试中的page代码"""
# TODO 自动生成测试代码
@ -81,7 +81,7 @@ class TestCaseAutomaticGeneration:
elif len(i) == 1:
return f"from lib.{i[0][:-3]} import {i[0][:-3]}"
def test_case_path(self, file_path):
def get_case_path(self, file_path):
"""
根据 yaml 中的用例生成对应 testCase 层代码的路径
:param file_path: yaml用例路径
@ -94,7 +94,7 @@ class TestCaseAutomaticGeneration:
return ConfigHandler.case_path + new_name, case_name
@classmethod
def test_case_detail(cls, file_path):
def get_case_detail(cls, file_path):
"""
获取用例描述
:param file_path: yaml 用例路径
@ -102,7 +102,7 @@ class TestCaseAutomaticGeneration:
"""
return GetYamlData(file_path).get_yaml_data()[0]['detail']
def test_class_title(self, file_path):
def get_class_title(self, file_path):
"""
自动生成类名称
:param file_path:
@ -116,7 +116,7 @@ class TestCaseAutomaticGeneration:
:param file_path: yaml 用例路径
:return:
"""
_CLASS_NAME = self.test_class_title(file_path)
_CLASS_NAME = self.get_class_title(file_path)
return _CLASS_NAME[0].lower() + _CLASS_NAME[1:]
@classmethod
@ -141,7 +141,7 @@ class TestCaseAutomaticGeneration:
""" 判断生成自动化代码的路径是否存在,如果不存在,则自动创建 """
_LibDirPath = os.path.split(self.lib_page_path(file_path))[0]
_CaseDirPath = os.path.split(self.test_case_path(file_path)[0])[0]
_CaseDirPath = os.path.split(self.get_case_path(file_path)[0])[0]
_PathList = [_LibDirPath, _CaseDirPath]
for i in _PathList:
if not os.path.exists(i):
@ -165,13 +165,13 @@ class TestCaseAutomaticGeneration:
self.mk_dir(file)
print(self.get_package_path(file))
writePageFiles(self.test_class_title(file), self.func_title(file), self.test_case_detail(file),
writePageFiles(self.get_class_title(file), self.func_title(file), self.get_case_detail(file),
self.lib_page_path(file), self.yaml_path(file))
writeTestCaseFile(self.allure_epic(file), self.allure_feature(file), self.test_class_title(file),
self.func_title(file), self.test_case_detail(file), self.test_case_path(file)[0],
self.yaml_path(file), self.test_case_path(file)[1], self.get_package_path(file))
writeTestCaseFile(self.allure_epic(file), self.allure_feature(file), self.get_class_title(file),
self.func_title(file), self.get_case_detail(file), self.get_case_path(file)[0],
self.yaml_path(file), self.get_case_path(file)[1], self.get_package_path(file))
if __name__ == '__main__':
TestCaseAutomaticGeneration().test_case_automatic()
CaseAutomaticGeneration().test_case_automatic()