levantar-ai/loadr load test

Run a loadr load test in CI. Installs loadr, runs a test plan, writes a JUnit XML report + JSON summary, and fails the job when a threshold is breached. Optionally diffs the run against a baseline summary and comments the comparison on the pull request.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
planPath to the loadr test plan (YAML).yes
versionloadr version to install (a tag like "v1.21.5", or "latest").nolatest
binPath to a preinstalled loadr binary. When set, the download is skipped and this binary is used (handy for self-hosted runners that already ship loadr).no""
junitPath to write the JUnit XML report.noloadr-junit.xml
summaryPath to write the JSON summary export.noloadr-summary.json
argsExtra arguments passed verbatim to `loadr run`.no""
fail-on-thresholdWhen 'true' (default) a breached threshold fails the step. Set 'false' to record results without failing the job.notrue
baseline-summaryPath to a baseline JSON summary from a previous run. When set, the action runs `loadr compare` between it and this run's summary.no""
compare-markdownPath to write the baseline comparison as markdown.noloadr-compare.md
max-regressionWhitespace-separated regression tolerances, passed to `loadr compare` as repeated `--max-regression` flags (e.g. 'p95=10% error_rate=0.5').no""
fail-on-regressionWhen 'true' (default) a regression beyond tolerance fails the job — after the PR comment is posted. Set 'false' to record the comparison without failing.notrue
comment-prWhen 'true' (default) the comparison markdown is upserted as a single PR comment. Only acts on pull_request events.notrue
namedescription
passed'true' when every threshold passed and the run was not aborted.
exit-codeThe exit code from `loadr run`.
junitPath to the JUnit XML report.
summaryPath to the JSON summary.
regression'true' when the baseline comparison found a regression beyond tolerance, 'false' when it ran clean; empty when no baseline-summary was given.
comparisonPath to the comparison markdown (when baseline-summary is set).