apiAutoTest/report/data/834e6a53-c380-4a12-826a-6e4...

12 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2020-08-03 16:10:08.443 | INFO  | test.test_api:treating_data:59 - 处理依赖时data的数据:{"username": "admin", "password": ""}
2020-08-03 16:10:08.444 | DEBUG  | test.test_api:treating_data:78 - data有数据依赖无数据 {'username': 'admin', 'password': ''}
2020-08-03 16:10:08.539 | INFO  | api.base_requests:base_requests:41 - 请求方法:get请求路径:http://47.115.124.102:8888/api/private/v1/login, 请求参数:{'username': 'admin', 'password': ''}, 请求文件:None, 请求头:{})
2020-08-03 16:10:08.544 | INFO  | tools.read_data:write_result:65 - 开始回写实际响应结果到用例数据中.
2020-08-03 16:10:08.551 | INFO  | tools.read_data:write_result:72 - 写入完毕:-写入文件: ../data/case_data.xlsx, 行号: 2, 列号: 11, 写入值: {"data": null, "meta": {"msg": "参数错误", "status": 400}}
2020-08-03 16:10:08.551 | INFO  | test.test_api:test_main:98 - token_header: {},
no_token_header: {}
2020-08-03 16:10:08.553 | INFO  | test.test_api:test_main:105 - 完整的json响应: {'data': None, 'meta': {'msg': '参数错误', 'status': 400}}
需要校验的数据字典: {'msg': '参数错误', 'status': 400}
预期校验的数据字典: {'msg': '参数错误', 'status': 400}
测试结果: True