Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Robot Framework keyword library wrapper for requests
Python RobotFramework
tag: 0.3.4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/RequestsLibrary
tests
.gitignore
.travis.yml
MANIFEST.in
README.md
requirements.txt
setup.py

README.md

Build Status

RequestsLibrary is a Robot Framework test library that uses the Requests HTTP client.

Usage

You need to have requests installed

pip install -U requests

Now install robotframework-requests

pip install -U robotframework-requests
Settings
Library Collections
Library RequestsLibrary
Test Cases
Get Requests
Create Session github http://github.com/api/v2/json
Create Session google http://www.google.com
${resp}= Get github /
Should Be Equal As Strings ${resp.status_code} 200
${resp}= Get github /user/search/bulkan
Should Be Equal As Strings ${resp.status_code} 200
${jsondata}= To JSON ${resp.content}
Dictionary Should Contain Value ${jsondata['users'][0]} Bulkan Savun Evcimen
Something went wrong with that request. Please try again.