# OCPP load testing: Stress Tests

Source: https://timetick.io/docs/stress-tests

Load test your CSMS with many EV charger simulators over OCPP at the same time. Create a fleet, start all sessions at once and see what breaks.

What happens when 100 chargers start charging in the same minute? A Stress Test runs one test on many simulators at the same time, against your CSMS.

![A Stress Test runs one test on many simulators.](../../assets/diagrams/stress-test.svg)

## Before you start

- Make sure the test passes on [one simulator](https://timetick.io/docs/get-started/test-your-csms).
- [Create a fleet](https://timetick.io/docs/simulators/create#name-a-fleet) and allow its identities in your CSMS.
- Each simulator uses its own testing minutes. 100 simulators for 5 minutes use up to 500.

## Run it

1. Open the test and click **Run Test**.
2. Turn on **Switch on for stress testing**.
3. Set **Simultaneous Runs** to the number of simulators.
4. Choose [the cards](#give-every-charger-its-own-card).
5. Under **Requirements**, point at **Chargers**, click **Select**, choose the same number of simulators and click **Save item**.
6. Click **Run Test**.

![Stress Test settings.](../../assets/screens/screen-stress-test-run-drawer.png)

## Give every charger its own card

Many CSMSs refuse a card that is already charging. Under **RFID Authorization mode** choose **Dynamic ID tag for all runs** and enter a pattern in **ID tag**: `CARD-{INDEX}` gives `CARD-1`, `CARD-2` and so on. Allow these cards in your CSMS.

## See the results

Open **Runs** and the **Stress Tests** tab. You see the progress of all simulators, and you can open any of them to read its steps and messages. Watch CPU, response times and errors in your CSMS while it runs.

To stop everything, click **Shut down**.

## With an AI agent

```text
Run a Stress Test against my CSMS at wss://csms.example.com/ocpp on OCPP 1.6
with 50 simulators, each doing a full charging session. Check one first.
Then start all and tell me how many failed and why.
```
