How to use the CLI tool
Option | Description | Required | Default |
---|---|---|---|
-V, --version | output the version number | No |
Option | Description | Required | Default |
---|---|---|---|
-t, --test-target-id <id> | Test target ID | Yes | |
-k, --api-key <key> | the api key for authentication | Yes | |
-f, --force | Force overwrite existing configuration | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-n, --name <name> | Environment name | Yes | |
-d, --discovery-url <url> | Discovery URL | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No | |
--test-account-username [username] | Test account username | No | |
--test-account-password [password] | Test account password | No | |
--test-account-otp-initializer-key [key] | Test account OTP initializer key | No | |
--basic-auth-username [username] | Basic auth username | No | |
--basic-auth-password [password] | Basic auth password | No | |
--private-location-name [name] | Private location name | No |
environment [options]
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-e, --environment-id <id> | Environment ID | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No |
update-environment [options]
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-e, --environment-id <id> | Environment ID | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No | |
-n, --name [name] | Environment name | No | |
-d, --discovery-url [url] | Discovery URL | No | |
--test-account-username [username] | Test account username | No | |
--test-account-password [password] | Test account password | No | |
--test-account-otp-initializer-key [key] | Test account OTP initializer key | No | |
--basic-auth-username [username] | Basic auth username | No | |
--basic-auth-password [password] | Basic auth password | No | |
--private-location-name [name] | Private location name | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-e, --environment-id <id> | Environment ID | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No |
debug [options]
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-u, --url <url> | url the tests should run against | Yes | |
-c, --test-case-id [uuid] | id of the test case you want to run, if not provided will run all test cases in the test target | No | |
-e, --environment-id [uuid] | id of the environment you want to run against, if not provided will run all test cases against the default environment | No | |
-t, --test-target-id [uuid] | id of the test target of the test case, if not provided will use the test target id from the config | No | |
--headless | if we should run headless without the UI of playwright and the browser | No | |
--persist | if we should write playwright config and files to current directory, you can then run ‘npx playwright test’ to run them again | No | |
--grep [substring] | filter test cases by substring | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-u, --url <url> | URL to test | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No | |
-e, --environment-name [name] | Environment name | No | default |
-d, --description [text] | Test description | No | |
-g, --tags [tags] | comma separated list of tags | No | |
-v, --variables-to-overwrite [variables] | JSON object of variables to overwrite | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-n, --name <name> | Discovery name | Yes | |
-p, --prompt <prompt> | Discovery prompt | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No | |
-e, --entry-point-url-path [path] | Entry point URL path | No | |
--prerequisite-id [id] | Prerequisite test case ID | No | |
--external-id [id] | External identifier | No | |
--assigned-tag-ids [ids] | Comma-separated list of tag IDs | No | |
--folder-id [id] | Folder ID | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-n, --name <name> | Location name | Yes | |
-p, --password <password> | Proxy password | Yes | |
-u, --username <user> | Proxy user | Yes | |
-a, --address <address> | Location address | Yes |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-n, --name <name> | Location name | Yes |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No |
Option | Description | Required | Default |
---|---|---|---|
-n, --name [name] | Location name | No | |
-u, --username [username] | Proxy user | No | |
-p, --password [password] | Proxy password | No | |
-l, --host-network | Use host network (default: false). If set you can use localhost directly | No | false |
delete-test-case [options]
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-c, --test-case-id <id> | Test case ID | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No |
code [options]
Option | Description | Required | Default |
---|---|---|---|
-c, --test-case-id <id> | Test case ID | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No | |
-e, --environment-id [id] | Environment ID | No | default |
-u, --url <url> | URL to execute the test case against | Yes |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-c, --test-case-id <id> | Test case ID | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No | |
-r, --test-report-id <id> | Test report ID | Yes | |
-t, --test-target-id [id] | Test target ID, if not provided will use the test target id from the config | No |
Option | Description | Required | Default |
---|---|---|---|
-j, --json | Output raw JSON response | No |
--json
flag to any command to get the raw JSON response instead. This is useful for scripting or when you need to process the output programmatically.
Example of JSON output: