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

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.3.2

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.3.2
File Size Uploaded
robotframework-httplibrary-0.3.2.tar.gz 8.0 kB Details

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

Download URL robotframework-httplibrary-0.3.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
694bb1b29109cc43c567c2f59bba9a6d0d30daa63ea2fa0846c847b6bda3592c
BLAKE2b-256 checksum
How to use checksums
cb4ee91bbd02ef2a0caed4c3ebeb6832c16437fad1d1c9c5a1e4f60c6cd87f4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.4

1 release file

0.3.3

1 release file

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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