Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

HttpLibrary

Authors:

Company: Spiralworks Technologies Inc.

Contents:

Introduction

HttpLibrary is test library for web services and restful api.

PyPI PyPI - Downloads PyPI - License

Installation

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+https://github.com/MainSystemDev/rf-httplibrary.git

Usage

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 setup.py 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

Release files for rf-httplibrary 4.0a4

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

Built distribution (wheel)

Table of built distributions (wheels) for rf-httplibrary 4.0a4
File Interpreter ABI Platform
rf_httplibrary-4.0a4-py3-none-any.whl Python 3 none any Details

Release files / rf_httplibrary-4.0a4-py3-none-any.whl

Download URL rf_httplibrary-4.0a4-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfbcc844f95b1730f760a24fe5a18e9d6d12565f0f2ac19279f41bae7a93569d
BLAKE2b-256 checksum
How to use checksums
05b8d76886460df319c1b9fac29414c742e5d8c6f1145026a79e6810751fbfe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12
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