Reports
Generate Custom Allure Reports
The Custom Allure Report Generator in Testsigma produces interactive, browser-based reports from test plan results. Reports include comprehensive execution details, screenshots, and visual analytics, making them suitable for in-depth analysis and stakeholder sharing.
Prerequisites
Before you begin, ensure that:
- You have a valid Testsigma API key. Refer to the documentation on generating API keys.
- Java 21 or a newer version is installed on your system.
- You have the custom report JAR file. Contact the Customer Support team to obtain it.
Available Output Formats
Section titled “Available Output Formats”The generator supports two output formats:
| Format | Description |
|---|---|
| ALLURE_HTML | Self-contained, browser-viewable report. Use this for sharing with stakeholders. |
| ALLURE_JSON | Raw data files for CI/CD integration or further processing. |
Retrieve the Run ID
Section titled “Retrieve the Run ID”- Navigate to the Run Result page of your test plan.
- Copy the Run ID from the Execution ID field or from the page URL.
Generate the Report
Section titled “Generate the Report”- Open Terminal (Mac/Linux) or Command Prompt (Windows).
- Navigate to the folder containing the JAR file.
- Run the command for your operating system.
Mac/Linux:
java -jar custom-report-0.0.6.jar \ --config.plan.runId=YOUR-RUN-ID \ --config.apiKey=YOUR-API-KEY \ --config.report.type=ALLURE_HTML \ --config.report.output.directory=/path/to/output/Windows:
java -jar custom-report-0.0.6.jar --config.plan.runId=YOUR-RUN-ID --config.apiKey=YOUR-API-KEY --config.report.type=ALLURE_HTML --config.report.output.directory=C:\path\to\output\Replace the placeholders with your actual values:
- YOUR-RUN-ID: The Run ID of your test plan execution.
- YOUR-API-KEY: Your Testsigma API key.
- /path/to/output/: Directory where the report files will be saved.
To generate a JSON report instead, replace ALLURE_HTML with ALLURE_JSON in the command.
What the Report Includes
Section titled “What the Report Includes”Generated Allure reports contain:
- Test execution summaries with pass/fail metrics
- Suite-level grouping and timing data
- Individual test step execution details
- Failure screenshots and categorization
- Visual charts and execution timelines