forked from DxvLwRYF/apiAutoTest
apiAutoTestv 开源最老可用版本
This commit is contained in:
parent
c7930ea58e
commit
7f90960566
|
@ -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:
|
||||
|
|
Before Width: | Height: | Size: 508 KiB After Width: | Height: | Size: 508 KiB |
Before Width: | Height: | Size: 286 KiB After Width: | Height: | Size: 286 KiB |
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
{"uuid": "838151da-9b5b-4c5f-ba2d-2577b3fad19f", "befores": [{"name": "parametric_key", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "6a11e6a3-58d8-409b-9f30-0f9d186c71db", "befores": [{"name": "file_path", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1,5 @@
|
|||
[32m2020-11-18 20:24:46.307[0m | [34m[1mDEBUG [0m | [36mtest.test_api[0m:[36mtest_main[0m:[36m68[0m - [34m[1m⬇️⬇️⬇️...执行用例编号:case_001...⬇️⬇️⬇️️[0m
|
||||
[32m2020-11-18 20:24:46.307[0m | [1mINFO [0m | [36mtools.data_tearing[0m:[36mtreating_data[0m:[36m32[0m - [1m处理依赖前data的数据:{"username": "admin", "password": ""}[0m
|
||||
[32m2020-11-18 20:24:46.307[0m | [1mINFO [0m | [36mtools.data_tearing[0m:[36mtreating_data[0m:[36m71[0m - [1mdata有数据,依赖无数据 {'username': 'admin', 'password': ''}[0m
|
||||
[32m2020-11-18 20:24:46.307[0m | [31m[1mERROR [0m | [36mtools.data_tearing[0m:[36mtreating_data[0m:[36m84[0m - [31m[1m无法转换字典,进入下一个检查,本轮值不发生变化:,Expecting value: line 1 column 1 (char 0)[0m
|
||||
[32m2020-11-18 20:24:46.307[0m | [1mINFO [0m | [36mtools.data_tearing[0m:[36mtreating_data[0m:[36m105[0m - [1mpath路径参数解析依赖后的路径为[0m
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "15792071-d31d-4e4c-8ad5-815201bcd69e", "befores": [{"name": "method", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "7c357ab8-e862-4c70-a565-ee25efb1a5ed", "befores": [{"name": "data", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"username": "admin",
|
||||
"password": ""
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
"http://49.232.203.244:8888/api/private/v1/login"
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "d91d5f08-966b-496c-8925-f7368dced774", "befores": [{"name": "is_token", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
"http://49.232.203.244:8888/api/private/v1/login"
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "8520defe-3b7e-4097-8241-2c31d5fcf784", "befores": [{"name": "parameters", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "3371bd5b-1571-48e2-b1e8-37d710188cad", "befores": [{"name": "file_var", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "7192777c-3acb-418c-acd3-cd70ad0b917a", "befores": [{"name": "dependent", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "e6681154-7e51-41f4-b4ee-bac1ae9addd0", "befores": [{"name": "path", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "2cd8fcb3-43fa-4cf7-97a4-1f835d6bbacc", "befores": [{"name": "expect", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307650}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "2bfdc418-a56b-4af2-9c91-70868901105d", "befores": [{"name": "case_number", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307666}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"username": "admin",
|
||||
"password": "123456"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
{"uuid": "9502dcb8-6f3e-4bbc-90a0-5f16bfa550bb", "befores": [{"name": "case_title", "status": "passed", "start": 1605702286308, "stop": 1605702286308}], "start": 1605702286308, "stop": 1605702307666}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue