Skip to content

Dashboard

Use this page to run the FitNesse dashboard and send it live results from your test runs. You need Java 21, or run.sh on Linux and macOS, which downloads a JRE.

  1. Download fitnesse-dashboard.zip from the releases and extract it.

  2. Start it:

    Terminal window
    java -jar fitnesse-dashboard.jar

    On Linux and macOS you can run chmod +x run.sh && ./run.sh instead.

  3. Open http://localhost:6001.

  1. Add the listener to your pom.xml. The starter project already has it.

    <dependency>
    <groupId>com.huisjesautomation.reflex</groupId>
    <artifactId>fitnesse-listener</artifactId>
    <version>X.Y.Z</version>
    </dependency>
  2. Check that your JUnit class uses ReflexFitnesseRunner:

    @RunWith(ReflexFitnesseRunner.class)
    @FitNesseRunner.Suite("MySuite")
    public class FixtureDebugTest {}
  3. Run the suite with the dashboard properties:

    Terminal window
    mvn clean test-compile failsafe:integration-test \
    -DfitnesseSuiteToRun=MySuite \
    -Dreflex.dashboard.url=ws://<server-host>:6001/run \
    -Dreflex.dashboard.suite=MySuite

Use PostgreSQL, set your own SESSION_JWT and SECRET, and store results somewhere persistent. SQLite is fine for local use.

Terminal window
SESSION_JWT="your-own-jwt" \
SECRET="your-app-secret" \
DB_URL="jdbc:postgresql://db-host:5432/dashboard" \
DB_USER="postgres" \
DB_PASSWORD="postgres" \
TEST_OUTPUT_STORAGE_DIR="/var/fitnesse-results" \
SERVER_PORT=8080 \
java -jar fitnesse-dashboard.jar
VariableDefaultDescription
SERVER_PORT6001HTTP port
SERVER_HOST0.0.0.0Bind address
SERVER_COMPRESSION_LEVEL6Compression level (0-9)
SESSION_TITLEreflex_fitnesse_dashboardSession identifier
SESSION_JWTdemo tokenJWT for sessions
SECRETtesterApplication secret
DB_URLjdbc:sqlite:dashboard.db?journal_mode=WALJDBC URL
DB_USERpostgresDatabase user (PostgreSQL only)
DB_PASSWORDpostgresDatabase password (PostgreSQL only)
HIKARI_CONNECTION_INIT_SQLemptyInit SQL, for example SET search_path=public
HIKARI_MAXIMUM_POOL_SIZE10Maximum connection pool size
HIKARI_AUTO_COMMITfalseAuto-commit
TEST_OUTPUT_STORAGE_PROVIDERfilesystemfilesystem or s3
TEST_OUTPUT_STORAGE_DIRtest-outputLocal storage path
TEST_OUTPUT_STORAGE_ASSET_PREFIX/test-output-assetsURL prefix for assets
TEST_OUTPUT_STORAGE_S3_BUCKETemptyS3 bucket
TEST_OUTPUT_STORAGE_S3_ENDPOINTemptyS3 endpoint URL
TEST_OUTPUT_STORAGE_S3_ACCESS_KEYemptyS3 access key
TEST_OUTPUT_STORAGE_S3_SECRET_KEYemptyS3 secret key
TEST_OUTPUT_STORAGE_S3_REGIONus-east-1S3 region
TEST_OUTPUT_STORAGE_S3_PATH_STYLEtrueUse path-style URLs
TEST_OUTPUT_RAWfalseStore raw output
TEST_OUTPUT_REFORMATfalseReformat output
TEST_OUTPUT_COMBINE_INTERVAL_MINUTES1Combine interval in minutes
DASHBOARD_TITLEDashboardPage title
DASHBOARD_BRANDemptyBrand name
DASHBOARD_PAGE_SIZE15Results per page
DASHBOARD_QUEUE_MAX10Maximum queue size
DASHBOARD_QUEUE_CAPACITY1000Queue capacity
EBEAN_MIGRATION_RUNtrueRun database migrations on startup
EBEAN_DROPfalseDrop and recreate tables