51Testing软件测试论坛
标题:
接口测试
[打印本页]
作者:
cui_
时间:
2017-5-24 11:01
标题:
接口测试
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
作者:
most2008
时间:
2017-5-24 11:10
用selenium工具录制一下你的接口,然后转为Python代码是最快的选择。
作者:
fhhh_eyou
时间:
2017-5-24 11:53
建议最好设置变量灵活测试
作者:
jingzizx
时间:
2017-5-24 13:06
没用过Python
作者:
掉渣饼
时间:
2017-5-24 13:58
可以尝试使用Jmeter工具,采用数据分离方式进行接口测试
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2