jenkins+stf+airtest实现移动平台化测试
时间:2021-06-23 16:25:15
收藏:0
阅读:0
1.用户当前正在使用的设备的列表
Method:GET
URL:http://192.168.20.187:7100/api/v1/user/devices
STF接口需要先在Header中添加token:
Authorization: Bearer d934206703ce456db5c45fa84b5fe1783354a552876744cb8f0a3bd913fdb68
2.使用设备
Method:POST
URL:http://192.168.20.187:7100/api/v1/user/devices
Header:
(1)Authorization: Bearer d934206703ce456db5c45fa84b5fe1783354a552876744cb8f0a3bd913fdb68f
(2)Content-Type:application/json
Body:{"serial":"FA6990313540”}
3.释放设备-停止使用
Method:DELETE
URL:http://stf.zxtest.com/api/v1/user/devices/192.168.40.68:5555
Header:Authorization: Bearer d934206703ce456db5c45fa84b5fe1783354a552876744cb8f0a3bd913fdb68f
相关连接:
https://blog.csdn.net/u011608531/article/details/105283652 .........................STF开放的接口
评论(0)