# Ready-made OCPP tests

Source: https://timetick.io/docs/ocpp/test-library

400+ ready-made OCPP tests for your CSMS or charger, modelled on the OCA OCTT test cases. See what they cover and run them with AI or in the portal.

TimeTick has 400+ ready-made tests modelled on the OCA OCTT test cases. They keep the OCTT ids, so you can search for `TC_B_06_CSMS` and run it.

Ids that end with `_CSMS` test your CSMS with a simulator. Ids that end with `_CS` test your real charger.

:::note
TimeTick is not affiliated with or endorsed by the Open Charge Alliance (OCA). OCPP and OCTT belong to the OCA. A TimeTick test result or PDF report is not OCPP certification.
:::

## What they cover

Boot, charging sessions, authorization, local lists, remote start and stop, reset, configuration, availability, reservation, smart charging, meter values, firmware update, diagnostics, offline behavior and security.

## Run tests with an AI agent (MCP)

[Connect TimeTick to your AI client](https://timetick.io/docs/ai/connect), then copy a prompt.

### Find a test

```text
Which ready-made TimeTick tests cover reservation on OCPP 1.6?
Don't run anything yet.
```

### Run one test against your CSMS

```text
Run the ready-made OCPP 2.0.1 test TC_B_06_CSMS against my CSMS
at wss://csms.example.com/ocpp. Use one simulator named CP-TEST-01.
Tell me what my CSMS has to send and when.
```

### Run one test on your charger

```text
Run the ready-made OCPP 1.6 test TC_010_CS on my charger CP-BERLIN-01.
Check that it is online first. Then tell me what to do at the charger.
```

### Run a set as a test plan

```text
Make a TimeTick test plan from the ready-made OCPP 1.6 tests for remote
start and stop on a CSMS. Show me the list first. After I confirm,
launch it and report what passed and what failed.
```

### Read why a test failed

```text
My last run of TC_003_CSMS failed. Show the failed steps, what was expected,
what my CSMS sent, and the OCPP messages around them.
```

### Build a test when none fits

```text
Build a TimeTick test for OCPP 2.0.1 and my CSMS at wss://csms.example.com/ocpp:
a session starts with an RFID card, then my CSMS sends a charging profile
with a 16 A limit and the simulator accepts it. Show me the steps first.
```

## Run a test in the portal

1. Open **Test Scenarios** and click **Add Test Scenario**.
2. Click the cloud icon next to the save button and search for the id.
3. Click **Load from template**, enter a name and save.
4. [Run it](https://timetick.io/docs/tests/runs) on your simulator or charger.

To run many at once and get a PDF, make a [test plan](https://timetick.io/docs/test-plans).

## Sample tests

| Test id | Title | Target |
| --- | --- | --- |
| `TC_003_CSMS` | Regular charging session, plug in first | CSMS, OCPP 1.6 |
| `TC_012_CSMS` | Remote stop charging session | CSMS, OCPP 1.6 |
| `TC_056_CSMS` | Central smart charging | CSMS, OCPP 1.6 |
| `TC_B_06_CSMS` | Get Variables, single value | CSMS, OCPP 2.0.1 |
| `TC_E_04_CSMS` | Local start transaction, authorization first | CSMS, OCPP 2.0.1 |
| `TC_G_05_CSMS` | Change availability of the charging station | CSMS, OCPP 2.0.1 |
| `TC_010_CS` | Remote start, cable plugged in first | Charger, OCPP 1.6 |
| `TC_044_1_CS` | Firmware update, download and install | Charger, OCPP 1.6 |
| `TC_B_01_CS` | Cold boot charging station | Charger, OCPP 2.0.1 |
| `TC_G_01_CS` | Connector status, available to occupied | Charger, OCPP 2.0.1 |
