Skip to content

scaradim/robotframework-requests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:https://github.com/api/v2/json
Create Session google http:https://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

About

Robot Framework keyword library wrapper for requests

Resources

Stars

Watchers

Forks

Packages