ktm tests

Manage automated test scenarios with the ktm CLI: create, edit, validate, archive, restore, and inspect tests from your terminal.

Tests — automated test scenarios that can be executed and monitored

Usage

ktm tests [flags]

Subcommands

action-types

List available action types for test creation

archive

Archive a test (sets archived=true via PUT)

create

Create a new test from a JSON file

delete

Soft-delete one or more tests (move to trash; recoverable via 'tests undelete')

dry-run

Preview the impact of editing a test without applying changes

edit

Edit an existing test (creates a new version automatically)

get

Get test detail including variable definitions and owner slots

history

List version history for a test

impact

Check what test campaigns and monitors depend on a test

inspect

Full test definition with actions, dependencies, and configuration

list

List tests, optionally filtered by operator and product

restore

Restore a test to a previous version

step-types

List available step types for v2 (no-code) test creation

template

Generate a test template for one or more action types

unarchive

Un-archive a test (sets archived=false via PUT)

undelete

Restore one or more tests from trash

validate

Validate a test JSON file without creating it

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on