Skip to main content
Available since CLI v8.4.0.
The checkly test-sessions command lets you inspect recorded test sessions from the terminal. Use it to review a session, wait for a running session to finish, or inspect a test session error group before starting root cause analysis.
Before using checkly test-sessions, ensure you have:
  • Checkly CLI installed
  • Valid Checkly account authentication (run npx checkly login if needed)
  • A recorded test session ID
For additional setup information, see CLI overview.

Usage

Terminal

Subcommands

checkly test-sessions get

Get details of a recorded test session, including result error groups for RCA. Usage:
Terminal
Arguments: Options:

Get Options

string
Show details for a test session error group from the selected session. Use this after the session summary shows one or more error group IDs.Usage:
Terminal
number
default:"5"
Set how many error group IDs to show in the session summary.Usage:
Terminal
boolean
default:"false"
Print the complete raw error when you inspect a test session error group.Usage:
Terminal
boolean
default:"false"
Available in CLI v8.5.0+.
Watch a running test session until it reaches a final state before rendering the result.Usage:
Terminal
string
default:"detail"
Set the output format. Use json for programmatic access or md for markdown.Usage:
Terminal

Get Examples

Terminal