Documentation Index
Fetch the complete documentation index at: https://checkly-422f444a-harry-red-556-agent-v8-3-1-changelog.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Available since CLI v8.4.0.
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.
Prerequisites
Prerequisites
Before using
checkly test-sessions, ensure you have:- Checkly CLI installed
- Valid Checkly account authentication (run
npx checkly loginif needed) - A recorded test session ID
Usage
Terminal
Subcommands
| Subcommand | Description |
|---|---|
get | Get details of a recorded test session. |
checkly test-sessions get
Get details of a recorded test session, including result error groups for RCA.
Usage:
Terminal
| Argument | Description |
|---|---|
id | The ID of the test session to retrieve. |
| Option | Required | Description |
|---|---|---|
--error-group | - | Show details for a test session error group ID from this session. |
--error-groups-limit | - | Number of error group IDs to show in the session summary. Default: 5. |
--full-error | - | Print the complete raw error when showing a test session error group. |
--watch, -w | - | Watch a running test session until it completes before rendering. |
--output, -o | - | Output format: detail, json, or md. Default: detail. |
Get Options
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
Set how many error group IDs to show in the session summary.Usage:
Terminal
Print the complete raw error when you inspect a test session error group.Usage:
Terminal
Available in CLI v8.5.0+.
Terminal
Set the output format. Use
json for programmatic access or md for markdown.Usage:Terminal
Get Examples
Terminal
Related Commands
checkly trigger- Trigger deployed checks as a test sessioncheckly test- Test local checks as a test sessioncheckly rca- Trigger root cause analysis for error groups