Testing a CSMS by hand means connecting a charger, clicking through every case, and judging each answer yourself. Did it accept the boot? Did it refuse the blocked card with the right status? Did the charging profile reach the charger? Rey, the free virtual charge point, now has a Test suite that does this for you. It runs 74 tests on OCPP 1.6, 77 on 2.0.1 and 86 on 2.1 against your own CSMS, and gives each one a result.
This guide walks through a run, from connecting to the report. If you want to see the tests before you start, CSMS test cases for OCPP 1.6, 2.0.1 and 2.1 lists every one: what it checks, who starts it and when it passes.

What the Test suite is
The Test suite is a third mode in Rey, next to Cockpit and Workbench. Rey plays the charger and the car; your CSMS is what gets tested. The tests are grouped in nine categories:
| Category | OCPP 1.6 | OCPP 2.0.1 | OCPP 2.1 |
|---|---|---|---|
| Start-up | 8 | 9 | 9 |
| Cards | 10 | 10 | 10 |
| Charging | 8 | 8 | 8 |
| Remote control | 7 | 6 | 6 |
| Smart charging | 6 | 7 | 11 |
| Configuration and reset | 8 | 10 | 11 |
| Charger certificates | 6 | 6 | 6 |
| Plug & Charge | 16 | 16 | 20 |
| Errors | 5 | 5 | 5 |
| Total | 74 | 77 | 86 |
Every test is one of three kinds:
- Rey: Rey sends the request and checks your CSMS’s answer. Nothing to do.
- Rey ⇄ CSMS: Rey sends, and your CSMS has to follow up by itself, for example by signing a certificate and sending it back.
- Your turn: only a CSMS can start it, for example installing a root certificate. Rey shows you exactly what to send from your CSMS and checks what arrives.
Before you start
- A CSMS on a public
wss://address. Rey can’t reachws://, localhost, a private network or a VPN, and your CSMS’s TLS certificate has to chain to a public CA. Connecting a virtual charge point to your CSMS covers the address, the charger ID and the password. - A test charger ID. The tests create real sessions and transactions in your CSMS. Don’t run them as a charger whose data matters.
- Some cards, if you have them. The card tests need a card your CSMS accepts, one it blocks, one it has as expired, and a second card in the same group as the accepted one. You can skip the tests you can’t set up.
- Rey’s test roots, for Plug & Charge. The contract tests use Rey’s own test contracts. Import Rey’s two test roots into your CSMS as contract (MO) roots: one for ISO 15118-2 and one for ISO 15118-20. Setup offers both files to download.
Want to see a run before you point Rey at your own CSMS? Use the Demo CSMS. There’s nothing to set up, and the demo does the Your turn steps by itself.
Step 1: Connect
Open Rey, pick the OCPP version, choose My CSMS, and enter your CSMS’s wss:// address, the test charger ID and the password if your CSMS needs one. Press Connect and check that the boot is accepted.
Step 2: Open the scorecard
Click ✓ Test suite in the top bar. You land on the scorecard for the CSMS you’re connected to. There’s one scorecard per CSMS address, OCPP version and charger ID, so a run on 1.6 doesn’t mix with one on 2.0.1.
The big number counts the latest result of each test. Each category has a tile with its own Run button; click a tile to see its tests. To fix first lists the failures, newest first. When you’re not connected, Tested before lists the CSMSs you tested in this browser, so you can open their scorecards.
Step 3: Choose the tests
Choose tests offers four options:
- Quick check: 12 automatic tests, about a minute. A good first run.
- Automatic only: every test that doesn’t need you.
- Full: every test for your OCPP version.
- Custom: tick a category, or open it with ▸ and tick single tests.
The i next to a test says what it checks, what Rey does, when it passes, what it needs, and where the spec defines it. If a test needs another one first, for example signing the charger’s V2G certificate needs a V2G root, Rey brings the other one along.

Step 4: Set up
Setup asks only for what the chosen tests need: a card your CSMS accepts, one it blocks, one it has as expired, the second card of a group, whether your CSMS checks the charger’s password, and whether your CSMS trusts Rey’s test roots. Check asks your CSMS about a card right away, so you know it’s the right one before the run. Don’t have one? Skip these tests takes them out of the run. Run waits until every item is filled in or skipped.
Step 5: Run
The automatic tests run first, so you can step away. The steps that need you come together at the end, as “your part”. A test that needs one of your steps runs right after it.
For each Your turn step, Rey names the message, the charger and the values your CSMS should send. If your CSMS can send a raw message, Copy as JSON gives you the whole thing. You have 2 minutes, and while you’re in your CSMS’s tab, Rey’s tab title says ● Your turn.
- +1 min gives you more time.
- My CSMS can’t send this marks the test as not supported. Next time it’s left out, with Try again to bring it back.
- Skip leaves it for later.
When the time runs out, Rey asks once and skips the step a minute later, so a run never hangs.

