# rpk connect test

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

---
title: rpk connect test
latest-redpanda-tag: v24.3.9
latest-console-tag: v3.7.3
latest-operator-version: v26.1.4
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "true"
page-eol-date: December 3, 2025
latest-connect-version: 4.93.0
docname: rpk/rpk-connect/rpk-connect-test
page-component-name: streaming
page-version: "24.3"
page-component-version: "24.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-connect/rpk-connect-test.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/24.3/modules/reference/pages/rpk/rpk-connect/rpk-connect-test.adoc
page-git-created-date: "2024-05-30"
page-git-modified-date: "2026-05-26"
support-status: past end-of-life
---

<!-- Source: https://docs.redpanda.com/streaming/24.3/reference/rpk/rpk-connect/rpk-connect-test.md -->

Execute any number of Redpanda Connect unit test definitions.

If any tests fail, the process reports the errors and exits with a status code 1.

See [Unit Testing](https://docs.redpanda.com/connect/configuration/unit_testing/).

## [](#usage)Usage

```bash
/opt/redpanda/bin/.rpk.ac-connect test [command options] [arguments...]
```

## [](#examples)Examples

```bash
rpk connect test ./path/to/configs/...
```

```bash
rpk connect test ./foo_configs/*.yaml ./bar_configs/*.yaml
```

```bash
rpk connect test ./foo.yaml
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| --log | - | Allow components to write logs at a provided level to stdout. |
| --help, -h | - | Show help. |