Skip to main content

Robot Framework Request Reporter

One standalone HTML evidence report per Robot Framework test case. Supports RequestsLibrary responses, multiple HTTP requests, business assertions, metadata, JSON formatting, request/response headers, Table/JSON and Copy.

Version 0.3.1 targets Python 3.12+ and Robot Framework 7.5+. No pytest adapter.

Install

pip install robotframework-request-reporter==0.3.1
pip install robotframework-requests

RequestsLibrary is installed separately. The WHL can also be downloaded from PyPI.

Manual de usuario · Referencia de keywords · Ejemplo en vivo · Paquete en PyPI · Ejemplo ejecutable

*** Settings ***
Library    RequestsLibrary
Library    RequestReporter    

*** Test Cases ***
Example
    ${response}=    GET    ${BASE_URL}/health    expected_status=anything
    ${id}=    Capture Response    Health    ${response}
    Assert    ${id}    HTTP status
    ...    Should Be Equal As Integers    ${response.status_code}    200

The library registers its listener automatically and writes into Robot's OUTPUT DIR/cases. No separate listener option or generation keyword is needed. Each report contains only one test case and works offline.

Development

poetry install
poetry run ruff check .
poetry run ruff format --check .
poetry run mypy src
poetry run python scripts/verify.py
poetry build
poetry run python scripts/build_site.py

Acceptance tests use Robot Framework and a loopback HTTP fixture. Some cases intentionally fail; scripts/verify.py checks their exact results instead of ignoring the Robot exit code. No live credentials or external endpoints are used.

Scope and limitations

  • Metadata is optional. Name, status and duration come from Robot.
  • Only English UI is currently supported; business labels may use any language.
  • Configured JSON/form/query fields and headers are redacted in this reporter's HTML. Robot and RequestsLibrary logs have their own independent logging behavior.
  • Binary responses and multipart uploads are summarized, not embedded.
  • HTTP transport errors without a Response appear in the final case error, with no fabricated request. Keys missing before Assert executes appear as Robot errors.
  • Pabot processes are supported with distinct output directories per worker. Sharing one physical report directory across concurrent writers is not supported in 0.3.
  • Light/Dark control follows the system initially and remembers your choice when storage is available.
  • PASS, FAIL and SKIP use green, red and amber with distinct shades in both themes.

See the documentation for release workflow and Trusted Publisher configuration.

Headers can be viewed as formatted JSON and copied with the copy icon. The clipboard and manual fallback both contain indented JSON with configured secrets masked.

The report opens on Summary with request/assertion counters, a readable UTC date and case duration. Failures links each failed assertion to its request. Execution errors outside Assert are recorded automatically; handled keyword failures are excluded. HTTP status colors describe the response class independently of PASS/FAIL assertions.

Changes are integrated into main through pull requests with required CI checks.

Migration from APICaseReporter

Install robotframework-request-reporter and import RequestReporter. Do not install both distributions: the new wheel includes the legacy import. Capture HTTP Exchange and Check remain compatibility aliases; new suites use Capture Response and Assert. These keywords record an existing response and execute an assertion respectively; capturing does not send another request.

Metadata

Release files for robotframework-request-reporter 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-request-reporter 0.3.1
File Size Uploaded
robotframework_request_reporter-0.3.1.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-request-reporter 0.3.1
File Interpreter ABI Platform
robotframework_request_reporter-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.4 kB

Release files / robotframework_request_reporter-0.3.1.tar.gz

Download URL robotframework_request_reporter-0.3.1.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9448d35858286309115da47eb260ec4b1b1b1228401cce167668c67f09d89e1e
BLAKE2b-256 checksum
How to use checksums
e0dba397ea3a1ca490e8a699e9e16fc48577a9cb8e42ba16a0576a8fc70b0004
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release files / robotframework_request_reporter-0.3.1-py3-none-any.whl

Download URL robotframework_request_reporter-0.3.1-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fdd44371727e75ef7efe28332f229ac04344c7bdcdbd051bcc60cd23e72c705
BLAKE2b-256 checksum
How to use checksums
b064aa4ee17b3eab2ce39fcabdc0ce29fc9007da034ead02cb1ec5a5b9f5d630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release history Release notifications | RSS feed

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

This release

0.3.1 This release

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page