Skip to main content

Command Options

All options are appended after specifying the command and your file or directory path:

voiden-runner <command> [file|directory] [options]

Run Options

Executes one or more .void files. Accepts a file path, a directory path, or a glob pattern.

voiden-runner run <paths...> [options]

Execution

OptionDescription
--bail, --stop-on-failureStop immediately after the first failed request
--fail-on-errorRun all files, then exit with code 1 if any failed
--no-sessionStateless run — does not load or save session variables

Environment

OptionDescription
-e, --env <path>Load a .env file (KEY=VALUE format)
--env-var <k=v>Set a single inline variable (repeatable)

Output

OptionDescription
--show-reqPrint sent request headers and body
--show-resPrint response headers and body
--verbosePrint script logs, plugin messages, and section dividers
--jsonMachine-readable JSON output (suppresses normal terminal output)
--output-json <file>Write the full result object to a JSON file
--csv <path>Export a report to CSV (use . for an auto-generated filename)

Email Report

OptionDescription
--mailSend an HTML report to the address in VOIDEN_MAIL_TO env var
--mail-to <address>Send HTML report to this address
--mail-from <address>Sender address (defaults to VOIDEN_MAIL_FROM env)
--mail-subject <text>Custom email subject line
--smtp-host <host>SMTP server hostname
--smtp-port <port>SMTP port
--smtp-secureEnable TLS/SSL
--smtp-user <user>SMTP username
--smtp-pass <pass>SMTP password

Session Management

The session stores runtime variables and results captured across runs. Use these subcommands to inspect or reset that state.

voiden-runner session status    # Show counts of stored variables and results
voiden-runner session vars # List all stored runtime variables
voiden-runner session clear # Wipe all session state
info

Session state is stored at ~/.voiden/.process.env.json. Use --no-session on the run command to skip loading or saving session state for a one-off run.


Report Generation

Generate a combined report from all accumulated run results. Accepts the same --csv and mail/SMTP options as run.

voiden-runner report generate [options]   # Generate report from accumulated results
voiden-runner report gen [options] # Alias for generate
voiden-runner report clear # Wipe accumulated results history only

Plugin Management

Manage the runner's plugins.

voiden-runner plugin list
voiden-runner plugin install <plugin-name>
voiden-runner plugin enable <plugin-name>
voiden-runner plugin disable <plugin-name>

Core plugins:

PluginDescriptionEnabled by default
Voiden REST APIHandles standard HTTP REST requests
Advanced AuthenticationBearer tokens, basic auth, and API keys
Simple AssertionsEvaluates assertion blocks against response fields
Voiden FakerGenerates dynamic test data via {{$faker.*}} patterns
Voiden GraphQLConverts GraphQL blocks to standard HTTP POST requests
Voiden ScriptingRuns JavaScript, Python, or shell pre/post-request scripts
Socket & gRPCWebSocket and gRPC request support