robotFramework接口测试GET和POST请求

安装:

接口测试需要安装Request和RequestLibrary 包

使用cmd命令安装:pip install requests

使用cmd命令安装:pip install -U robotframework-requests

安装完后在site-packages目录下会生成2个目录

然后将request和RequestsLibrary导入到Robotframework中:

使用:

一、GET接口请求

二、POST请求

 

 

posted @ 2016-12-02 18:18  yinrw  阅读(7300)  评论(0编辑  收藏  举报