skillfed

robotframework-requests

Robot Framework keyword library wrapper around requests

robotframework-requests v0.9.7 1.9M downloads/30d#3,421 on PyPI510
Permissive license MIT AGING released

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-requests

uv

uv add robotframework-requests

poetry

poetry add robotframework-requests

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Testing

Tags

robot framework http testingrest api test automationrobot framework requests libraryhttp client for robot frameworkapi testing keywordsrobot framework rest clientautomated http testing
robot-frameworkrest-api-testingtest-automation

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

RESTinstance

RESTinstance is a Robot Framework library that…

copyleft · top 15,000 on PyPI

robotframework-seleniumlibrary

SeleniumLibrary is a Robot Framework library…

permissive · top 5,000 on PyPI

robotframework-sshlibrary

A Robot Framework test library for executing…

permissive · top 15,000 on PyPI

robotframework-csvlibrary

CSVLibrary is a Robot Framework library that…

permissive · top 15,000 on PyPI

robotframework-appiumlibrary

AppiumLibrary is a Robot Framework library that…

permissive · top 15,000 on PyPI

robotframework-selenium2library

A Robot Framework library that wraps Selenium…

permissive · top 15,000 on PyPI

robotframework-databaselibrary

A Robot Framework library that adds keywords…

permissive · top 15,000 on PyPI

robotframework-whitelibrary

WhiteLibrary automates Windows GUI testing for…

permissive · top 15,000 on PyPI

robotframework-faker

Wraps Faker's random test data generation as…

permissive · top 15,000 on PyPI

robotframework-seleniumtestability

SeleniumTestability is a Robot Framework plugin…

permissive · top 15,000 on PyPI