为使用RequestsLibrary做准备


为使用RequestsLibrary做准备

下载安装Requests

pip install requests

requests 接口库

https://cn.python-requests.org/zh_CN/latest/

安装robotframework-requests

pip install robotframework-requests

测试

*** Settings ***
Library    RequestsLibrary    

*** Test Cases ***  
case01
    Create Session    httpbin    http://httpbin.org/  
    ${get}    Get Request    httpbin    /get