Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Robot Framework keywords for HTTP requests
Python

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
src/HttpLibrary
tests
.gitignore
README.rst
bootstrap.py
buildout.cfg
setup.py

README.rst

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

Note: Due to a problem in livetest's package metadata (reported here: (https://github.com/storborg/livetest/pull/6) you need to install webtest first:

pip install webtest

Then, install robotframework-httplibrary

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
Connect httpstat.us
GET /302
Follow Response  
Response Status Code Should Equal 200

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.

Something went wrong with that request. Please try again.