Skip to main content

Requests Library

🏠 RequestsLibrary is a Robot Framework library aimed to provide HTTP api testing functionalities by wrapping the well known Python Requests Library.

Install stable version

pip install robotframework-requests

🤖 Quick start

*** Settings ***
Library RequestsLibrary

*** Test Cases ***

Quick Get Request Test
${response}= GET

Quick Get Request With Parameters Test
${response}= GET params=query=ciao expected_status=200

Quick Get A JSON Body Test
${response}= GET
Should Be Equal As Strings 1 ${response.json()}[id]

See examples for Restful Booker