# OCPP 2.0.1 simulator and tests

Source: https://timetick.io/docs/ocpp/ocpp-2-0-1

Test an OCPP 2.0.1 CSMS with a charger simulator, or test a 2.0.1 charger. Ready-made tests for transactions, device model, reset and more.

Moving from OCPP 1.6 to 2.0.1 changes almost every message: transactions, configuration, connectors and security. A simulator lets you try your CSMS before the first 2.0.1 charger arrives.

## Test your CSMS

1. Open **Systems**, click **Add new system** and choose **OCPP 2.0.1** under **External System**. Enter the address of your CSMS.
2. [Create a model](https://timetick.io/docs/simulators/models) for OCPP 2.0.1 and a [simulator](https://timetick.io/docs/simulators/create) on that system. Power it on.
3. Load a ready-made test, for example `TC_E_04_CSMS` for a charging session. [How to load it](https://timetick.io/docs/tests/build-a-test#start-from-a-ready-made-test).
4. [Run it](https://timetick.io/docs/tests/runs) and read the messages of each step.

## Test your charger

Connect it to **TimeTick Backend OCPP 2.0.1**, which new projects have, and load a test that ends with `_CS`. See [Test your charger](https://timetick.io/docs/get-started/test-your-charger).

## Start with these

- **Transactions.** Does your CSMS follow `TransactionEvent` from start to end?
- **Device model.** Can it read and change settings with `GetVariables` and `SetVariables`?
- **Tokens.** Does it accept and refuse the right `idToken`?
- **Reset.** Does a reset during charging end the transaction cleanly?

## Or ask an AI agent

```text
Run the ready-made OCPP 2.0.1 test TC_B_06_CSMS against my CSMS
at wss://csms.example.com/ocpp. Tell me what my CSMS has to send
and whether it passed.
```

New to the differences? See [OCPP 1.6 vs 2.0.1 vs 2.1](https://timetick.io/docs/ocpp/versions).
