Skip to content
Download

Flags and exit codes

Terminal window
kurlo run . --env CI --collection "Billing" # one collection, by name
kurlo run . --env CI --folder "Billing/Refunds" # a folder subtree
FlagMeaning
--workspace <dir>Workspace directory (or pass it as the first positional argument).
--env <name>Environment to resolve variables from.
--collection <name>Only run requests in this collection.
--folder <a/b>Only run requests under this folder path.
--data <file>CSV or JSON data file; each row is one iteration.
--var KEY=VALUEOverride a variable (repeatable).
--env-file <path>KEY=VALUE file or Postman environment JSON that overrides environment variables.
--globals <file>KEY=VALUE or JSON file of global variables.
--global-var KEY=VALUESet a global variable (repeatable).
--reporters <list>Comma-separated: cli, json, junit.
--reporter <fmt>Shorthand for a single reporter.
--reporter-json-export <file>Write the JSON report to a file.
--reporter-junit-export <file>Write the JUnit report to a file.
--export-environment <file>Write final environment variables after the run.
--export-globals <file>Write final global variables after the run.
--timeout <ms>Per-request timeout, overriding request settings.
--script-timeout <ms>Per-script execution timeout (default 2000, max 60000).
--allow-send-requestAllow pm.sendRequest to make HTTP calls from scripts.
--delay <ms>Delay between requests.
--iterations <n>Run the selected set n times (ignored with --data).
--fail-fast, --bailStop at the first failing request.
--insecure, -kDisable TLS certificate verification for every request.
--verbosePrint request/response detail and script output for each request.
CodeMeaning
0Every request succeeded and every assertion passed.
1At least one request errored or one assertion failed.
2Setup problem — workspace not found, unknown environment, or no requests matched.