Repository navigation
ReportPortal Local Setup Guide
Persistent ReportPortal v5.15.x on Docker for end-to-end ReportPortalReporter testing. A pre-seeded API key is inserted into PostgreSQL after migrations — no UI token generation.
- Docker Desktop on macOS with 4–6 GB RAM allocated (Settings → Resources → Memory).
- Port 8080 is free on the host (
lsof -i :8080). This stack is separate from the repo'sdocker-compose.yml(Postgres only).
| Topic | Reference |
|---|---|
| ReportPortal | https://reportportal.io/docs/ |
| ReportPortal API | https://reportportal.io/docs/api-development/ |
| Test framework integration | https://reportportal.io/docs/log-data-in-reportportal/test-framework-integration/ |
| Docker Compose | https://docs.docker.com/compose/ |
| Purpose | Value |
|---|---|
| API token (Bearer) | testo-local-validation_ERERERERQRGBEREREREREV2jef5txhXfGyP3Fw17h7wSbX5dgz7RhFB1P7mNawIW |
| Dashboard login |
superadmin / erebus
|
Project (in testosterone.yaml) |
superadmin_personal |
| Endpoint | http://localhost:8080 |
The token is a deterministic ReportPortal 5.x API key (testo-local-validation + fixed salt). It is stored as a SHA3-256 hex digest of the full bearer string in api_keys (see infra/reportportal/seed-api-key.sql).
From the repository root:
./scripts/reportportal-local.sh up
./scripts/reportportal-local.sh verifyOr manually:
docker compose -f docker-compose-rp.yml --profile core up -d
docker compose -f docker-compose-rp.yml psAllow 1–2 minutes on first boot for migrations, token seed, and Java services to become healthy.
curl -sf http://localhost:8080/health
curl -sf -H "Authorization: Bearer testo-local-validation_ERERERERQRGBEREREREREV2jef5txhXfGyP3Fw17h7wSbX5dgz7RhFB1P7mNawIW" \
"http://localhost:8080/api/v1/superadmin_personal/launch?page.size=1"- HTTP 200 on the launch endpoint (empty list is fine) means the seed token works.
- HTTP 401 usually means
token-seeddid not run or migrations failed — checkdocker compose -f docker-compose-rp.yml logs token-seed migrations.
Optional dashboard: open http://localhost:8080 and sign in as superadmin / erebus (not required for API reporting).
export REPORTPORTAL_TOKEN=testo-local-validation_ERERERERQRGBEREREREREV2jef5txhXfGyP3Fw17h7wSbX5dgz7RhFB1P7mNawIW
testo run --cycle sample-pyteststestosterone.yaml already sets endpoint, project, and defaults the token to the same value if the env var is unset.
Success indicators:
- CLI mentions a ReportPortal launch / dashboard URL.
-
artifacts/reports/reportportal/summary.jsonwith"ok": true.
testo config validate# Stop containers, keep Postgres data on disk
./scripts/reportportal-local.sh down
# Stop and remove named Docker volumes (rp-storage)
docker compose -f docker-compose-rp.yml down -v
# Full database reset (re-runs migrations + token seed on next up)
rm -rf ./data/reportportal/postgres
./scripts/reportportal-local.sh up| Service | Role |
|---|---|
gateway |
Traefik — UI/API on host :8080
|
postgresql |
Metadata DB (bind mount ./data/reportportal/postgres) |
rabbitmq |
Message broker |
migrations |
Schema + default users/projects (one-shot) |
token-seed |
Inserts pre-hashed API key (one-shot) |
index |
Entry router |
service-ui |
Web UI |
service-api |
REST API |
service-uaa |
Auth (UAA) |
jobs |
Background jobs (required by API) |
Analyzer/OpenSearch is omitted; they are not needed for REST launch reporting.
Context & Links:
-
Command Reference § Reporter types (
reporters:/--reporter), Architecture Overview, QA Strategies § How results are logged and surfaced, Troubleshooting and Error Codes
Generated from docs/Archive/ReportPortal Local Setup Guide.md. Edit it there; changes made in the wiki are overwritten.
Architecture
CLI Commands
Processes & Guides
- CI-CD Pipeline Setup
- E2E Harness Operations Guide
- GitLab Pages Demo
- Publishing Docker Images
- Publishing to Artifactory
- Publishing to PyPI
Prompts & Snippets
Roadmap & Strategy
Specs & ADRs
- Architecture Consolidation - 2026-10-06
- BehaveX Reports - 2026-10-21
- Command Adapter and JUnit Import - 2026-09-25
- Delta Comparison Policy
- Docs Site - 2026-10-19
- Docs Vault and Wiki Sync - 2026-10-07
- GitHub Action PR Comment - 2026-10-19
- Interview Readiness Fixes - 2026-10-07
- Library Packaging
- Open Source Features - 2026-10-19
- Phase 3 Delta Comparison Engine Plan
- Phase 3 Unified Dashboard Plan
- Phase 4 BYOK and Failure Analysis
- Phase 5 UI Redesign - Cycles-First Navigation
- Playwright Adapter - 2026-10-19
- Plugin API - 2026-10-19
- Specs & ADRs
- Repository Pattern - Database-Agnostic Refactor
- UI Restyle - 2026-10-19
Testing Workflows
Vault