• Robot Framework -- 安装接口测试库


    安装 Requests 依赖库 

    pip install requests

    Collecting requests
    Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
    Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in d:0_softpython36-32libsite-packages (from requests) (1.25.9)
    Collecting chardet<4,>=3.0.2
    Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
    Collecting idna<3,>=2.5
    Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
    Collecting certifi>=2017.4.17
    Using cached certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB)
    Could not build wheels for urllib3, since package 'wheel' is not installed.
    Installing collected packages: chardet, idna, certifi, requests
    Successfully installed certifi-2020.4.5.1 chardet-3.0.4 idna-2.9 requests-2.23.0

    升级 Requests 依赖库 

    pip install --upgrade requests

    Requirement already up-to-date: requests in d:0_softpython36-32libsite-packages (2.23.0)
    Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in d:0_softpython36-32libsite-packages (from requests) (1.25.9)
    Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in d:0_softpython36-32libsite-packages (from requests) (2.9)
    Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in d:0_softpython36-32libsite-packages (from requests) (2020.4.5.1)
    Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in d:0_softpython36-32libsite-packages (from requests) (3.0.4)

    安装RequestLibrary依赖库

    pip install robotframework-requests

    pip list 

    Package Version
    ------------------------------ ----------
    certifi 2020.4.5.1
    chardet 3.0.4
    idna 2.9
    pip 20.1
    requests 2.23.0
    robotframework 3.2
    robotframework-requests 0.7.0
    robotframework-seleniumlibrary 4.4.0
    selenium 3.141.0
    setuptools 40.6.2
    urllib3 1.25.9

     安装HttpLibrary.HTTP依赖库

    pip install robotframework-httplibrary

    pip list
    Package Version
    ------------------------------ ----------
    beautifulsoup4 4.9.0
    certifi 2020.4.5.1
    chardet 3.0.4
    idna 2.9
    jsonpatch 1.25
    jsonpointer 2.0
    pip 20.1
    requests 2.23.0
    robotframework 3.2
    robotframework-httplibrary 0.4.2
    robotframework-requests 0.7.0
    robotframework-seleniumlibrary 4.4.0
    selenium 3.141.0
    setuptools 40.6.2
    six 1.14.0
    soupsieve 2.0
    urllib3 1.25.9
    waitress 1.4.3
    WebOb 1.8.6
    WebTest 2.0.35

  • 相关阅读:
    .netcore利用DI实现级联删除
    识别手写数字增强版100%
    嗨!请查收这道有趣的面试题
    理解TCP/IP协议栈之HTTP2.0
    基于Redis的分布式锁和Redlock算法
    从生日悖论谈哈希碰撞
    Redis面试热点工程架构篇之数据同步
    Redis面试热点之底层实现篇(续)
    saltstack安装+基本命令
    25个iptables常用示例
  • 原文地址:https://www.cnblogs.com/xiaocaicai-cc/p/14647562.html
Copyright © 2020-2023  润新知