If you have shopped for OCPP testing tools, you have hit the terminology fog: “charge point emulator,” “virtual charge point,” “CSMS simulator,” “OCPP simulator,” “mock backend.” People use these words loosely and often interchangeably, which is exactly why nobody can tell you which one to download. This article cuts through it. The distinction that actually matters is simple, and once you have it you will always know which tool to reach for.
Here it is: a charge point emulator fakes the charger; a CSMS simulator fakes the backend. They stand in for opposite ends of the same OCPP connection. Everything else is detail.
If you just want the hands-on version, Rey is a free, browser-based charge point emulator. It opens a real OCPP connection, in 1.6, 2.0.1 or 2.1, to a CSMS and lets you drive a full session. More on where it fits below.
One connection, two roles
Every OCPP session has exactly two parties, and they are not symmetric. If you need a refresher on the protocol itself, what OCPP is covers the basics. Here is the part that decides your tooling.
The charge point (the charging station) is the WebSocket client. It dials out. It opens a connection to a URL like wss://csms.example.com/ocpp/CP-0001, and it drives the conversation: it sends BootNotification, StatusNotification, Authorize, TransactionEvent, MeterValues, Heartbeat.
The CSMS, the Charging Station Management System or backend, is the WebSocket server. It listens, accepts connections, answers those requests, and occasionally initiates its own commands back down the pipe: RequestStartTransaction, Reset, TriggerMessage, GetVariables.
Because the two ends play fixed, opposite roles, a testing tool has to pick a side. That is the whole taxonomy:
- A tool that plays the charger so you can test a backend is a charge point emulator, also marketed as a “virtual charge point” or, confusingly, an “OCPP simulator”.
- A tool that plays the backend so you can test firmware is a CSMS simulator, also called a “mock CSMS” or “OCPP server simulator”.
Same protocol, mirror-image jobs. The question “emulator or simulator?” is really the question “which side am I building, and which side do I need to fake?”
The rule: fake the side you are not building
That reframing gives you a one-line decision rule. Whatever you are building is real; you fake the other end.
Building or integrating a CSMS? Your backend is the thing under test. You do not have thirty different physical chargers on your desk, and you should not need them. You need something that behaves like a charger and connects to your backend, which is a charge point emulator. This is the common case, because integrating against a CSMS, whether writing the backend or building a CPO platform on top of one, is a much larger job market than writing charger firmware.
Writing charge-point firmware? Your firmware is the thing under test. It needs something to connect to: a server that accepts the WebSocket and answers. You need a CSMS simulator.
Learning the protocol, building neither yet? You do not need to fake anything live. You want to watch a correct session play out. A canned, passive walkthrough is the right first step. The one in the OCPP charging session guide replays a full message flow so you can learn the sequence before you connect anything real.
That is the entire decision. Everything below is about picking a good tool once you know your side.
What each side has to do on the wire
“Fakes the charger” is only useful if the fake does what a charger does. Because the roles are fixed, the list of duties is too, and it is the best checklist for judging any tool on either side:
| Duty | Charge point (what an emulator must do) | CSMS (what a simulator must do) |
|---|---|---|
| Connection | Dials out to wss://host/path/<station id> | Listens, reads the station id from the path |
| Version | Offers ocpp1.6, ocpp2.0.1 or ocpp2.1 in Sec-WebSocket-Protocol | Picks exactly one, or closes if none fit |
| Credentials | Sends Basic auth (security profiles 1 and 2) or a client certificate (profile 3) | Checks them during the upgrade |
| First message | Sends BootNotification, retries while Pending | Answers Accepted, Pending or Rejected, with the heartbeat interval |
| Messages it starts, 1.6 | BootNotification, Heartbeat, StatusNotification, Authorize, StartTransaction, MeterValues, StopTransaction, firmware and diagnostics status | RemoteStartTransaction, RemoteStopTransaction, Reset, Get/ChangeConfiguration, ChangeAvailability, UnlockConnector, SetChargingProfile, TriggerMessage, UpdateFirmware, GetDiagnostics |
| Messages it starts, 2.0.1 | BootNotification, Heartbeat, StatusNotification, Authorize, TransactionEvent, MeterValues, NotifyEvent, NotifyReport, SecurityEventNotification | RequestStart/StopTransaction, Reset, Get/SetVariables, GetBaseReport, ChangeAvailability, UnlockConnector, SetChargingProfile, TriggerMessage, UpdateFirmware, GetLog |
| Both directions | DataTransfer | DataTransfer |
| Saying no | Rejected, NotSupported, NotImplemented and CALLERROR where a real charger would | Rejected tokens, Pending boots, CALLERRORs for bad payloads |
Two practical consequences. An emulator that only sends and never answers the right-hand column tests half of your CSMS: the half where the charger talks. And a CSMS simulator that answers Accepted to everything never tests your firmware’s Pending, Rejected or CALLERROR handling, which is where firmware bugs actually live. When you compare tools, ask which rows they cover. The free simulators and emulators roundup compares the actual projects.
Charge point emulators (for testing a CSMS)
An emulator’s job is to be indistinguishable, on the wire, from real firmware. Your CSMS cannot tell whether the bytes on the socket came from a DC fast charger in a car park or from a browser tab. As long as the messages are well-formed and arrive in a plausible order, it processes them identically. That is why software testing works, and it is covered in depth in how to test an OCPP charge point without hardware.
This is where Rey fits. Rey is a free, browser-based virtual charge point. It connects to one of two backends:
- My CSMS. Enter your backend’s
wss://address, a charge point ID, and a Basic-auth password if it needs one, and Rey opens a real OCPP connection to your CSMS in whichever version you pick. In 2.0.1 you boot it, authorize anidToken, and run aTransactionEventfromStartedtoEnded, where 1.6 usesStartTransactionandStopTransactioninstead, then watch exactly how your backend responds. A relay handles the auth headers a browser cannot set on a WebSocket itself. - Demo CSMS. Drive the station against a built-in CSMS with zero setup, if you just want to see a live session without wiring up a backend. Press Connect, plug in the cable on the car card, then tap the card on the charger.

