run

Command Description

Execution utilities

Syntax

run [options] [command]

Global Flags

  • -v, --version: output the version number
  • -w, --workingDir <dir>: set working directory/file: .insomnia folder, *.db.json, export.yaml
  • --encryption-key <key>: key that decrypts the sensitive fields in the Insomnia data directory: the base64 text from “Copy Key” or the JWK JSON from “Export Key”. A command line argument stays in the shell history, so prefer the INSOMNIA_ENCRYPTION_KEY environment variable
  • --verbose: show additional logs while running the command
  • --ci: run in CI, disables all prompts, defaults to false
  • --config <path>: path to configuration file containing above options (.insorc)
  • --printOptions: print the loaded options

Subcommands

  • run test: Run Insomnia unit test suites, identifier can be a test suite id or a API Spec id
  • run collection: Run Insomnia request collection, identifier can be a workspace id

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!