# Test your CSMS

Source: https://timetick.io/docs/get-started/test-your-csms

Connect an OCPP charger simulator to your CSMS and run a full charging session. Works with OCPP 1.6, 2.0.1 and 2.1 over ws or wss.

You will create a virtual charger, connect it to your CSMS and watch it charge.

## You will need

- A [TimeTick account](https://timetick.io/docs/get-started#create-an-account).
- A public `ws://` or `wss://` address of your CSMS. If it runs on your laptop, open it through a tunnel.
- A charge point identity and an RFID tag your CSMS accepts.

## 1. Create a simulator

[Create a simulator](https://app.timetick.io/open/create-simulator)

1. Click **Add new system** and choose your OCPP version under **External System**. Enter a name, put your CSMS address without the charge point identity in **Endpoint**, and click **Create System**. Then click its name in the list.

2. Click **Create a new model** and choose the same OCPP version. Fill in the form: power is in watts, and **Default Charger Config** is fine for **Simulator Config**. Add a connector, click **Create Model**, then click your model in the list.

3. Click the default simulator config, then the default OCPP config.

4. Enter **Simulator Name** and click **Create Simulator**. The name is the identity your CSMS sees: `CP-BERLIN-01` connects to `wss://csms.example.com/ocpp/CP-BERLIN-01`.

If your CSMS asks for a password, [set it on the simulator](https://timetick.io/docs/security/basic-auth) now, before you power it on.

## 2. Check that it connects

1. Open **Simulators** in the menu, click yours and, on the **Details** tab, click **Power On**.

2. Open its **Logs** tab. You should see your CSMS accept the `BootNotification`.

3. Go back to **Details** and click **Power Off**. The test turns it on again.

Not connecting? See [Connection problems](https://timetick.io/docs/troubleshooting/connection).

## 3. Run a test

1. On the dashboard click **Test Backend** and choose your simulator.

2. Click **1 min EV Charging with NOA tag**. It uses the RFID tag `NOA`. Allow it in your CSMS, or open the test and change it in the Use RFID Card step.

3. Click **Run Test**, check the settings and click **Run Test** again. Open your run in the list.

The sample test is for OCPP 1.6. Otherwise follow [OCPP 2.0.1](https://timetick.io/docs/ocpp/ocpp-2-0-1) or [OCPP 2.1](https://timetick.io/docs/ocpp/ocpp-2-1).

Every step shows its result and the OCPP messages behind it.

## What to test next

- Commands from your CSMS, such as remote start: [How steps work](https://timetick.io/docs/tests/steps).
- The content of messages: [Expected results](https://timetick.io/docs/tests/expected-results).
- Many chargers at once: [Stress Tests](https://timetick.io/docs/stress-tests).
