Skip to main content

HTTP Request Test Library.

Project description



Company: Spiralworks Technologies Inc.



HttpLibrary is test library for web services and restful api.

PyPI PyPI - Downloads PyPI - License


Option 1

Install this project using pypi, run:

pip install rf-httplibrary

Option 2
With recent version of pip, it is possible to install directly from GitHub repository. To Install latest source from the master branch, use this command:

pip install git+


To use HttpLibrary in Robot Framework test(s), the library needs to first be imported using the Library setting as any other library.

*** Settings ***
Documentation                           Simple example using HttpLibrary
Library                                 HttpLibrary

*** Test Cases ***
Test Case Sample One
    New Http Session
    Create Http Get Request             ${url}
    Add Http Request Parameter          ${paramkey1}        ${paramvalue1}
    Add Http Request Parameter          ${paramkey2}        ${paramvalue2}
    Invoke Http Request
    Http Raise For Status
    Close Http Session    

Keyword Documentation

View the latest keyword documentation here for more information about this library.

Install dependecy in local virtual environment

pip install .

Generating Local Documentation

To Generate the keyword Documentation, simply run:

python -m robot.libdoc HttpLibrary docs/index.html

Where: docs.html is the output file. Note that the library must first be installed before generating a documentation.

Execute Unit Test

python -m unittest
python test

Install requirements-dev.txt in shell runner

This is for running pep8 style guide for python

sudo -H pip install -r requirements-dev.txt

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rf_httplibrary-4.0a4-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page