pythonrequests测试框架_Python3+Requests+Excel完整接口自动化测试框架的实现
import jsonimport requestsrequests.packages.urllib3.disable_warnings()class RunMethod:def post_main(self, url, data, header=None):res = Noneif header != None:res = requests.post(url=url, data=data, he...