Skip to main content
https://secure.travis-ci.org/peritus/robotframework-httplibrary.png

robotframework-httplibrary

robotframework-httplibrary is a Robot Framework test library for all your HTTP needs. It uses livetest (which, in turn uses the famous webtest library underneath).

Installation

You can install robotframework-httplibrary via pip:

pip install --upgrade robotframework-httplibrary

Usage

API documentation can be found at http://peritus.github.com/robotframework-httplibrary/, here is an example on how to use it:

Setting

Value

Library

HttpLibrary.HTTP

Test Case

Action

Argument

Example

[Documentation]

Follows a Redirect

Set HTTP Host

httpstat.us

GET

/302

Response Status Code Should Equal

302

Follow Response

Response Body Should Contain

generating different HTTP codes

You can view a report and a log of this test executed that looks like this:

http://peritus.github.com/robotframework-httplibrary/rfhttplib_example_test_execution.png

Compatibility

This library is only tested on CPython. It might work on Jython, not sure.

Development

If you want to hack on this library itself, this should get you started:

# bootstrap development environment
git clone https://github.com/peritus/robotframework-httplibrary.git
cd robotframework-httplibrary/
python bootstrap.py
./bin/buildout

# run tests
./bin/robotframework tests/

I’m very happy about patches, pull-requests and API-discussions (as this is mostly a wrapper supposed to have a nice API)!

License

Beerware: If we meet some day, and you think this stuff is worth it (or need a more serious license), you can buy me a beer in return.

Metadata

Release files for robotframework-httplibrary 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-httplibrary 0.2.1
File Size Uploaded Provenance Actions
robotframework-httplibrary-0.2.1.tar.gz 7.5 kB Without provenance Details for robotframework-httplibrary-0.2.1.tar.gz

Release files / robotframework-httplibrary-0.2.1.tar.gz

Download URL robotframework-httplibrary-0.2.1.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b8ab5dcc02c658b145b305c96d54a2d9ec6cf5af6006e4752b475705531ee894
BLAKE2b-256 checksum
How to use checksums
ba6d5fb4d4f51109dedea75e32a614e43b0ffd6325c8bcc5fdaa71a88faf228c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for robotframework-httplibrary 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page