Prerequisites: These tests must exist in the Momentic dashboard.
tests
Arguments
The names of the tests to run. You can specify multiple tests separated by
spaces.
Options
Custom headers to include in the test run. You can specify multiple headers by
separating them with spaces.
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.
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.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.
Wait for the test run to complete before exiting.
Default:
1800The 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
Arguments
The names of the suites to run. You can specify multiple suites separated by
spaces.
Options
Custom headers to include in the suite run. You can specify multiple headers
by separating them with spaces.
The environment to run the suite in. This will override any environment
specified by the suite. The base URL set on the suite takes precedence over
the environment; use
--url-override to override the base URL.The URL to override the base URL set on the suite or environment.
Wait for the suite run to complete before exiting.
Default:
1800. The maximum time to wait for the suite run to complete, in
seconds. Must be used with the --wait option.