摘要: 接口框架,基于文件做的 都分离成单独的模块 接口框架,基于文件做的 都分离成单独的模块 #主程序,获取测试用例,发送请求,并生成测试报告 mian.py #encoding=utf-8 import requests import json import os import hashlib impo 阅读全文
posted @ 2019-11-28 17:10 腿短毛不多 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 一、发送请求 注册 e1_send.py #encoding=utf-8 import requests import json import os import hashlib print ("register ") data = json.dumps({'username': 'wulaoshi 阅读全文
posted @ 2019-11-28 15:38 腿短毛不多 阅读(213) 评论(0) 推荐(0) 编辑