Skip to content
Robot Framework keyword library wrapper for requests
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src/RequestsLibrary
tests
.gitignore
MANIFEST.in
README.md
requirements.txt
setup.py

README.md

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.