cert/1.6 sequence diagrams
OCPP 1.6 CSMS pre-certification (OCTT test case IDs). OCPPSim's own scenarios drawn from their YAML; a pre-check, not a certification.
Solid arrow: a CALL. Dashed arrow: an answer (CALLRESULT / CALLERROR) or an operator trigger (highlighted lane). Boxes: checks of the station state, waits, local actions; a red dashed box is a frame that must not appear. ≤ = the time the step waits. Step ids on the left.
| Case | Title | Profile | Status |
|---|---|---|---|
| TC_001_CSMS | Cold boot | core | covered |
| TC_003_CSMS | Charging session, cable plugged in first | core | covered |
| TC_004_1_CSMS | Charging session, identification first | core | covered |
| TC_004_2_CSMS | Identification first, connection timeout | core | covered |
| TC_005_1_CSMS | EV side disconnected | core | covered |
| TC_007_CSMS | Start with a cached id tag | cache | partial |
| TC_061_CSMS | Clear authorization cache | cache | covered |
| TC_010_CSMS | Remote start, cable plugged in first | core | covered |
| TC_011_1_CSMS | Remote start before plugging in | core | covered |
| TC_011_2_CSMS | Remote start, connection timeout | core | covered |
| TC_012_CSMS | Remote stop | core | covered |
| TC_013_CSMS | Hard reset | core | covered |
| TC_014_CSMS | Soft reset | core | covered |
| TC_017_1_CSMS | Unlock connector, no session | core | covered |
| TC_017_2_CSMS | Unlock connector, fixed cable | core | covered |
| TC_018_1_CSMS | Unlock connector during a session | core | covered |
| TC_019_1_CSMS | Get all configuration keys | core | covered |
| TC_019_2_CSMS | Get selected configuration keys | core | covered |
| TC_021_CSMS | Change a configuration key | core | covered |
| TC_023_1_CSMS | Authorize answered Invalid | core | covered |
| TC_023_2_CSMS | Authorize answered Expired | core | covered |
| TC_023_3_CSMS | Authorize answered Blocked | core | covered |
| TC_024_CSMS | Connector lock failure | core | covered |
| TC_026_CSMS | Remote start rejected by the charger | core | covered |
| TC_028_CSMS | Remote stop rejected by the charger | core | covered |
| TC_030_CSMS | Unlock connector fails | core | covered |
| TC_031_CSMS | Unlock an unknown connector | core | covered |
| TC_032_1_CSMS | Power failure during a session | core | covered |
| TC_037_1_CSMS | Offline start with a valid id tag | core | covered |
| TC_037_3_CSMS | Offline start with an invalid id tag | core | covered |
| TC_039_CSMS | Offline transaction | core | covered |
| TC_040_1_CSMS | Change an unsupported configuration key | core | covered |
| TC_040_2_CSMS | Change a configuration key to an invalid value | core | covered |
| TC_042_1_CSMS | Local list version, list not supported | local_auth_list | covered |
| TC_042_2_CSMS | Local list version, empty list | local_auth_list | covered |
| TC_043_1_CSMS | Send local list, not supported | local_auth_list | covered |
| TC_043_3_CSMS | Send local list, update failed | local_auth_list | covered |
| TC_043_4_CSMS | Send local list, full update | local_auth_list | covered |
| TC_043_5_CSMS | Send local list, differential update | local_auth_list | covered |
| TC_044_1_CSMS | Firmware update, download and install | firmware | covered |
| TC_044_2_CSMS | Firmware update, download failed | firmware | partial |
| TC_044_3_CSMS | Firmware update, installation failed | firmware | partial |
| TC_045_1_CSMS | Get diagnostics | firmware | covered |
| TC_045_2_CSMS | Get diagnostics, upload failed | firmware | partial |
| TC_046_CSMS | Reservation used by a transaction | reservation | covered |
| TC_047_CSMS | Reservation expires | reservation | covered |
| TC_048_1_CSMS | Reserve a faulted connector | reservation | covered |
| TC_048_2_CSMS | Reserve an occupied connector | reservation | covered |
| TC_048_3_CSMS | Reserve an unavailable connector | reservation | covered |
| TC_048_4_CSMS | Reservation rejected | reservation | covered |
| TC_049_CSMS | Reserve the whole charge point | reservation | covered |
| TC_051_CSMS | Cancel a reservation | reservation | covered |
| TC_052_CSMS | Cancel reservation rejected | reservation | covered |
| TC_053_CSMS | Reserved connector used via parent id tag | reservation | partial |
| TC_054_CSMS | Trigger messages | remote_trigger | covered |
| TC_055_CSMS | Trigger message rejected | remote_trigger | covered |
| TC_056_CSMS | Set a TxDefaultProfile | smart_charging | covered |
| TC_057_CSMS | Set a TxProfile | smart_charging | covered |
| TC_066_CSMS | Get composite schedule | smart_charging | covered |
| TC_067_CSMS | Clear charging profiles | smart_charging | covered |
| TC_059_CSMS | Remote start with a charging profile | smart_charging | covered |
| TC_064_CSMS | Data transfer with an unknown vendor | data_transfer | covered |
| TC_073_CSMS | Update basic auth password | security | partial |
| TC_074_CSMS | Update charge point certificate | security | partial |
| TC_075_1_CSMS | Install manufacturer root certificate | security | covered |
| TC_075_2_CSMS | Install central system root certificate | security | covered |
| TC_076_CSMS | Delete a certificate | security | covered |
| TC_077_CSMS | Invalid charge point certificate | security | covered |
| TC_078_CSMS | Invalid central system certificate | security | covered |
| TC_079_CSMS | Get security log | security | covered |
| TC_080_CSMS | Signed firmware update | security | covered |
| TC_081_CSMS | Signed firmware, invalid signature | security | partial |
| TC_083_CSMS | Upgrade security profile | security | partial |
| TC_085_CSMS | Basic authentication | security | partial |
| TC_086_CSMS | TLS, server certificate | security | partial |
| TC_087_CSMS | TLS, client certificate | security | partial |
| TC_088_CSMS | WebSocket subprotocol negotiation | security | partial |
TC_001_CSMS — Cold boot covered
TC_003_CSMS — Charging session, cable plugged in first covered
TC_004_1_CSMS — Charging session, identification first covered
TC_004_2_CSMS — Identification first, connection timeout covered
TC_005_1_CSMS — EV side disconnected covered
TC_007_CSMS — Start with a cached id tag partial
Authorize is skipped for a cached tag only with LocalPreAuthorize=true in the charger's config_keys
TC_061_CSMS — Clear authorization cache covered
TC_010_CSMS — Remote start, cable plugged in first covered
TC_011_1_CSMS — Remote start before plugging in covered
TC_011_2_CSMS — Remote start, connection timeout covered
TC_012_CSMS — Remote stop covered
TC_013_CSMS — Hard reset covered
TC_014_CSMS — Soft reset covered
TC_017_1_CSMS — Unlock connector, no session covered
TC_017_2_CSMS — Unlock connector, fixed cable covered
TC_018_1_CSMS — Unlock connector during a session covered
TC_019_1_CSMS — Get all configuration keys covered
TC_019_2_CSMS — Get selected configuration keys covered
TC_021_CSMS — Change a configuration key covered
TC_023_1_CSMS — Authorize answered Invalid covered
TC_023_2_CSMS — Authorize answered Expired covered
TC_023_3_CSMS — Authorize answered Blocked covered
TC_024_CSMS — Connector lock failure covered
TC_026_CSMS — Remote start rejected by the charger covered
TC_028_CSMS — Remote stop rejected by the charger covered
TC_030_CSMS — Unlock connector fails covered
TC_031_CSMS — Unlock an unknown connector covered
TC_032_1_CSMS — Power failure during a session covered
TC_037_1_CSMS — Offline start with a valid id tag covered
TC_037_3_CSMS — Offline start with an invalid id tag covered
TC_039_CSMS — Offline transaction covered
TC_040_1_CSMS — Change an unsupported configuration key covered
TC_040_2_CSMS — Change a configuration key to an invalid value covered
TC_042_1_CSMS — Local list version, list not supported covered
TC_042_2_CSMS — Local list version, empty list covered
TC_043_1_CSMS — Send local list, not supported covered
TC_043_3_CSMS — Send local list, update failed covered
TC_043_4_CSMS — Send local list, full update covered
TC_043_5_CSMS — Send local list, differential update covered
TC_044_1_CSMS — Firmware update, download and install covered
TC_044_2_CSMS — Firmware update, download failed partial
needs maintenance.fail_download: true in the charger config
TC_044_3_CSMS — Firmware update, installation failed partial
needs maintenance.fail_install: true in the charger config
TC_045_1_CSMS — Get diagnostics covered
TC_045_2_CSMS — Get diagnostics, upload failed partial
needs maintenance.fail_upload: true in the charger config
TC_046_CSMS — Reservation used by a transaction covered
TC_047_CSMS — Reservation expires covered
TC_048_1_CSMS — Reserve a faulted connector covered
TC_048_2_CSMS — Reserve an occupied connector covered
TC_048_3_CSMS — Reserve an unavailable connector covered
TC_048_4_CSMS — Reservation rejected covered
TC_049_CSMS — Reserve the whole charge point covered
TC_051_CSMS — Cancel a reservation covered
TC_052_CSMS — Cancel reservation rejected covered
TC_053_CSMS — Reserved connector used via parent id tag partial
the CSMS must answer Authorize of child_tag with the reserved tag as parentIdTag
TC_054_CSMS — Trigger messages covered
TC_055_CSMS — Trigger message rejected covered
TC_056_CSMS — Set a TxDefaultProfile covered
TC_057_CSMS — Set a TxProfile covered
TC_066_CSMS — Get composite schedule covered
TC_067_CSMS — Clear charging profiles covered
TC_059_CSMS — Remote start with a charging profile covered
TC_064_CSMS — Data transfer with an unknown vendor covered
TC_073_CSMS — Update basic auth password partial
needs security_profile 1 or 2 (a charger password); the CSMS must accept the new AuthorizationKey on the reconnect
TC_074_CSMS — Update charge point certificate partial
needs security_profile 3; the CSMS signs the CSR and must accept the renewed client certificate on the reconnect
TC_075_1_CSMS — Install manufacturer root certificate covered
TC_075_2_CSMS — Install central system root certificate covered
TC_076_CSMS — Delete a certificate covered
TC_077_CSMS — Invalid charge point certificate covered
TC_078_CSMS — Invalid central system certificate covered
TC_079_CSMS — Get security log covered
TC_080_CSMS — Signed firmware update covered
TC_081_CSMS — Signed firmware, invalid signature partial
needs maintenance.fail_signature: true on the charger (the simulator checks no signature, so it reports InvalidSignature only when told to)
TC_083_CSMS — Upgrade security profile partial
needs security_profile 2, a client certificate signed through SignCertificate (the CSMS sends ChangeConfiguration SecurityProfile 3, then Reset Hard) and a CSMS that refuses the old profile afterwards (mini_csms: tls.client_cert: optional, refuse_profile_downgrade: true); the 1 -> 2 upgrade needs security_profile_urls (a wss:// url) and is not run against the Mini CSMS
TC_085_CSMS — Basic authentication partial
needs security_profile 1 or 2 and the charger's password configured at the CSMS; the simulator does not first try a connection without an Authorization header
TC_086_CSMS — TLS, server certificate partial
needs security_profile 2 or 3: a wss:// url and ca_file trusting the CSMS server certificate
TC_087_CSMS — TLS, client certificate partial
needs security_profile 3: client_cert_file / client_key_file the CSMS trusts
TC_088_CSMS — WebSocket subprotocol negotiation partial
needs offered_subprotocols: [ocpp0.1] in the charger config (the CSMS must refuse it); the listed-subprotocols round (ocpp0.1 then ocpp1.6) is the charger's normal connection, a separate run without offered_subprotocols (the scenario cannot change the charger config, so it has no positive control of its own); the refusal is told from a network failure by expect.state.connect_failure