apiAutoTestv 开源最老可用版本

This commit is contained in:
zy7y 2020-11-21 09:48:05 +08:00
parent c7930ea58e
commit 7f90960566
137 changed files with 31 additions and 1 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
api/__init__.py Normal file → Executable file
View File

0
api/base_requests.py Normal file → Executable file
View File

0
apiAutoTest用例说明.md Normal file → Executable file
View File

2
config/config.yaml Normal file → Executable file
View File

@ -1,7 +1,7 @@
server:
test: http://127.0.0.1:8888/api/private/v1/
# 实例代码使用的接口服务已改为作者是自己的云服务器部署。后端源码来自b站https://www.bilibili.com/video/BV1EE411B7SU?p=10
dev: http://49.232.203.244:8888/api/private/v1/
dev: http://www.ysqorz.top:8888/api/private/v1/
# 实际响应jsonpath提取规则设置
response_reg:

0
data/.DS_Store vendored Normal file → Executable file
View File

0
data/case_data.xlsx Normal file → Executable file
View File

0
image/localhost_report.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 508 KiB

After

Width:  |  Height:  |  Size: 508 KiB

0
image/用例说明文档.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 286 KiB

After

Width:  |  Height:  |  Size: 286 KiB

0
pytest.ini Normal file → Executable file
View File

View File

File diff suppressed because one or more lines are too long

View File

View File

View File

View File

View File

View File

View File

@ -0,0 +1 @@
{"uuid": "838151da-9b5b-4c5f-ba2d-2577b3fad19f", "befores": [{"name": "parametric_key", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

@ -0,0 +1 @@
{"uuid": "6a11e6a3-58d8-409b-9f30-0f9d186c71db", "befores": [{"name": "file_path", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

View File

View File

@ -0,0 +1,5 @@
2020-11-18 20:24:46.307 | DEBUG  | test.test_api:test_main:68 - ⬇...执行用例编号:case_001...⬇️⬇️⬇️️
2020-11-18 20:24:46.307 | INFO  | tools.data_tearing:treating_data:32 - 处理依赖前data的数据:{"username": "admin", "password": ""}
2020-11-18 20:24:46.307 | INFO  | tools.data_tearing:treating_data:71 - data有数据依赖无数据 {'username': 'admin', 'password': ''}
2020-11-18 20:24:46.307 | ERROR  | tools.data_tearing:treating_data:84 - 无法转换字典进入下一个检查本轮值不发生变化:,Expecting value: line 1 column 1 (char 0)
2020-11-18 20:24:46.307 | INFO  | tools.data_tearing:treating_data:105 - path路径参数解析依赖后的路径为

View File

@ -0,0 +1 @@
{"uuid": "15792071-d31d-4e4c-8ad5-815201bcd69e", "befores": [{"name": "method", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

@ -0,0 +1 @@
{"uuid": "7c357ab8-e862-4c70-a565-ee25efb1a5ed", "befores": [{"name": "data", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

View File

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,4 @@
{
"username": "admin",
"password": ""
}

View File

View File

View File

View File

View File

View File

View File

View File

@ -0,0 +1 @@
"http://49.232.203.244:8888/api/private/v1/login"

View File

View File

View File

View File

View File

View File

@ -0,0 +1 @@
{}

View File

View File

View File

View File

View File

View File

View File

@ -0,0 +1 @@
{"uuid": "d91d5f08-966b-496c-8925-f7368dced774", "befores": [{"name": "is_token", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

View File

View File

View File

View File

View File

View File

@ -0,0 +1 @@
"http://49.232.203.244:8888/api/private/v1/login"

View File

@ -0,0 +1 @@
{"uuid": "8520defe-3b7e-4097-8241-2c31d5fcf784", "befores": [{"name": "parameters", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

View File

View File

View File

@ -0,0 +1 @@
{"uuid": "3371bd5b-1571-48e2-b1e8-37d710188cad", "befores": [{"name": "file_var", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

View File

View File

@ -0,0 +1 @@
{"uuid": "7192777c-3acb-418c-acd3-cd70ad0b917a", "befores": [{"name": "dependent", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

@ -0,0 +1 @@
{"uuid": "e6681154-7e51-41f4-b4ee-bac1ae9addd0", "befores": [{"name": "path", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

View File

View File

View File

@ -0,0 +1 @@
{"uuid": "2cd8fcb3-43fa-4cf7-97a4-1f835d6bbacc", "befores": [{"name": "expect", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}

View File

View File

View File

View File

@ -0,0 +1 @@
{"uuid": "2bfdc418-a56b-4af2-9c91-70868901105d", "befores": [{"name": "case_number", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307666}

View File

@ -0,0 +1,4 @@
{
"username": "admin",
"password": "123456"
}

View File

View File

@ -0,0 +1 @@
{"uuid": "9502dcb8-6f3e-4bbc-90a0-5f16bfa550bb", "befores": [{"name": "case_title", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307666}

View File

0
report/html/apiAutoTestReport.zip Normal file → Executable file
View File

0
report/html/app.js Normal file → Executable file
View File

0
report/html/data/attachments/2cebc344f68a0f1a.txt Normal file → Executable file
View File

0
report/html/data/attachments/55be4d0987b02d21.txt Normal file → Executable file
View File

0
report/html/data/attachments/57695c5d0d01a0bc.txt Normal file → Executable file
View File

0
report/html/data/attachments/e5a0b40354949c4f.txt Normal file → Executable file
View File

0
report/html/data/behaviors.csv Normal file → Executable file
View File

0
report/html/data/behaviors.json Normal file → Executable file
View File

0
report/html/data/categories.csv Normal file → Executable file
View File

0
report/html/data/categories.json Normal file → Executable file
View File

0
report/html/data/packages.json Normal file → Executable file
View File

0
report/html/data/suites.csv Normal file → Executable file
View File

0
report/html/data/suites.json Normal file → Executable file
View File

0
report/html/data/test-cases/2ecfa83e99ce1744.json Normal file → Executable file
View File

0
report/html/data/test-cases/7a8d2a0629601fd8.json Normal file → Executable file
View File

0
report/html/data/test-cases/a936c6eea54552c9.json Normal file → Executable file
View File

0
report/html/data/test-cases/d2ab6d22b9808223.json Normal file → Executable file
View File

0
report/html/data/timeline.json Normal file → Executable file
View File

0
report/html/export/influxDbData.txt Normal file → Executable file
View File

0
report/html/export/mail.html Normal file → Executable file
View File

0
report/html/export/prometheusData.txt Normal file → Executable file
View File

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