Prerequisites: These tests and suites must exist in Momentic Cloud.
tests
- <tests…>: The names of the tests to run. You can specify multiple tests separated by spaces.
Options
--custom-headers <customHeaders...>
Custom headers to include in the test run. You can specify multiple headers by separating them with spaces.
--input-csv <inputCsv>
Path to a CSV file containing input data for the tests. Each row in the CSV file will be used as input for a separate test run.
--env <env>
The base URL set on the test will always take precedence over the environment.
If you want to override the base URL set on the test, use the
--url-override
option.--url-override <urlOverride>
The URL to override the base URL set on the test or the environment. This is useful if you want to run the test against a different URL than the one specified in the test or environment.
-w, --wait
Wait for the test run to complete before exiting.
--wait-timeout <waitTimeout>
Default: 1800
The maximum time to wait for the test run to complete, in seconds. Must be used with the --wait
option. If the test run does not complete within this time, the command will exit with an error.
suites
- <suites…>: The names of the suites to run. You can specify multiple suites separated by spaces.
Options
--custom-headers <customHeaders...>
Custom headers to include in the suite run. You can specify multiple headers by separating them with spaces.
--env <env>
The base URL set on the test will always take precedence over the environment.
If you want to override the base URL set on the test, use the
--url-override
option.--url-override <urlOverride>
The URL to override the base URL set on the test or the environment. This is useful if you want to run the test against a different URL than the one specified in the test or environment.
-w, --wait
Wait for the suite run to complete before exiting.
--wait-timeout <waitTimeout>
Default: 1800
The maximum time to wait for the suite run to complete, in seconds. Must be used with the --wait
option. If the test run does not complete within this time, the command will exit with an error.