Resilience Testing
Use the Harness CLI to manage the Resilience Testing module, including load tests, test runs, scripts, templates, and usage reports. Supports JMeter, Locust, and k6.
The Resilience Testing module in the Harness CLI manages load tests, test runs, scripts, and templates. It supports JMeter, Locust, and k6.
Before you begin
Harness CLI installed and authenticated: Go to Install and upgrade and Authenticate to set up the CLI.
Load tests
List and inspect load tests:
harness list loadtest
harness get loadtest my-testCreate a load test from a YAML file:
harness create loadtest -f loadtest.yamlCreate from an existing template:
harness create loadtest:from_template -f config.yamlCreate from a JSON definition:
harness create loadtest:from_json -f definition.jsonView available runtime variables for a test:
harness list loadtest:variables my-testExecute a load test and stream results:
Override runtime variables at execution time:
Sync a load test definition:
Update or delete a load test:
Test runs
List and inspect test runs:
Inspect run results in detail:
Stop or rerun a test run:
Scripts
List and manage load test scripts and their revision history:
Templates
List and manage reusable load test templates:
View template variables and YAML definition:
Manage template revisions:
Composite load tests
A composite load test groups multiple individual load tests to run as a coordinated set. List composite tests to see all defined groupings in the account.
Usage reports
View usage summaries and reports. These commands are account-wide and ignore --org and --project:
Next steps
Supported resources and actions: View the full Resilience Testing resource matrix.
Global flags and output: Learn about output formats and pagination.
Last updated
Was this helpful?