robotframework-requests
Robot Framework keyword library wrapper around requests
What it is and what it does
RequestsLibrary is a Robot Framework library that wraps the Python Requests HTTP client to let you write API tests in Robot Framework's keyword-driven syntax rather than Python. It provides keywords for GET, POST, PUT, DELETE and other HTTP methods, with support for sessions, authentication, headers, JSON bodies, and status code assertions. You write tests in Robot Framework's plain-text or YAML format, and the library handles the HTTP communication and response parsing.
The library is designed for teams automating REST API testing without writing Python code. Version 0.9 introduced sessionless keywords (you can call GET directly without creating a session first) and implicit status code assertions that fail the test automatically on error responses. It depends on robotframework and requests, both widely-used packages, and installs as a pure Python wheel with low friction.
Use it for:
- Automated REST API contract testing in Robot Framework test suites without Python scripting.
- End-to-end testing of microservices by making HTTP calls and validating JSON responses.
- Load and smoke testing of HTTP endpoints using Robot Framework's parallel execution.
- Integration testing that chains multiple API calls with session management and response reuse.
- Non-developer QA teams writing API tests in keyword-driven syntax instead of code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
RequestsLibrary wraps the Python Requests library to provide HTTP API testing keywords for Robot Framework, enabling test automation of REST endpoints without writing Python code.
Yes, with conditions. RequestsLibrary is stable and permissively licensed, making it a solid choice for Robot Framework-based API testing. However, the aging maintenance status (last release April 2024, no commits since December 2025) means you should verify compatibility with your current Robot Framework and Python versions before adopting it in new projects. If you're already using Robot Framework and need to test HTTP APIs, it remains a practical option; if you're starting fresh, check whether the project is still actively maintained.
Install
robotframework-requests on PyPI
pip
pip install robotframework-requestsuv
uv add robotframework-requestspoetry
poetry add robotframework-requestsInstalling robotframework-requests
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 2024-04-07 and no commits since 2025-12-17—but the package remains in production/stable classification and is actively used (top 5000 on PyPI).
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it safe for commercial and proprietary projects.
Quickstart
pip install robotframework-requests
*** Settings ***
Library RequestsLibrary
*** Test Cases ***
Simple GET Test
${response}= GET https://www.google.com
Status Should Be 200 ${response}
Requires Robot Framework to be installed; Robot Framework itself is a runtime dependency.
Verify before relying
- Whether the aging maintenance status (859 days since last release) affects compatibility with current Python or Robot Framework versions.
- Current test coverage and whether sessionless keywords (introduced in 0.9) are fully stable.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — robotframework, requests |
| Maintenance | aging — 859 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,937,361/month — #3,421 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: robotframework_requests-0.9.7-py3-none-any.whl
Keywords: robotframework, testing, test, automation, http, client, requests, rest, api
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
RESTinstanceRESTinstance is a Robot Framework library that…
copyleft · top 15,000 on PyPI
robotframework-seleniumlibrarySeleniumLibrary is a Robot Framework library…
permissive · top 5,000 on PyPI
robotframework-sshlibraryA Robot Framework test library for executing…
permissive · top 15,000 on PyPI
robotframework-csvlibraryCSVLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotframework-appiumlibraryAppiumLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotframework-selenium2libraryA Robot Framework library that wraps Selenium…
permissive · top 15,000 on PyPI
robotframework-databaselibraryA Robot Framework library that adds keywords…
permissive · top 15,000 on PyPI
robotframework-whitelibraryWhiteLibrary automates Windows GUI testing for…
permissive · top 15,000 on PyPI
robotframework-fakerWraps Faker's random test data generation as…
permissive · top 15,000 on PyPI
robotframework-seleniumtestabilitySeleniumTestability is a Robot Framework plugin…
permissive · top 15,000 on PyPI