reportportal-client
Python client for ReportPortal v5.
Decision gist · record as of 2026-08-14
Yes, if you are using ReportPortal for test reporting and need to integrate a test framework or custom runner not covered by existing agents. The package is actively maintained, has no known vulnerabilities, and installs with low friction. However, if you are using PyTest, Robot Framework, or Behave, use the framework-specific agent instead of this library directly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running ReportPortal instance and valid API credentials (endpoint, project name, and API key).
- Low friction installation with standard dependencies (requests, aiohttp, certifi, typing-extensions).
- The package is actively maintained with a recent release and no known vulnerabilities.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2026-08-05 (9 days) · last repo commit 2026-08-05 · 45 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,551,905 downloads/mo, #3,774 on PyPI
Alternatives
Verify before relying
pip install reportportal-client
from reportportal_client import RPClient
from reportportal_client.helpers import timestamp
client = RPClient(endpoint="http://reportportal:8080", project="default", api_key="your-api-key")
client.start()
launch = client.start_launch(name="Test Launch", start_time=timestamp())
item_id = client.start_test_item(name="Test Case", start_time=timestamp(), item_type="STEP")
client.log(time=timestamp(), message="Test message", level="INFO")
client.finish_test_item(item_id=item_id, end_time=timestamp(), status="PASSED")
client.finish_launch(end_time=timestamp())
client.terminate()- Whether this package is intended for direct use or primarily as a dependency of framework-specific agents (PyTest, Robot, Behave).
- Performance characteristics when handling large volumes of test results or attachments.
- Async behavior details and thread safety guarantees for concurrent test execution.
What it is and what it does
ReportPortal Client is a Python library that integrates test execution with ReportPortal, a centralized test reporting and analytics platform. It provides an API to send test results, logs, and attachments (screenshots, files) to ReportPortal in real time. The library handles the communication with ReportPortal's backend, managing launch sessions, test items, and log entries through a client object that queues and uploads data asynchronously.
The package is designed primarily as a foundation for framework-specific agents (PyTest, Robot Framework, Behave) rather than for standalone use, though the description excerpt shows it can be used directly. It depends on requests for HTTP communication, aiohttp for async operations, certifi for SSL certificate validation, and typing-extensions for type hints. The client runs an internal thread to handle log uploads, requiring explicit termination to ensure all pending requests are processed.
Use it for
- Integrate test execution results into ReportPortal from custom test runners or frameworks not covered by existing agents.
- Attach screenshots and diagnostic files to test reports for failure analysis and debugging.
- Build a custom test listener that sends real-time test progress and logs to a centralized ReportPortal instance.
- Log test execution metadata (parameters, attributes, tags) alongside test results for analytics and filtering.
- Implement test result reporting in CI/CD pipelines that use non-standard test frameworks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using ReportPortal for test reporting and need to integrate a test framework or custom runner not covered by existing agents.
The package is actively maintained, has no known vulnerabilities, and installs with low friction. However, if you are using PyTest, Robot Framework, or Behave, use the framework-specific agent instead of this library directly.
Install
reportportal-client on PyPI
Before you install
Low friction installation with standard dependencies (requests, aiohttp, certifi, typing-extensions). The package is actively maintained with a recent release and no known vulnerabilities.
Requires a running ReportPortal instance and valid API credentials (endpoint, project name, and API key).
License in practice
Licensed under Apache 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install reportportal-client
from reportportal_client import RPClient
from reportportal_client.helpers import timestamp
client = RPClient(endpoint="http://reportportal:8080", project="default", api_key="your-api-key")
client.start()
launch = client.start_launch(name="Test Launch", start_time=timestamp())
item_id = client.start_test_item(name="Test Case", start_time=timestamp(), item_type="STEP")
client.log(time=timestamp(), message="Test message", level="INFO")
client.finish_test_item(item_id=item_id, end_time=timestamp(), status="PASSED")
client.finish_launch(end_time=timestamp())
client.terminate()
Verify before relying
- Whether this package is intended for direct use or primarily as a dependency of framework-specific agents (PyTest, Robot, Behave).
- Performance characteristics when handling large volumes of test results or attachments.
- Async behavior details and thread safety guarantees for concurrent test execution.
Package facts
| License | Apache-2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagestyping-extensionsrequestsaiohttpcertifi |
| Maintenance | Actively maintained 9 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,551,905 / month, #3,774 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9 |
Evidence: reportportal_client-5.7.10-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “reportportal client library”
- reportportal-clientA Python client library that sends test execution data, logs, and…
- pytest-reportportalA pytest plugin that integrates test execution with ReportPortal,…
- robotframework-reportportalA RobotFramework listener that sends test execution results to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also pytest-reportportal · robotframework-reportportal · teamcity-messages · behave-reportportal · allure-robotframework · pytest-html-reporter · pytest-html · google-analytics-data · behavex-images · prometheus-flask-exporter