While the run goes on, the Cockpit and Workbench only watch. Their buttons are locked, so a click can’t get in the run’s way, but you can still read, search, inspect and export the conversation. Stop and take control ends the run and keeps the results so far.
If your CSMS drops the connection, Rey reconnects. If it doesn’t come back, the run pauses with every result kept: Resume carries on, End run stops. Closing or reloading the tab doesn’t stop a run; it goes on at Rey’s server, and the page picks it back up.

Step 6: Read the results
Each test ends in one of four ways:
| Result | What it means |
|---|---|
| Pass | Your CSMS did what the test expects. |
| Fail | It didn’t. The failure has its own code, such as REY-TEST-012, with an Explain button. |
| Not supported by your CSMS | You said your CSMS can’t send the message, or, for the bidirectional tests, it doesn’t allow DC_BPT for the card. |
| Not run | You skipped it, or a test it needs didn’t pass. |
Open a test on its category page to see what Rey did, what it expected, and what your CSMS did instead, plus its last results as small squares. From there:
- Rerun this test, once you’ve fixed something.
- Show the messages, to see the exchange behind the result.
- Copy for a ticket, to paste into your bug tracker.
On the scorecard, Run failed again reruns every failure. Download report makes one HTML page with the context (CSMS, OCPP version, charger, dates), the score, the failures in plain words and each category. It prints to PDF.
Common OCPP errors explained helps when a failure comes down to a CALLERROR your CSMS sent.
Plug & Charge: two editions
The Plug & Charge tests come in two editions, and where it matters, the test’s title names its edition. Under Choose tests, open Plug & Charge with ▸ and tick the tests of one edition or both.
| ISO 15118-2 tests | ISO 15118-20 tests | |
|---|---|---|
| Keys | P-256 | P-521 (Ed448 is not tested) |
| Car and charger | TLS 1.2: the charger shows its certificate | TLS 1.3: the car also shows its vehicle certificate |
| Contracts | Valid, revoked, expired | Valid, revoked, expired |
| Contract installation | OCPP 1.6, 2.0.1 and 2.1 | OCPP 2.1 only |
ISO 15118-20 is part of OCPP 2.1. On OCPP 1.6 and 2.0.1 the -20 tests go beyond what OCPP specifies, and each one’s i card says so. Skip them if your CSMS doesn’t do -20 on those versions. Installing a -20 contract is tested on 2.1 only, because a -20 answer doesn’t fit the 5600 characters 1.6 and 2.0.1 allow for it.
The Plug & Charge tests bring their own car and certificates, so your settings on Rey’s EV & contracts page don’t change them, and they come back as they were after each test. Testing OCPP Plug & Charge and testing ISO 15118-20 Plug & Charge on OCPP 2.1 explain the flows behind these tests.
Tests that run only on OCPP 2.1
| Test | What your CSMS does |
|---|---|
| Reset that keeps the charge | Sends Reset ImmediateAndResume, then takes the same transaction up again after the restart. |
| CSMS asks for a V2G certificate (ISO 15118-20) | Sends TriggerMessage SignV2G20Certificate and delivers the certificate. |
| Install a root for the car’s vehicle certificate | Installs an OEMRootCertificate. |
| Status of the car’s vehicle certificates | Answers GetCertificateChainStatus with a status for every certificate. |
| Install a contract through your CSMS (ISO 15118-20) | Passes the car’s -20 request to the contract provider and returns the answer. |
| A bidirectional car’s charging needs | Allows DC_BPT for the card in its Authorize answer, answers NotifyEVChargingNeeds, and after Accepted sends a TxProfile. |
| Set the power with a setpoint | Sends a TxProfile with operation mode CentralSetpoint; a setpoint below zero makes the car give power back. |
| Change the setpoint of a Dynamic profile | Sends UpdateDynamicSchedule with a new setpoint. |
| Allow bidirectional power during a charge | Sends NotifyAllowedEnergyTransfer for the running transaction. |
The first three run a car that gives power back over ISO 15118-20 with TLS 1.3, so they need the -20 V2G root and SECC certificate first, and Rey adds those tests to the run. If your CSMS doesn’t allow DC_BPT for the card, they show as Not supported, not Fail. Testing OCPP 2.1 bidirectional charging explains the messages behind them.
What the Test suite doesn’t do
- It tests a CSMS, not chargers or cars. Rey plays both.
- It is not a conformance test or certification. It shows how your CSMS behaves, so you can fix it before a real charger finds out.
- No API or CI. It runs in the browser, and nothing can start it from a script or a pipeline.
- One charger at a time, and no load tests.
- Only public
wss://addresses. - No DER control, tariffs and costs, or battery swap. Rey doesn’t simulate them, so the suite doesn’t test them either.
Your results and privacy
Your results, the CSMSs you tested and the cards you gave in setup stay in your browser. For each run, Rey’s server records which tests ran, each one’s result and code, how long it took, and whether a step that needed you was done or skipped. It never records the messages or the cards. Rey’s Privacy dialog has the full text.
Next steps
Start with Quick check on the Demo CSMS to see how a run looks, then point Rey at your own CSMS and run Automatic only. Once that’s clean, add the Your turn tests category by category. When something fails, the REY-TEST code and its Explain button tell you where to look, and the Rey handbook covers every screen of the Test suite.