Plan Run Report Formats
A Test Plan report shows the outcome of a run and its individual steps. Use it to investigate a failed step, share results with a teammate, or publish a CI result. You can open the run in Mockarty or download one of six formats.
About URLs in examples: replace
localhost:5770with your Mockarty address if the server runs elsewhere.
Related pages: Run View · Override Surfaces · Test Plans · Test Plans in CI/CD
Shared report storage
In a multi-node deployment, configure the same S3/MinIO backend or a shared filesystem on every admin node. A shared database alone does not make report files available across nodes. If the configured blob backend cannot be initialized, saved-report persistence remains unavailable rather than writing new reports to a different local directory. Report generation without persistence remains available where supported. Existing files are not moved automatically.
What the report contains
The Timeline tab labels its axis with elapsed time from the first event, including milliseconds for short requests. This changes only the display scale; the recorded event times remain unchanged. The status, type, sorting and saved-filter controls on the run list have accessible names in the selected interface language.
The report identifies the plan and run, shows their timing and result counts, and lists the result of each item. Depending on the item, details may include test steps, measurements, findings, or attachments. A nested Test Plan appears under its parent item; when its run reference is available, the child plan name links to that run. Skipped items include a reason when one is available.
Check the overall run status alongside the counters. A run with skipped or unknown items is not described as fully passed, even when no individual failure appears in the report tree.
Open a run from Test Plans → Runs to inspect its items before exporting. The exact detail shown depends on the test engine and on the data available for that run.
For CI launches that contain test case results, open the Suites tab and choose Case run details beside a case to inspect that exact execution’s steps and attachments. The launch overview stays compact; details load when you open a case. Use the back arrow to return to the launch. An older result without an execution reference does not show this action.
Per-format use cases
The six downloads for a Test Plan run are:
| Format | Best for | API request |
|---|---|---|
| Allure JSON | Reading the Allure-compatible result in code | GET /api/v1/namespaces/{namespace}/test-plans/{planId}/runs/{runId}/report |
| Allure ZIP | Uploading results and attachments to Allure or CI artifacts | GET /api/v1/namespaces/{namespace}/test-plans/{planId}/runs/{runId}/report.zip |
| JUnit XML | CI test result viewers | GET /api/v1/namespaces/{namespace}/test-plans/{planId}/runs/{runId}/report.junit.xml |
| Markdown | A readable summary in a message or wiki | GET /api/v1/namespaces/{namespace}/test-plans/{planId}/runs/{runId}/report.md |
| HTML | Opening or printing a report in a browser | GET /api/v1/namespaces/{namespace}/test-plans/{planId}/runs/{runId}/report.html |
| Mockarty JSON | Processing the run in your own tooling | GET /api/v1/namespaces/{namespace}/test-plans/{planId}/runs/{runId}/report.unified.json |
Use the plan’s namespace, its UUID or numeric ID as planId, and the run UUID as runId.
For example, to save JUnit XML for a run:
mockarty-cli testplan report <runID> --plan <planID> --format junit --out report.junit.xml
The HTML report includes its styles and can be saved as a PDF through your browser’s print dialog. report.html?standalone=true requests the attachment-inlining variant for offline sharing; this can make the file larger. Check the downloaded file before sharing it if it contains test data or attachments.
Reports of other engines
Mockarty also has a unified run view at /ui/runs/<kind>/<id>/report for supported run kinds. Its API is /api/v1/runs/<kind>/<id>/report. Use Test Runs for that view and its CLI command; the six URLs above apply specifically to Test Plan runs.
For that unified API, ?format=allure_zip and ?format=allure_dir include the report’s referenced attachments. If an attachment cannot be read, the download fails instead of returning an archive missing that file. Check the attachment storage and retry the export.
Large-run streaming
When a stored Allure or HTML artifact is available, Mockarty serves it from artifact storage. If it is missing, Mockarty generates the report from the run. Large reports and attachments can take longer to download, so keep the browser open until the file is complete.
Security: redaction guarantees
Mockarty masks recognised secret fields in saved plan context and report parameters. Before sending any downloaded report outside your team, review its contents: test requests, responses, and attachments can contain data from the system under test. Restrict access to the report as you would restrict access to the test run.
Common pitfalls
- No report yet: check that the run has finished and that you selected the correct plan and run IDs.
- CI does not display the result: download JUnit XML and confirm that your CI job publishes that file as a test report.
- HTML is too large to share: use the ordinary HTML download or a concise Markdown summary instead of the attachment-inlining variant.
Permissions
Report downloads follow the plan’s namespace access rules. If a URL works for a teammate but returns an access error for you, ask an administrator to check your access to that namespace and plan.
Next: Override Surfaces explains how to change plan inputs; Run View explains the live run screen.
MCP launch and report scope
testplan_run_and_report validates the report format before starting a run. Its optional namespace is preserved through launch, status reads, timeout cancellation and report retrieval. wait_for_task also accepts an optional namespace for every status read. Existing caller permissions and pinned namespace restrictions still apply.