hsl1230/HTTP Forge Run Suite

Run an HTTP Forge test suite, collection, or folder and publish JUnit results. Exits non-zero when any test fails, so it can gate a CI build.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
workspacePath to the HTTP Forge workspace folder (the directory that contains collections/, suites/, environments/). Relative to the repository root. no.
suiteSuite ID to run.no
collectionCollection slug, id, or display name to run. Mutually exclusive with `suite` — provide exactly one of `suite`, `collection`, or `collection` + `folder`. no
folderSlash-separated folder path within the collection to run (e.g. "Auth/Login"). Requires `collection` to be set. When provided the action runs `run-folder` instead of `run-collection`. no""
recursiveInclude nested sub-folders when running a folder (default: true). Set to "false" to run only the direct children of the folder. notrue
environmentEnvironment name to activate (must exist in the workspace environments/ folder). no""
iterationsNumber of iterations to run (default 1).no1
stop_on_errorStop execution on the first failure.nofalse
reportersComma-separated list of reporter specs to enable. Each spec is either a reporter name (e.g. "junit") or a name with an explicit output path (e.g. "junit:test-results/junit.xml"). Supported names: html, junit. Example: "junit:test-results/junit.xml" or "html,junit:results/junit.xml" nojunit:test-results/junit.xml
extra_argsAny additional raw CLI flags to append to the http-forge command, e.g. "--var BASE_URL=https://staging.example.com". no""
node_versionNode.js version to use (must be ≥ 20).no20
cli_version@http-forge/cli npm version to install. Accepts any npm semver range, e.g. "latest", "0.2.x", "^0.2.0". nolatest
namedescription
all_passed"true" when every request assertion passed, "false" otherwise.