zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    Codeforces Gym 100571A A. Cursed Query 离线
    codeforces Gym 100500 J. Bye Bye Russia
    codeforces Gym 100500H H. ICPC Quest 水题
    codeforces Gym 100500H A. Potion of Immortality 简单DP
    Codeforces Gym 100500F Problem F. Door Lock 二分
    codeforces Gym 100500C D.Hall of Fame 排序
    spring data jpa 创建方法名进行简单查询
    Spring集成JPA提示Not an managed type
    hibernate配置文件中的catalog属性
    SonarLint插件的安装与使用
  • 原文地址:https://www.cnblogs.com/xiaocaicai-cc/p/14647562.html
Copyright © 2011-2022 走看看