Two switches change how you work with it. Step-by-step mode holds every outgoing message so you can read or edit it before pressing Send, which is how you check what your backend does with a wrong or missing field. The Workbench view gives the message list and the JSON inspector the whole screen. Rey also applies smart charging profiles to the simulated power, so a SetChargingProfile from your CSMS visibly limits the charge. And it says no where a real charger would: a read-only configuration key gets Rejected, an unknown one NotSupported (UnknownVariable on 2.0.1), and a Reset can be refused, so your backend’s error paths get exercised too. Its Test suite runs 74 to 86 guided tests against your CSMS, depending on the OCPP version, and gives each a result.
Because you run it from your browser, there is nothing to install and nothing to provision. You point it at a backend and go. Every message is shown as its real OCPP-J array, so you can lift frames straight out as test fixtures. If you want to understand what those frames mean end to end, the OCPP charging-session message flow walks the full sequence.
Emulators also come as libraries and CLIs for engineers who want to script sessions in CI. MicroOcpp is an OCPP client written in portable C/C++ for microcontrollers such as the ESP32. Because it is a charge-point-side implementation, with a network stack it doubles as an emulator you can point at a backend. Its 1.6 support is the mature path and its 2.0.1 support is gated behind a build flag rather than on by default, so check the repository for current status. The tradeoff against a browser tool is setup: you gain scriptability and scale, and you pay for it with a build step.
CSMS simulators (for testing firmware)
If you are on the firmware side, you need a backend to talk to, and your options span a wide range of fidelity.
At the low end, a minimal mock CSMS accepts the connection and returns Accepted to everything, which is enough to confirm your firmware boots and stays online. EVerest, the LF Energy EV-charging stack, ships this kind of permissive responder for smoke tests.
At the high end are full open-source CSMS servers you run locally and inspect:
- SteVe is a Java CSMS that has been in development since 2013, implementing OCPP 1.6 over both SOAP and WebSocket/JSON, including the Security Whitepaper profiles. It is GPL-licensed and does not implement 2.0.1.
- CitrineOS is a TypeScript CSMS built around OCPP 2.0.1 (it has since added 1.6) and now an LF Energy project. If certification matters to your procurement, check the Open Charge Alliance list of certified products directly rather than any secondary description, including this one, because that status changes without anyone updating a blog post. Details verified against each repository in August 2026.
Running a real CSMS locally is the honest way to test firmware, because it answers like a production backend rather than rubber-stamping everything. The cost is that you are now operating a full server, with a database and configuration to match, which is more than you need if all you want is to confirm your BootNotification payload is well-formed.
There is no single standard open CSMS, and the projects come from different places on both sides of the Atlantic. That is precisely why testing against more than one is worth the effort: each will accept slightly different things, and the intersection of what they all accept is much closer to what real hardware will accept.
A note on “real firmware” tools
One more category muddies the water: full charge-point software stacks such as EVerest, which implement OCPP alongside ISO 15118 and IEC 61851. EVerest is not an emulator. It is production firmware meant to run on actual charging hardware. But because it is a charge-point-side stack, you can run it against a CSMS simulator to test the integration.
The lesson is the same taxonomy applied one level up: EVerest sits on the client side of the wire, so pairing it with a CSMS simulator tests the pair, while pairing your own backend with a charge point emulator like Rey tests yours. Always ask which side of the connection a tool stands on.
The decision in one screen
- Building a CSMS or integrating a backend: charge point emulator. Start with Rey in the browser, by hand or with its guided Test suite, and reach for a scriptable client such as MicroOcpp when you need CI or scale.
- Writing charge-point firmware: CSMS simulator. Use a minimal mock for smoke tests, or run SteVe for 1.6 or CitrineOS for 2.0.1 locally when you want real answers.
- Just learning: neither yet. Watch a full session in the walkthrough in the OCPP charging session guide first, then come back and pick your side.
Get the side right and the tool follows. The confusion only ever existed in the vocabulary. The connection itself has always been unambiguous about which end is which, and so should your test setup be.