# AI recipes

Source: https://timetick.io/docs/ai/recipes

Copy-paste prompts for testing OCPP with an AI agent, from a first connection to load testing a CSMS and explaining a failed test.

[Connect TimeTick](https://timetick.io/docs/ai/connect), copy a prompt and replace the address and names with yours. Your CSMS must be reachable from the internet.

## Check that a charger can connect

```text
Test my CSMS at wss://csms.example.com/ocpp on OCPP 1.6. Create one
simulator, power it on and check that the boot is accepted.
Show me the OCPP messages.
```

## Run a ready-made test

```text
Run TC_B_06_CSMS against my CSMS at wss://csms.example.com/ocpp.
Tell me what my CSMS has to send and when.
```

More in the [test library](https://timetick.io/docs/ocpp/test-library).

## Test smart charging

```text
Build an OCPP 1.6 test for 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. Check that it arrives and is accepted. Run it.
```

## Load test a CSMS

```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. Tell me how many failed and why.
```

## Test a real charger

```text
My charger uses OCPP 1.6. Connect it to TimeTick and check that it handles
a remote start and stop. Tell me what to do at the charger.
```

## Explain a failure

```text
Explain why my last TimeTick test run failed. Show the failed steps and
the OCPP messages around them, and tell me what to change.
```
