Skip to content
TestsigmaDOCS

Reports

Generate Custom Allure Reports

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.

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.

  1. Navigate to the Run Result page of your test plan.
  2. Copy the Run ID from the Execution ID field or from the page URL.

  1. Open Terminal (Mac/Linux) or Command Prompt (Windows).
  2. Navigate to the folder containing the JAR file.
  3. Run the command for your operating system.

Mac/Linux:

Terminal window
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:

Terminal window
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.


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