zoukankan      html  css  js  c++  java
  • Robot Framework -006 安装接口测试库

    安装 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

  • 相关阅读:
    SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
    Docker 下 nginx + tomcat 负债均衡
    Docker 安装 tomcat 并挂载宿主目录到容器
    Docker 安装 nginx 并挂载宿主目录到容器中
    SpringBoot 常见创建方式
    Java SPI 机制实现解耦
    TCP 粘包问题
    Docker 安装和常用命令
    Docker 安装 ActiveMQ
    INTEL
  • 原文地址:https://www.cnblogs.com/abc789/p/12819384.html
Copyright © 2011-2022 走看看