> ## Documentation Index
> Fetch the complete documentation index at: https://www.checklyhq.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing

> Learn how to create, configure, and manage testing in Checkly.

Checkly combines testing and monitoring into one workflow. With Checkly, you can:

![Testing overview](https://mintcdn.com/checkly-422f444a/UOCO_kDlwYlS1nA8/images/next/test-overview-light.png?fit=max\&auto=format\&n=UOCO_kDlwYlS1nA8\&q=85\&s=5712e8843eac9a3a742290a85bcbacf8)

* Run automated browser tests that simulate user interactions
* Set up API tests to verify endpoints and services
* Plan recurring test execution on a schedule
* Run tests from [Checkly's global locations](https://www.checklyhq.com/docs/concepts/locations.md)

## Test Types

Create a single test and use it for both pre-production validation and production monitoring:

> **API Tests**
>
> Simple HTTP requests to verify your API endpoints are responding correctly.
>
> Create an [API test](https://www.checklyhq.com/docs/detect/synthetic-monitoring/api-checks/overview.md)

> **Multi-step Tests**
>
> Advanced tests that combine multiple API calls and browser actions.
>
> Create a [Multi-step test](https://www.checklyhq.com/docs/detect/synthetic-monitoring/multistep-checks/overview.md)

> **Browser Tests**
>
> Full browser automation to test complex user interactions and workflows.
>
> Create a [Browser test](https://www.checklyhq.com/docs/detect/synthetic-monitoring/browser-checks/overview.md)

> **Playwright Check Suites**
>
> Import your entire test project and run Playwright completely natively.
>
> Create a [Playwright test](https://www.checklyhq.com/docs/detect/synthetic-monitoring/playwright-checks/overview.md)

> **TCP Monitors**
>
> Verify that non-HTTP services are reachable by checking connectivity to a host and port.
>
> Create a [TCP monitor](https://www.checklyhq.com/docs/detect/uptime-monitoring/tcp-monitors/overview.md)

> **DNS Monitors**
>
> Check that your DNS records resolve as expected and catch misconfigurations or propagation issues.
>
> Create a [DNS monitor](https://www.checklyhq.com/docs/detect/uptime-monitoring/dns-monitors/overview.md)

## Run Playwright tests on the cloud

Use `npx checkly pw-test` to run your existing Playwright tests on Checkly's global infrastructure. Tests run from real cloud locations with full observability — traces, videos, screenshots, and logs.

```bash Terminal theme={null}
npx checkly pw-test --location="eu-west-1" -- --grep="@smoke"
```

Customize the dependency installation step for the cloud environment:

```bash Terminal theme={null}
npx checkly pw-test --install-command='npm install --no-scripts'
```

Learn more in the [`checkly pw-test` CLI reference](https://www.checklyhq.com/docs/cli/checkly-pw-test).

## Analyze local test results

Use the [Playwright Reporter](https://www.checklyhq.com/docs/detect/testing/playwright-reporter.md) to upload local and CI Playwright test results to Checkly. View screenshots, videos, and traces alongside your monitoring data.

## Benefits of testing with Checkly

* **One platform for testing and monitoring** — Use the same tests for pre-production validation and production monitoring
* **Catch issues early** — Identify problems at any stage of your delivery pipeline
* **Code-first approach** — Write tests in code, store them in repositories, and use version control
* **Global coverage** — Run tests from multiple locations to match your user base


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.