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.4.0 targets Python 3.12+ and Robot Framework 7.5+. No pytest adapter.

Install

pip install robotframework-request-reporter==0.4.0
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.

Version 0.4

Use Capture Response to record an existing response and Assert to execute and record an assertion. The compatibility keywords from earlier releases have been removed. Update suites before upgrading.

Summary includes a request overview with direct navigation. Bodies support search, collapsible JSON, Raw view and full-content copying. Assertions can be filtered by result. Each HTML remains offline and contains one test.

Metadata

Release files for robotframework-request-reporter 0.4.0

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.4.0
File Size Uploaded
robotframework_request_reporter-0.4.0.tar.gz 18.4 kB Details

Built distribution (wheel)

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

Total release size: 37.3 kB

Release files / robotframework_request_reporter-0.4.0.tar.gz

Download URL robotframework_request_reporter-0.4.0.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e22d458225f7637fa5d14c6613189d350af133766149866c66a61d4358eef41b
BLAKE2b-256 checksum
How to use checksums
4612d64c5821c00b641ce67b18b70bf898a6356237eb428f6b44fd9b31248c04
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.4.0-py3-none-any.whl

Download URL robotframework_request_reporter-0.4.0-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79b8cbd61889a3ac641c985025096e44e77f63a9c5bc6bdb03dd373e7a30e956
BLAKE2b-256 checksum
How to use checksums
40cc4b9baf1037feab8adbe226531dd5c4625ba4459df6bdd7d7ddc4e2c912f3
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

This release

0.4.0 This release

2 release files

0.3.1

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