An open API service indexing awesome lists of open source software.

https://github.com/githublitao/test_interface

采用ddt数据驱动,json管理用例,支持post,get,put,delete接口请求
https://github.com/githublitao/test_interface

apitest ddt python3

Last synced: about 1 month ago
JSON representation

采用ddt数据驱动,json管理用例,支持post,get,put,delete接口请求

Awesome Lists containing this project

README

        

# 接口自动化测试
# python3.6.3 requests

## 系统声明:
---
1.本系统采用Python+Requests方式对接口进行请求

2.采用DDT数据驱动,JSON管理测试用例

3.提供5种结果校验方式,(1)不校验 (2)只校验http状态 (3)JSON格式校验 (4)正则校验 (5)完全校验

4.谢谢大佬提供的测试报告模板,减轻优化报告的负担

5.脚本比较简单,只是用作初学者学习思路所用,真大佬还望不要讽刺

## 微信打赏:

![微信打赏](https://github.com/githublitao/api_automation_test/blob/master/img/%E6%94%B6%E6%AC%BE%E7%A0%81.png)



## 系统图解:

![系统图](https://github.com/githublitao/test_interface/blob/master/img/%E4%BB%A3%E7%A0%81%E8%AF%B4%E6%98%8E.png)



## 测试报告:

![测试报告](https://github.com/githublitao/test_interface/blob/master/img/%E6%B5%8B%E8%AF%95%E6%8A%A5%E5%91%8A.png)