robotframework-requests:用于请求的Robot Framework关键字库包装器

时间:2021-02-11 06:14:36
【文件属性】:
文件名称:robotframework-requests:用于请求的Robot Framework关键字库包装器
文件大小:254KB
文件格式:ZIP
更新时间:2021-02-11 06:14:36
python requests robot-framework robotframework-requests Python :house: RequestsLibrary是一个库,旨在通过包装众所周知的来提供HTTP api测试功能。 安装稳定版 pip install robotframework-requests 0.8的新功能 新的关键字结构:由于许多不向后兼容的更改,所有请求关键字都已被重写,并允许在不久的将来没有会话的请求关键字。 示例Get Request GET On Session变为GET On Session并且在不需要会话时不久也将只有GET 。 旧关键字* Request现已弃用,并将在1.0.0版本中删除。 关于状态代码的隐式断言: * On Session如果返回错误状态代码,则“ * On Session关键字自动失败。 expect_status=可用于指定状态码( 201 , OK , Bad request ),或any你要评估在任何情况下的响应。 更接近原始的Requests库:新
【文件预览】:
robotframework-requests-master
----MANIFEST.in(71B)
----.github()
--------release-drafter.yml(272B)
--------workflows()
----atests()
--------test_request_verify_ssl.robot(854B)
--------index.html(11KB)
--------test_streaming_uploads.robot(2KB)
--------deprecated_test_to_json.robot(1KB)
--------test_headers.robot(2KB)
--------clientkey.pem(2KB)
--------cacert.pem(247KB)
--------randombytes.bin(100B)
--------issues()
--------test_status_assertions.robot(2KB)
--------http_server()
--------test_request_on_session.robot(11KB)
--------data.json(47B)
--------testcase.robot(14KB)
--------test_redirect.robot(4KB)
--------clientcert.pem(6KB)
--------base64Decode.py(319B)
--------test_request_url_warning.robot(656B)
--------test_request_cookies.robot(1KB)
--------test_retries.robot(2KB)
--------customAuthenticator.py(358B)
--------res_setup.robot(1KB)
----utests()
--------test_RequestsLibrary.py(1KB)
--------test_log.py(6KB)
--------__init__.py(169B)
--------test_SessionKeywords.py(2KB)
--------test_utils.py(2KB)
--------test_RequestKeywords.py(3KB)
----src()
--------RequestsLibrary()
----requirements.txt(38B)
----doc()
--------RequestsLibrary.html(210KB)
--------generate_doc.sh(487B)
----CONTRIBUTING.md(3KB)
----LICENSE.md(1KB)
----setup.py(2KB)
----README.md(4KB)
----.gitignore(261B)

网友评论