接口测试
url:httP:10.10.12.156/api/activity/addActivity参数:{"id":"","theme":"TEST1","principal":"00013247","status":1,"type":2,"budget":"2588","courseProduct":"00093943","startTime":"2017-05-22 00:00:00","endTime":"2017-06-19 00:00:00","detail":"隔热而","activeTime":["2017-05-21T16:00:00.000Z","2017-06-18T16:00:00.000Z"],"channel":["SCHOOL_PI","28"],"activechannel":"","json":{}}
这个要是用Python来写接口测试,该如何写了,接口类型时post 用selenium工具录制一下你的接口,然后转为Python代码是最快的选择。 建议最好设置变量灵活测试
没用过Python 可以尝试使用Jmeter工具,采用数据分离方式进行接口测试
页:
[1]