OCPP CLI
Compliance & Auditing
Compliance testing suites and production auditing wizards for your OCPP infrastructure.
ocpp test
Runs OCTT (Open Charge Point Testing Tool) style compliance tests against a running OCPP server. This helps verify your transport and RPC layers strictly follow the OCPP specification.
Usage
ocpp test [options]Options
| Option | Alias | Default | Description |
|---|---|---|---|
--endpoint | -e | ws://localhost:5000/ocpp | Connection string to your CSMS WebSocket endpoint. |
--identity | -i | CP001 | Charge point identity used for the tests. |
--protocol | -p | ocpp1.6 | OCPP subprotocol. |
--suite | - | Test suite to run: all, transport, rpc, security, chaos. | |
--report | - | Export results to file (json, md, txt). | |
--report-dir | - | Custom directory to save the report. |
Example
Run all RPC tests and generate a Markdown report:
ocpp test --endpoint ws://localhost:5000/ocpp --suite rpc --report mdocpp audit
An automated CSMS Compliance and Security Auditor. It runs a series of tests to verify protocol compliance, security headers, authentication flows, and system resilience.
Usage
ocpp audit [options]Options
| Option | Alias | Default | Description |
|---|---|---|---|
--endpoint | -e | ws://localhost:5000/ocpp | The WebSocket URL of your CSMS server. |
--identity | -i | CP001 | Charge point identity. |
--protocol | -p | ocpp1.6 | OCPP subprotocol. |
Example
ocpp audit --endpoint wss://api.csms.com/ocpp