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.

CaseTitleProfileStatus
TC_001_CSMSCold bootcorecovered
TC_003_CSMSCharging session, cable plugged in firstcorecovered
TC_004_1_CSMSCharging session, identification firstcorecovered
TC_004_2_CSMSIdentification first, connection timeoutcorecovered
TC_005_1_CSMSEV side disconnectedcorecovered
TC_007_CSMSStart with a cached id tagcachepartial
TC_061_CSMSClear authorization cachecachecovered
TC_010_CSMSRemote start, cable plugged in firstcorecovered
TC_011_1_CSMSRemote start before plugging incorecovered
TC_011_2_CSMSRemote start, connection timeoutcorecovered
TC_012_CSMSRemote stopcorecovered
TC_013_CSMSHard resetcorecovered
TC_014_CSMSSoft resetcorecovered
TC_017_1_CSMSUnlock connector, no sessioncorecovered
TC_017_2_CSMSUnlock connector, fixed cablecorecovered
TC_018_1_CSMSUnlock connector during a sessioncorecovered
TC_019_1_CSMSGet all configuration keyscorecovered
TC_019_2_CSMSGet selected configuration keyscorecovered
TC_021_CSMSChange a configuration keycorecovered
TC_023_1_CSMSAuthorize answered Invalidcorecovered
TC_023_2_CSMSAuthorize answered Expiredcorecovered
TC_023_3_CSMSAuthorize answered Blockedcorecovered
TC_024_CSMSConnector lock failurecorecovered
TC_026_CSMSRemote start rejected by the chargercorecovered
TC_028_CSMSRemote stop rejected by the chargercorecovered
TC_030_CSMSUnlock connector failscorecovered
TC_031_CSMSUnlock an unknown connectorcorecovered
TC_032_1_CSMSPower failure during a sessioncorecovered
TC_037_1_CSMSOffline start with a valid id tagcorecovered
TC_037_3_CSMSOffline start with an invalid id tagcorecovered
TC_039_CSMSOffline transactioncorecovered
TC_040_1_CSMSChange an unsupported configuration keycorecovered
TC_040_2_CSMSChange a configuration key to an invalid valuecorecovered
TC_042_1_CSMSLocal list version, list not supportedlocal_auth_listcovered
TC_042_2_CSMSLocal list version, empty listlocal_auth_listcovered
TC_043_1_CSMSSend local list, not supportedlocal_auth_listcovered
TC_043_3_CSMSSend local list, update failedlocal_auth_listcovered
TC_043_4_CSMSSend local list, full updatelocal_auth_listcovered
TC_043_5_CSMSSend local list, differential updatelocal_auth_listcovered
TC_044_1_CSMSFirmware update, download and installfirmwarecovered
TC_044_2_CSMSFirmware update, download failedfirmwarepartial
TC_044_3_CSMSFirmware update, installation failedfirmwarepartial
TC_045_1_CSMSGet diagnosticsfirmwarecovered
TC_045_2_CSMSGet diagnostics, upload failedfirmwarepartial
TC_046_CSMSReservation used by a transactionreservationcovered
TC_047_CSMSReservation expiresreservationcovered
TC_048_1_CSMSReserve a faulted connectorreservationcovered
TC_048_2_CSMSReserve an occupied connectorreservationcovered
TC_048_3_CSMSReserve an unavailable connectorreservationcovered
TC_048_4_CSMSReservation rejectedreservationcovered
TC_049_CSMSReserve the whole charge pointreservationcovered
TC_051_CSMSCancel a reservationreservationcovered
TC_052_CSMSCancel reservation rejectedreservationcovered
TC_053_CSMSReserved connector used via parent id tagreservationpartial
TC_054_CSMSTrigger messagesremote_triggercovered
TC_055_CSMSTrigger message rejectedremote_triggercovered
TC_056_CSMSSet a TxDefaultProfilesmart_chargingcovered
TC_057_CSMSSet a TxProfilesmart_chargingcovered
TC_066_CSMSGet composite schedulesmart_chargingcovered
TC_067_CSMSClear charging profilessmart_chargingcovered
TC_059_CSMSRemote start with a charging profilesmart_chargingcovered
TC_064_CSMSData transfer with an unknown vendordata_transfercovered
TC_073_CSMSUpdate basic auth passwordsecuritypartial
TC_074_CSMSUpdate charge point certificatesecuritypartial
TC_075_1_CSMSInstall manufacturer root certificatesecuritycovered
TC_075_2_CSMSInstall central system root certificatesecuritycovered
TC_076_CSMSDelete a certificatesecuritycovered
TC_077_CSMSInvalid charge point certificatesecuritycovered
TC_078_CSMSInvalid central system certificatesecuritycovered
TC_079_CSMSGet security logsecuritycovered
TC_080_CSMSSigned firmware updatesecuritycovered
TC_081_CSMSSigned firmware, invalid signaturesecuritypartial
TC_083_CSMSUpgrade security profilesecuritypartial
TC_085_CSMSBasic authenticationsecuritypartial
TC_086_CSMSTLS, server certificatesecuritypartial
TC_087_CSMSTLS, client certificatesecuritypartial
TC_088_CSMSWebSocket subprotocol negotiationsecuritypartial

TC_001_CSMS — Cold boot covered

CSMSStation CP1check: online=truecheck: online=true(≤1m)1disconnectdisconnect2WebSocket connectWebSocket connect3BootNotificationBootNotification≤30s4answer {status: Accepted}answer {status: Accepted}4StatusNotification {connectorId: 0}StatusNotification {connectorId: 0}≤30s5CALLRESULTCALLRESULT5StatusNotification {connectorId: 1, status: Available}StatusNotification {connectorId: 1,status: Available}≤30s6StatusNotification answerStatusNotification answernot checked6HeartbeatHeartbeat≤10m7CALLRESULTCALLRESULT7

TC_003_CSMS — Charging session, cable plugged in first covered

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1plug inplug in2StatusNotification {status: Preparing}StatusNotification {status:Preparing}≤30s3StatusNotification answerStatusNotification answernot checked3present TAG1present TAG14AuthorizeAuthorize≤30s5CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}5StartTransactionStartTransaction≤30s6CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}6StatusNotification {status: Charging}StatusNotification {status:Charging}≤30s7StatusNotification answerStatusNotification answernot checked7wait 1mwait 1m8unplugunplug9StopTransactionStopTransaction≤30s10CALLRESULTCALLRESULT10

TC_004_1_CSMS — Charging session, identification first covered

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1present TAG1present TAG12AuthorizeAuthorize≤30s3CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}3plug inplug in4StartTransactionStartTransaction≤30s5CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}5StatusNotification {status: Charging}StatusNotification {status:Charging}≤30s6StatusNotification answerStatusNotification answernot checked6unplugunplug7StopTransactionStopTransaction≤30s8CALLRESULTCALLRESULT8

TC_004_2_CSMS — Identification first, connection timeout covered

CSMSStation CP1EV / userset ConnectionTimeOut = 5set ConnectionTimeOut =51check: online=truecheck: online=true(≤1m)2present TAG1present TAG13AuthorizeAuthorize≤30s4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4StatusNotification {status: Preparing}StatusNotification {status:Preparing}≤30s5CALLRESULTCALLRESULT5StatusNotification {status: Available}StatusNotification {status:Available}≤2m6CALLRESULTCALLRESULT6none: StartTransaction (station → CSMS)none: StartTransaction (station → CSMS)(≤2s)7

TC_005_1_CSMS — EV side disconnected covered

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1local start TAG1local start TAG12StartTransactionStartTransaction≤30s3CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}3unplugunplug4StopTransaction {reason: EVDisconnected}StopTransaction {reason:EVDisconnected}≤30s5CALLRESULTCALLRESULT5StatusNotification {status: Available}StatusNotification {status:Available}≤30s6StatusNotification answerStatusNotification answernot checked6

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

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1local start TAG1local start TAG12StartTransactionStartTransaction≤30s3CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}3unplugunplug4StopTransactionStopTransaction≤30s5CALLRESULTCALLRESULT5local start TAG1local start TAG16StartTransactionStartTransaction≤30s7CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}7unplugunplug8StopTransactionStopTransaction≤30s9CALLRESULTCALLRESULT9

TC_061_CSMS — Clear authorization cache covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ClearCache to CP1 now (clear the cache)Operator: ClearCache2ClearCacheClearCache≤10m2ClearCache answerClearCache answernot checked2

TC_010_CSMS — Remote start, cable plugged in first covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1plug inplug in2trigger: From the CSMS: send RemoteStartTransaction to CP1 now (idTag TAG1, connector 1)Operator: RemoteStartTransaction3RemoteStartTransactionRemoteStartTransaction≤10m3RemoteStartTransaction answerRemoteStartTransaction answernot checked3StartTransactionStartTransaction≤30s4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4StatusNotification {status: Charging}StatusNotification {status:Charging}≤30s5StatusNotification answerStatusNotification answernot checked5unplugunplug6StopTransactionStopTransaction≤30s7CALLRESULTCALLRESULT7

TC_011_1_CSMS — Remote start before plugging in covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send RemoteStartTransaction to CP1 now (idTag TAG1, connector 1)Operator: RemoteStartTransaction2RemoteStartTransactionRemoteStartTransaction≤10m2RemoteStartTransaction answerRemoteStartTransaction answernot checked2after 5safter 5s3plug inplug in3StartTransactionStartTransaction≤30s4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4StatusNotification {status: Charging}StatusNotification {status:Charging}≤30s5StatusNotification answerStatusNotification answernot checked5unplugunplug6StopTransactionStopTransaction≤30s7CALLRESULTCALLRESULT7

TC_011_2_CSMS — Remote start, connection timeout covered

OperatorCSMSStation CP1set ConnectionTimeOut = 5set ConnectionTimeOut =51set AuthorizeRemoteTxRequests = truesetAuthorizeRemoteTxRequests = true2check: online=truecheck: online=true(≤1m)3trigger: From the CSMS: send RemoteStartTransaction to CP1 now (idTag TAG1, connector 1); leave the cable unpluggedOperator: RemoteStartTransaction4RemoteStartTransactionRemoteStartTransaction≤10m4RemoteStartTransaction answerRemoteStartTransaction answernot checked4AuthorizeAuthorize≤30s5CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}5StatusNotification {status: Preparing}StatusNotification {status:Preparing}≤30s6CALLRESULTCALLRESULT6StatusNotification {status: Available}StatusNotification {status:Available}≤2m7CALLRESULTCALLRESULT7none: StartTransaction (station → CSMS)none: StartTransaction (station → CSMS)(≤2s)8

TC_012_CSMS — Remote stop covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1local start TAG1local start TAG12StartTransactionStartTransaction≤30s3CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}3trigger: From the CSMS: send RemoteStopTransaction to CP1 now (the running transaction)Operator: RemoteStopTransaction4RemoteStopTransactionRemoteStopTransaction≤10m4RemoteStopTransaction answerRemoteStopTransaction answernot checked4StopTransactionStopTransaction≤30s5CALLRESULTCALLRESULT5unplugunplug6StatusNotification {status: Available}StatusNotification {status:Available}≤30s7StatusNotification answerStatusNotification answernot checked7

TC_013_CSMS — Hard reset covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send Reset to CP1 now (type Hard)Operator: Reset2Reset {type: Hard}Reset {type: Hard}≤10m2Reset answerReset answernot checked2BootNotificationBootNotification≤2m3answer {status: Accepted}answer {status: Accepted}3StatusNotificationStatusNotification≤30s4CALLRESULTCALLRESULT4

TC_014_CSMS — Soft reset covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send Reset to CP1 now (type Soft)Operator: Reset2Reset {type: Soft}Reset {type: Soft}≤10m2Reset answerReset answernot checked2BootNotificationBootNotification≤2m3answer {status: Accepted}answer {status: Accepted}3StatusNotificationStatusNotification≤30s4CALLRESULTCALLRESULT4

TC_017_1_CSMS — Unlock connector, no session covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send UnlockConnector to CP1 now (connector 1)Operator: UnlockConnector2UnlockConnectorUnlockConnector≤10m2UnlockConnector answerUnlockConnector answernot checked2

TC_017_2_CSMS — Unlock connector, fixed cable covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer UnlockConnectorimpair: answerUnlockConnector2trigger: From the CSMS: send UnlockConnector to CP1 now (connector 1)Operator: UnlockConnector3UnlockConnectorUnlockConnector≤10m3UnlockConnector CALLRESULTUnlockConnector CALLRESULT≤30s4impair: clearimpair: clear5

TC_018_1_CSMS — Unlock connector during a session covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1local start TAG1local start TAG12StartTransactionStartTransaction≤30s3CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}3trigger: From the CSMS: send UnlockConnector to CP1 now (connector 1)Operator: UnlockConnector4UnlockConnectorUnlockConnector≤10m4UnlockConnector answerUnlockConnector answernot checked4StopTransaction {reason: UnlockCommand}StopTransaction {reason:UnlockCommand}≤30s5CALLRESULTCALLRESULT5unplugunplug6StatusNotification {status: Available}StatusNotification {status:Available}≤30s7StatusNotification answerStatusNotification answernot checked7

TC_019_1_CSMS — Get all configuration keys covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send GetConfiguration to CP1 now (no key list)Operator: GetConfiguration2GetConfigurationGetConfiguration≤10m2GetConfiguration answerGetConfiguration answernot checked2

TC_019_2_CSMS — Get selected configuration keys covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send GetConfiguration to CP1 now (with a key list)Operator: GetConfiguration2GetConfiguration {key: exists true}GetConfiguration {key: exists true}≤10m2GetConfiguration answerGetConfiguration answernot checked2

TC_021_CSMS — Change a configuration key covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ChangeConfiguration to CP1 now (any writable key)Operator: ChangeConfiguration2ChangeConfigurationChangeConfiguration≤10m2ChangeConfiguration answerChangeConfiguration answernot checked2

TC_023_1_CSMS — Authorize answered Invalid covered

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1present INVALID-TAGpresent INVALID-TAG2AuthorizeAuthorize≤30s3CALLRESULT {status: Invalid}CALLRESULT {status: Invalid}3

TC_023_2_CSMS — Authorize answered Expired covered

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1present EXPIRED-TAGpresent EXPIRED-TAG2AuthorizeAuthorize≤30s3CALLRESULT {status: Expired}CALLRESULT {status: Expired}3

TC_023_3_CSMS — Authorize answered Blocked covered

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1present BLOCKED-TAGpresent BLOCKED-TAG2AuthorizeAuthorize≤30s3CALLRESULT {status: Blocked}CALLRESULT {status: Blocked}3

TC_024_CSMS — Connector lock failure covered

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1plug inplug in2fault ConnectorLockFailurefaultConnectorLockFailure3StatusNotification {status: Faulted, errorCode: ConnectorLockFailure}StatusNotification {status:Faulted, errorCode:ConnectorLockFailure}≤30s4CALLRESULTCALLRESULT4clear faultclear fault5unplugunplug6

TC_026_CSMS — Remote start rejected by the charger covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer RemoteStartTransactionimpair: answerRemoteStartTransaction2trigger: From the CSMS: send RemoteStartTransaction to CP1 now (idTag TAG1)Operator: RemoteStartTransaction3RemoteStartTransactionRemoteStartTransaction≤10m3RemoteStartTransaction CALLRESULTRemoteStartTransaction CALLRESULT≤30s4impair: clearimpair: clear5none: StartTransaction (station → CSMS)none: StartTransaction (station → CSMS)(≤5s)6

TC_028_CSMS — Remote stop rejected by the charger covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1local start TAG1local start TAG12StartTransactionStartTransaction≤30s3CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}3impair: answer RemoteStopTransactionimpair: answerRemoteStopTransaction4trigger: From the CSMS: send RemoteStopTransaction to CP1 now (any transactionId)Operator: RemoteStopTransaction5RemoteStopTransactionRemoteStopTransaction≤10m5RemoteStopTransaction CALLRESULTRemoteStopTransaction CALLRESULT≤30s6impair: clearimpair: clear7none: StopTransaction (station → CSMS)none: StopTransaction (station → CSMS) (≤5s)8unplugunplug9StopTransactionStopTransaction≤30s10CALLRESULTCALLRESULT10

TC_030_CSMS — Unlock connector fails covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer UnlockConnectorimpair: answerUnlockConnector2trigger: From the CSMS: send UnlockConnector to CP1 now (connector 1)Operator: UnlockConnector3UnlockConnectorUnlockConnector≤10m3UnlockConnector CALLRESULTUnlockConnector CALLRESULT≤30s4impair: clearimpair: clear5

TC_031_CSMS — Unlock an unknown connector covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send UnlockConnector to CP1 now (a connectorId the charger does not have)Operator: UnlockConnector2UnlockConnectorUnlockConnector≤10m2UnlockConnector answerUnlockConnector answernot checked2

TC_032_1_CSMS — Power failure during a session covered

CSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1plug inplug in2present TAG1present TAG13StartTransactionStartTransaction≤30s4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4StatusNotification {status: Charging}StatusNotification {status:Charging}≤30s5StatusNotification answerStatusNotification answernot checked5power loss, back after 1spower loss, back after1s6BootNotificationBootNotification≤2m7CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}7StatusNotification {connectorId: 1, status: Finishing}StatusNotification {connectorId: 1,status: Finishing}≤30s8CALLRESULTCALLRESULT8StopTransaction {reason: PowerLoss}StopTransaction {reason: PowerLoss}≤30s9CALLRESULTCALLRESULT9

TC_037_1_CSMS — Offline start with a valid id tag covered

CSMSStation CP1EV / userset AllowOfflineTxForUnknownId = truesetAllowOfflineTxForUnknownId = true1check: online=truecheck: online=true(≤1m)2disconnectdisconnect3plug inplug in4present TAG1present TAG15wait 1mwait 1m6WebSocket connectWebSocket connect7StartTransactionStartTransaction≤2m8CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}8unplugunplug9StopTransactionStopTransaction≤30s10CALLRESULTCALLRESULT10

TC_037_3_CSMS — Offline start with an invalid id tag covered

CSMSStation CP1EV / userset AllowOfflineTxForUnknownId = truesetAllowOfflineTxForUnknownId = true1set StopTransactionOnInvalidId = truesetStopTransactionOnInvalidId = true2check: online=truecheck: online=true(≤1m)3disconnectdisconnect4plug inplug in5present INVALID-TAGpresent INVALID-TAG6wait 5swait 5s7WebSocket connectWebSocket connect8StartTransactionStartTransaction≤2m9CALLRESULT {status: Invalid}CALLRESULT {status: Invalid}9StopTransaction {reason: DeAuthorized}StopTransaction {reason:DeAuthorized}≤30s10CALLRESULTCALLRESULT10StatusNotification {status: Finishing}StatusNotification {status:Finishing}≤30s11CALLRESULTCALLRESULT11

TC_039_CSMS — Offline transaction covered

CSMSStation CP1EV / userset AllowOfflineTxForUnknownId = truesetAllowOfflineTxForUnknownId = true1check: online=truecheck: online=true(≤1m)2disconnectdisconnect3plug inplug in4present TAG1present TAG15wait 10mwait 10m6unplugunplug7WebSocket connectWebSocket connect8StartTransactionStartTransaction≤2m9CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}9StopTransactionStopTransaction≤30s10CALLRESULTCALLRESULT10

TC_040_1_CSMS — Change an unsupported configuration key covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer ChangeConfigurationimpair: answerChangeConfiguration2trigger: From the CSMS: send ChangeConfiguration to CP1 now (any key)Operator: ChangeConfiguration3ChangeConfigurationChangeConfiguration≤10m3ChangeConfiguration CALLRESULTChangeConfiguration CALLRESULT≤30s4impair: clearimpair: clear5

TC_040_2_CSMS — Change a configuration key to an invalid value covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer ChangeConfigurationimpair: answerChangeConfiguration2trigger: From the CSMS: send ChangeConfiguration to CP1 now (any key)Operator: ChangeConfiguration3ChangeConfigurationChangeConfiguration≤10m3ChangeConfiguration CALLRESULTChangeConfiguration CALLRESULT≤30s4impair: clearimpair: clear5

TC_042_1_CSMS — Local list version, list not supported covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer GetLocalListVersionimpair: answerGetLocalListVersion2trigger: From the CSMS: send GetLocalListVersion to CP1 now (no parameters)Operator: GetLocalListVersion3GetLocalListVersionGetLocalListVersion≤10m3GetLocalListVersion CALLRESULTGetLocalListVersion CALLRESULT≤30s4impair: clearimpair: clear5

TC_042_2_CSMS — Local list version, empty list covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send GetLocalListVersion to CP1 now (no parameters)Operator: GetLocalListVersion2GetLocalListVersionGetLocalListVersion≤10m2GetLocalListVersion answerGetLocalListVersion answernot checked2

TC_043_1_CSMS — Send local list, not supported covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer SendLocalListimpair: answerSendLocalList2trigger: From the CSMS: send SendLocalList to CP1 now (any list)Operator: SendLocalList3SendLocalListSendLocalList≤10m3SendLocalList CALLRESULTSendLocalList CALLRESULT≤30s4impair: clearimpair: clear5

TC_043_3_CSMS — Send local list, update failed covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer SendLocalListimpair: answerSendLocalList2trigger: From the CSMS: send SendLocalList to CP1 now (any list)Operator: SendLocalList3SendLocalListSendLocalList≤10m3SendLocalList CALLRESULTSendLocalList CALLRESULT≤30s4impair: clearimpair: clear5

TC_043_4_CSMS — Send local list, full update covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send SendLocalList to CP1 now (updateType Full)Operator: SendLocalList2SendLocalList {updateType: Full}SendLocalList {updateType: Full}≤10m2SendLocalList answerSendLocalList answernot checked2

TC_043_5_CSMS — Send local list, differential update covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send SendLocalList to CP1 now (a Full list first)Operator: SendLocalList2SendLocalList {updateType: Full}SendLocalList {updateType: Full}≤10m2SendLocalList answerSendLocalList answernot checked2trigger: From the CSMS: send SendLocalList to CP1 now (Differential, one new tag)Operator: SendLocalList3SendLocalList {updateType: Differential}SendLocalList {updateType:Differential}≤10m3SendLocalList answerSendLocalList answernot checked3

TC_044_1_CSMS — Firmware update, download and install covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send UpdateFirmware to CP1 now (any location, retrieveDate now)Operator: UpdateFirmware2UpdateFirmwareUpdateFirmware≤10m2UpdateFirmware answerUpdateFirmware answernot checked2FirmwareStatusNotification {status: Downloading}FirmwareStatusNotification {status:Downloading}≤10m3FirmwareStatusNotification answerFirmwareStatusNotification answernot checked3FirmwareStatusNotification {status: Downloaded}FirmwareStatusNotification {status:Downloaded}≤10m4FirmwareStatusNotification answerFirmwareStatusNotification answernot checked4FirmwareStatusNotification {status: Installing}FirmwareStatusNotification {status:Installing}≤10m5FirmwareStatusNotification answerFirmwareStatusNotification answernot checked5BootNotificationBootNotification≤10m6answer {status: Accepted}answer {status: Accepted}6FirmwareStatusNotification {status: Installed}FirmwareStatusNotification {status:Installed}≤10m7FirmwareStatusNotification answerFirmwareStatusNotification answernot checked7

TC_044_2_CSMS — Firmware update, download failed partial

needs maintenance.fail_download: true in the charger config

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send UpdateFirmware to CP1 now (any location, retrieveDate now)Operator: UpdateFirmware2UpdateFirmwareUpdateFirmware≤10m2UpdateFirmware answerUpdateFirmware answernot checked2FirmwareStatusNotification {status: Downloading}FirmwareStatusNotification {status:Downloading}≤10m3FirmwareStatusNotification answerFirmwareStatusNotification answernot checked3FirmwareStatusNotification {status: DownloadFailed}FirmwareStatusNotification {status:DownloadFailed}≤10m4FirmwareStatusNotification answerFirmwareStatusNotification answernot checked4

TC_044_3_CSMS — Firmware update, installation failed partial

needs maintenance.fail_install: true in the charger config

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send UpdateFirmware to CP1 now (any location, retrieveDate now)Operator: UpdateFirmware2UpdateFirmwareUpdateFirmware≤10m2UpdateFirmware answerUpdateFirmware answernot checked2FirmwareStatusNotification {status: Installing}FirmwareStatusNotification {status:Installing}≤10m3FirmwareStatusNotification answerFirmwareStatusNotification answernot checked3FirmwareStatusNotification {status: InstallationFailed}FirmwareStatusNotification {status:InstallationFailed}≤10m4FirmwareStatusNotification answerFirmwareStatusNotification answernot checked4

TC_045_1_CSMS — Get diagnostics covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send GetDiagnostics to CP1 now (any location)Operator: GetDiagnostics2GetDiagnosticsGetDiagnostics≤10m2GetDiagnostics answerGetDiagnostics answernot checked2DiagnosticsStatusNotification {status: Uploading}DiagnosticsStatusNotification{status: Uploading}≤10m3DiagnosticsStatusNotification answerDiagnosticsStatusNotificationanswernot checked3DiagnosticsStatusNotification {status: Uploaded}DiagnosticsStatusNotification{status: Uploaded}≤10m4DiagnosticsStatusNotification answerDiagnosticsStatusNotificationanswernot checked4

TC_045_2_CSMS — Get diagnostics, upload failed partial

needs maintenance.fail_upload: true in the charger config

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send GetDiagnostics to CP1 now (any location)Operator: GetDiagnostics2GetDiagnosticsGetDiagnostics≤10m2GetDiagnostics answerGetDiagnostics answernot checked2DiagnosticsStatusNotification {status: UploadFailed}DiagnosticsStatusNotification{status: UploadFailed}≤10m3DiagnosticsStatusNotification answerDiagnosticsStatusNotificationanswernot checked3

TC_046_CSMS — Reservation used by a transaction covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ReserveNow to CP1 now (connector 1, idTag TAG1, expiry in the future)Operator: ReserveNow2ReserveNowReserveNow≤10m2ReserveNow answerReserveNow answernot checked2StatusNotification {status: Reserved}StatusNotification {status:Reserved}≤30s3StatusNotification answerStatusNotification answernot checked3plug inplug in4present TAG1present TAG15StartTransactionStartTransaction≤30s6CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}6unplugunplug7StopTransactionStopTransaction≤30s8CALLRESULTCALLRESULT8

TC_047_CSMS — Reservation expires covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ReserveNow to CP1 now (connector 1, expiry a short time ahead)Operator: ReserveNow2ReserveNowReserveNow≤10m2ReserveNow answerReserveNow answernot checked2StatusNotification {status: Reserved}StatusNotification {status:Reserved}≤30s3StatusNotification answerStatusNotification answernot checked3StatusNotification {status: Available}StatusNotification {status:Available}≤15m4StatusNotification answerStatusNotification answernot checked4

TC_048_1_CSMS — Reserve a faulted connector covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1faultfault2trigger: From the CSMS: send ReserveNow to CP1 now (connector 1, idTag TAG1, expiry in the future)Operator: ReserveNow3ReserveNowReserveNow≤10m3ReserveNow answerReserveNow answernot checked3clear faultclear fault4

TC_048_2_CSMS — Reserve an occupied connector covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1plug inplug in2trigger: From the CSMS: send ReserveNow to CP1 now (connector 1, idTag TAG1, expiry in the future)Operator: ReserveNow3ReserveNowReserveNow≤10m3ReserveNow answerReserveNow answernot checked3unplugunplug4

TC_048_3_CSMS — Reserve an unavailable connector covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ChangeAvailability to CP1 now (connector 1, type Inoperative)Operator: ChangeAvailability2ChangeAvailability {type: Inoperative}ChangeAvailability {type:Inoperative}≤10m2ChangeAvailability answerChangeAvailability answernot checked2StatusNotification {status: Unavailable}StatusNotification {status:Unavailable}≤30s3StatusNotification answerStatusNotification answernot checked3trigger: From the CSMS: send ReserveNow to CP1 now (connector 1, idTag TAG1, expiry in the future)Operator: ReserveNow4ReserveNowReserveNow≤10m4ReserveNow answerReserveNow answernot checked4trigger: From the CSMS: send ChangeAvailability to CP1 now (connector 1, type Operative (restore))Operator: ChangeAvailability5ChangeAvailability {type: Operative}ChangeAvailability {type:Operative}≤10m5ChangeAvailability answerChangeAvailability answernot checked5StatusNotification {status: Available}StatusNotification {status:Available}≤30s6StatusNotification answerStatusNotification answernot checked6

TC_048_4_CSMS — Reservation rejected covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer ReserveNowimpair: answerReserveNow2trigger: From the CSMS: send ReserveNow to CP1 now (connector 1, idTag TAG1, expiry in the future)Operator: ReserveNow3ReserveNowReserveNow≤10m3ReserveNow CALLRESULTReserveNow CALLRESULT≤30s4impair: clearimpair: clear5

TC_049_CSMS — Reserve the whole charge point covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ReserveNow to CP1 now (connectorId 0, idTag TAG1)Operator: ReserveNow2ReserveNow {connectorId: 0}ReserveNow {connectorId: 0}≤10m2ReserveNow answerReserveNow answernot checked2plug inplug in3present TAG1present TAG14StartTransactionStartTransaction≤30s5CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}5unplugunplug6StopTransactionStopTransaction≤30s7CALLRESULTCALLRESULT7

TC_051_CSMS — Cancel a reservation covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ReserveNow to CP1 now (connector 1, idTag TAG1, expiry in the future)Operator: ReserveNow2ReserveNowReserveNow≤10m2ReserveNow answerReserveNow answernot checked2StatusNotification {status: Reserved}StatusNotification {status:Reserved}≤30s3StatusNotification answerStatusNotification answernot checked3trigger: From the CSMS: send CancelReservation to CP1 now (the reservation just made)Operator: CancelReservation4CancelReservationCancelReservation≤10m4CancelReservation answerCancelReservation answernot checked4StatusNotification {status: Available}StatusNotification {status:Available}≤30s5StatusNotification answerStatusNotification answernot checked5

TC_052_CSMS — Cancel reservation rejected covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer CancelReservationimpair: answerCancelReservation2trigger: From the CSMS: send CancelReservation to CP1 now (any reservationId)Operator: CancelReservation3CancelReservationCancelReservation≤10m3CancelReservation CALLRESULTCancelReservation CALLRESULT≤30s4impair: clearimpair: clear5

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

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ReserveNow to CP1 now (connector 1, idTag TAG1, expiry in the future)Operator: ReserveNow2ReserveNowReserveNow≤10m2ReserveNow answerReserveNow answernot checked2StatusNotification {status: Reserved}StatusNotification {status:Reserved}≤30s3StatusNotification answerStatusNotification answernot checked3plug inplug in4present CHILD-TAGpresent CHILD-TAG5StartTransactionStartTransaction≤30s6CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}6unplugunplug7StopTransactionStopTransaction≤30s8CALLRESULTCALLRESULT8

TC_054_CSMS — Trigger messages covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send TriggerMessage to CP1 now (requestedMessage MeterValues)Operator: TriggerMessage2TriggerMessage {requestedMessage: MeterValues}TriggerMessage {requestedMessage:MeterValues}≤10m2TriggerMessage answerTriggerMessage answernot checked2MeterValuesMeterValues≤30s3MeterValues answerMeterValues answernot checked3trigger: From the CSMS: send TriggerMessage to CP1 now (requestedMessage Heartbeat)Operator: TriggerMessage4TriggerMessage {requestedMessage: Heartbeat}TriggerMessage {requestedMessage:Heartbeat}≤10m4TriggerMessage answerTriggerMessage answernot checked4HeartbeatHeartbeat≤30s5Heartbeat answerHeartbeat answernot checked5trigger: From the CSMS: send TriggerMessage to CP1 now (requestedMessage StatusNotification)Operator: TriggerMessage6TriggerMessage {requestedMessage: StatusNotification}TriggerMessage {requestedMessage:StatusNotification}≤10m6TriggerMessage answerTriggerMessage answernot checked6StatusNotificationStatusNotification≤30s7StatusNotification answerStatusNotification answernot checked7trigger: From the CSMS: send TriggerMessage to CP1 now (requestedMessage DiagnosticsStatusNotification)Operator: TriggerMessage8TriggerMessage {requestedMessage: DiagnosticsStatusNotificati…}TriggerMessage {requestedMessage:DiagnosticsStatusNotificati…}≤10m8TriggerMessage answerTriggerMessage answernot checked8DiagnosticsStatusNotificationDiagnosticsStatusNotification≤30s9DiagnosticsStatusNotification answerDiagnosticsStatusNotificationanswernot checked9trigger: From the CSMS: send TriggerMessage to CP1 now (requestedMessage FirmwareStatusNotification)Operator: TriggerMessage10TriggerMessage {requestedMessage: FirmwareStatusNotification}TriggerMessage {requestedMessage:FirmwareStatusNotification}≤10m10TriggerMessage answerTriggerMessage answernot checked10FirmwareStatusNotificationFirmwareStatusNotification≤30s11FirmwareStatusNotification answerFirmwareStatusNotification answernot checked11

TC_055_CSMS — Trigger message rejected covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer TriggerMessageimpair: answerTriggerMessage2trigger: From the CSMS: send TriggerMessage to CP1 now (any requestedMessage)Operator: TriggerMessage3TriggerMessageTriggerMessage≤10m3TriggerMessage CALLRESULTTriggerMessage CALLRESULT≤30s4impair: clearimpair: clear5

TC_056_CSMS — Set a TxDefaultProfile covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send SetChargingProfile to CP1 now (a TxDefaultProfile)Operator: SetChargingProfile2SetChargingProfile {chargingProfilePurpose: TxDefaultProfile}SetChargingProfile{chargingProfilePurpose:TxDefaultProfile}≤10m2SetChargingProfile answerSetChargingProfile answernot checked2

TC_057_CSMS — Set a TxProfile covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1local start TAG1local start TAG12StartTransactionStartTransaction≤30s3CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}3trigger: From the CSMS: send SetChargingProfile to CP1 now (a TxProfile for the running transaction)Operator: SetChargingProfile4SetChargingProfile {chargingProfilePurpose: TxProfile}SetChargingProfile{chargingProfilePurpose: TxProfile}≤10m4SetChargingProfile answerSetChargingProfile answernot checked4unplugunplug5StopTransactionStopTransaction≤30s6CALLRESULTCALLRESULT6

TC_066_CSMS — Get composite schedule covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send SetChargingProfile to CP1 now (a profile for connector 1)Operator: SetChargingProfile2SetChargingProfileSetChargingProfile≤10m2SetChargingProfile answerSetChargingProfile answernot checked2trigger: From the CSMS: send GetCompositeSchedule to CP1 now (connector 1)Operator: GetCompositeSchedule3GetCompositeScheduleGetCompositeSchedule≤10m3GetCompositeSchedule answerGetCompositeSchedule answernot checked3

TC_067_CSMS — Clear charging profiles covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1local start TAG1local start TAG12StartTransactionStartTransaction≤30s3CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}3trigger: From the CSMS: send SetChargingProfile to CP1 now (a TxProfile)Operator: SetChargingProfile4SetChargingProfile {chargingProfilePurpose: TxProfile}SetChargingProfile{chargingProfilePurpose: TxProfile}≤10m4SetChargingProfile answerSetChargingProfile answernot checked4trigger: From the CSMS: send ClearChargingProfile to CP1 now (by id)Operator: ClearChargingProfile5ClearChargingProfileClearChargingProfile≤10m5ClearChargingProfile answerClearChargingProfile answernot checked5trigger: From the CSMS: send ClearChargingProfile to CP1 now (without parameters)Operator: ClearChargingProfile6ClearChargingProfileClearChargingProfile≤10m6ClearChargingProfile answerClearChargingProfile answernot checked6unplugunplug7StopTransactionStopTransaction≤30s8CALLRESULTCALLRESULT8

TC_059_CSMS — Remote start with a charging profile covered

OperatorCSMSStation CP1EV / usercheck: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send RemoteStartTransaction to CP1 now (idTag TAG1 with a TxProfile)Operator: RemoteStartTransaction2RemoteStartTransaction {chargingProfile: exists true}RemoteStartTransaction{chargingProfile: exists true}≤10m2RemoteStartTransaction answerRemoteStartTransaction answernot checked2after 5safter 5s3plug inplug in3StartTransactionStartTransaction≤30s4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4unplugunplug5StopTransactionStopTransaction≤30s6CALLRESULTCALLRESULT6

TC_064_CSMS — Data transfer with an unknown vendor covered

CSMSStation CP1check: online=truecheck: online=true(≤1m)1DataTransfer {vendorId: org.example.ocppsim-precheck}DataTransfer {vendorId:org.example.ocppsim-precheck}2DataTransfer answerDataTransfer answernot checked2DataTransferDataTransfer≤30s3CALLRESULTCALLRESULT3

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

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ChangeConfiguration to CP1 now (key AuthorizationKey, a new password)Operator: ChangeConfiguration2ChangeConfiguration {key: AuthorizationKey}ChangeConfiguration {key:AuthorizationKey}≤10m2ChangeConfiguration CALLRESULT {status: Accepted}ChangeConfiguration CALLRESULT{status: Accepted}≤30s3BootNotificationBootNotification≤2m4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4StatusNotificationStatusNotification≤30s5CALLRESULTCALLRESULT5

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

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ExtendedTriggerMessage to CP1 now (requestedMessage SignChargePointCertificate)Operator: ExtendedTriggerMessage2ExtendedTriggerMessage {requestedMessage: SignChargePointCertificate}ExtendedTriggerMessage{requestedMessage:SignChargePointCertificate}≤10m2ExtendedTriggerMessage CALLRESULT {status: Accepted}ExtendedTriggerMessage CALLRESULT{status: Accepted}≤30s3SignCertificateSignCertificate≤30s4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4CertificateSignedCertificateSigned≤30s5CertificateSigned CALLRESULT {status: Accepted}CertificateSigned CALLRESULT{status: Accepted}≤30s6BootNotificationBootNotification≤2m7CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}7StatusNotificationStatusNotification≤30s8CALLRESULTCALLRESULT8

TC_075_1_CSMS — Install manufacturer root certificate covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send InstallCertificate to CP1 now (certificateType ManufacturerRootCertificate)Operator: InstallCertificate2InstallCertificate {certificateType: ManufacturerRootCertificate}InstallCertificate{certificateType:ManufacturerRootCertificate}≤10m2InstallCertificate CALLRESULT {status: Accepted}InstallCertificate CALLRESULT{status: Accepted}≤30s3trigger: From the CSMS: send GetInstalledCertificateIds to CP1 now (certificateType ManufacturerRootCertificate)Operator:GetInstalledCertificateIds4GetInstalledCertificateIds {certificateType: ManufacturerRootCertificate}GetInstalledCertificateIds{certificateType:ManufacturerRootCertificate}≤10m4GetInstalledCertificateIds CALLRESULT {status: Accepted}GetInstalledCertificateIdsCALLRESULT {status: Accepted}≤30s5

TC_075_2_CSMS — Install central system root certificate covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send InstallCertificate to CP1 now (certificateType CentralSystemRootCertificate)Operator: InstallCertificate2InstallCertificate {certificateType: CentralSystemRootCertificate}InstallCertificate{certificateType:CentralSystemRootCertificate}≤10m2InstallCertificate CALLRESULT {status: Accepted}InstallCertificate CALLRESULT{status: Accepted}≤30s3trigger: From the CSMS: send GetInstalledCertificateIds to CP1 now (certificateType CentralSystemRootCertificate)Operator:GetInstalledCertificateIds4GetInstalledCertificateIds {certificateType: CentralSystemRootCertificate}GetInstalledCertificateIds{certificateType:CentralSystemRootCertificate}≤10m4GetInstalledCertificateIds CALLRESULT {status: Accepted}GetInstalledCertificateIdsCALLRESULT {status: Accepted}≤30s5

TC_076_CSMS — Delete a certificate covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1set OCPPSim.CertificateHashAlgorithm = SHA256setOCPPSim.CertificateHashAlgorithm = SHA2562trigger: From the CSMS: send InstallCertificate to CP1 now (certificateType CentralSystemRootCertificate)Operator: InstallCertificate3InstallCertificate {certificateType: CentralSystemRootCertificate}InstallCertificate{certificateType:CentralSystemRootCertificate}≤10m3InstallCertificate CALLRESULT {status: Accepted}InstallCertificate CALLRESULT{status: Accepted}≤30s4trigger: From the CSMS: send GetInstalledCertificateIds to CP1 now (the station reports SHA256 hashes)Operator:GetInstalledCertificateIds5GetInstalledCertificateIds {certificateType: CentralSystemRootCertificate}GetInstalledCertificateIds{certificateType:CentralSystemRootCertificate}≤10m5GetInstalledCertificateIds CALLRESULT {status: Accepted, hashAlgorithm: SHA256}GetInstalledCertificateIdsCALLRESULT {status: Accepted,hashAlgorithm: SHA256}≤30s6trigger: From the CSMS: send DeleteCertificate to CP1 now (the SHA256 certificateHashData just reported)Operator: DeleteCertificate7DeleteCertificate {hashAlgorithm: SHA256}DeleteCertificate {hashAlgorithm:SHA256}≤10m7DeleteCertificate CALLRESULT {status: Accepted}DeleteCertificate CALLRESULT{status: Accepted}≤30s8set OCPPSim.CertificateHashAlgorithm = SHA384setOCPPSim.CertificateHashAlgorithm = SHA3849trigger: From the CSMS: send InstallCertificate to CP1 now (certificateType CentralSystemRootCertificate)Operator: InstallCertificate10InstallCertificate {certificateType: CentralSystemRootCertificate}InstallCertificate{certificateType:CentralSystemRootCertificate}≤10m10InstallCertificate CALLRESULT {status: Accepted}InstallCertificate CALLRESULT{status: Accepted}≤30s11trigger: From the CSMS: send GetInstalledCertificateIds to CP1 now (the station reports SHA384 hashes)Operator:GetInstalledCertificateIds12GetInstalledCertificateIds {certificateType: CentralSystemRootCertificate}GetInstalledCertificateIds{certificateType:CentralSystemRootCertificate}≤10m12GetInstalledCertificateIds CALLRESULT {status: Accepted, hashAlgorithm: SHA384}GetInstalledCertificateIdsCALLRESULT {status: Accepted,hashAlgorithm: SHA384}≤30s13trigger: From the CSMS: send DeleteCertificate to CP1 now (the SHA384 certificateHashData just reported)Operator: DeleteCertificate14DeleteCertificate {hashAlgorithm: SHA384}DeleteCertificate {hashAlgorithm:SHA384}≤10m14DeleteCertificate CALLRESULT {status: Accepted}DeleteCertificate CALLRESULT{status: Accepted}≤30s15set OCPPSim.CertificateHashAlgorithm = SHA512setOCPPSim.CertificateHashAlgorithm = SHA51216trigger: From the CSMS: send InstallCertificate to CP1 now (certificateType CentralSystemRootCertificate)Operator: InstallCertificate17InstallCertificate {certificateType: CentralSystemRootCertificate}InstallCertificate{certificateType:CentralSystemRootCertificate}≤10m17InstallCertificate CALLRESULT {status: Accepted}InstallCertificate CALLRESULT{status: Accepted}≤30s18trigger: From the CSMS: send GetInstalledCertificateIds to CP1 now (the station reports SHA512 hashes)Operator:GetInstalledCertificateIds19GetInstalledCertificateIds {certificateType: CentralSystemRootCertificate}GetInstalledCertificateIds{certificateType:CentralSystemRootCertificate}≤10m19GetInstalledCertificateIds CALLRESULT {status: Accepted, hashAlgorithm: SHA512}GetInstalledCertificateIdsCALLRESULT {status: Accepted,hashAlgorithm: SHA512}≤30s20trigger: From the CSMS: send DeleteCertificate to CP1 now (the SHA512 certificateHashData just reported)Operator: DeleteCertificate21DeleteCertificate {hashAlgorithm: SHA512}DeleteCertificate {hashAlgorithm:SHA512}≤10m21DeleteCertificate CALLRESULT {status: Accepted}DeleteCertificate CALLRESULT{status: Accepted}≤30s22

TC_077_CSMS — Invalid charge point certificate covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer CertificateSignedimpair: answerCertificateSigned2trigger: From the CSMS: send ExtendedTriggerMessage to CP1 now (requestedMessage SignChargePointCertificate)Operator: ExtendedTriggerMessage3ExtendedTriggerMessage {requestedMessage: SignChargePointCertificate}ExtendedTriggerMessage{requestedMessage:SignChargePointCertificate}≤10m3ExtendedTriggerMessage CALLRESULT {status: Accepted}ExtendedTriggerMessage CALLRESULT{status: Accepted}≤30s4SignCertificateSignCertificate≤30s5CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}5CertificateSigned {certificateChain: re \S}CertificateSigned{certificateChain: re \S}≤30s6CertificateSigned CALLRESULT {status: Rejected}CertificateSigned CALLRESULT{status: Rejected}≤30s7SecurityEventNotification {type: InvalidChargePointCertifica…, timestamp: ${now}}SecurityEventNotification {type:InvalidChargePointCertifica…,timestamp: ${now}}8SecurityEventNotification answerSecurityEventNotification answernot checked8SecurityEventNotificationSecurityEventNotification≤30s9CALLRESULTCALLRESULT9impair: clearimpair: clear10

TC_078_CSMS — Invalid central system certificate covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1impair: answer InstallCertificateimpair: answerInstallCertificate2trigger: From the CSMS: send InstallCertificate to CP1 now (certificateType CentralSystemRootCertificate)Operator: InstallCertificate3InstallCertificate {certificateType: CentralSystemRootCertificate, certificate: re \S}InstallCertificate{certificateType:CentralSystemRootCertificate,certificate: re \S}≤10m3InstallCertificate CALLRESULT {status: Rejected}InstallCertificate CALLRESULT{status: Rejected}≤30s4SecurityEventNotification {type: InvalidCentralSystemCertifi…, timestamp: ${now}}SecurityEventNotification {type:InvalidCentralSystemCertifi…,timestamp: ${now}}5SecurityEventNotification answerSecurityEventNotification answernot checked5SecurityEventNotificationSecurityEventNotification≤30s6CALLRESULTCALLRESULT6impair: clearimpair: clear7

TC_079_CSMS — Get security log covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send GetLog to CP1 now (logType SecurityLog, any remoteLocation)Operator: GetLog2GetLog {logType: SecurityLog, remoteLocation: re \S}GetLog {logType: SecurityLog,remoteLocation: re \S}≤10m2GetLog CALLRESULT {status: Accepted}GetLog CALLRESULT {status:Accepted}≤30s3LogStatusNotification {status: Uploading}LogStatusNotification {status:Uploading}≤10m4CALLRESULTCALLRESULT4LogStatusNotification {status: Uploaded}LogStatusNotification {status:Uploaded}≤10m5CALLRESULTCALLRESULT5

TC_080_CSMS — Signed firmware update covered

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send SignedUpdateFirmware to CP1 now (any location, retrieveDateTime now, a signature and signingCertificate)Operator: SignedUpdateFirmware2SignedUpdateFirmware {location: re \S, signature: re \S, signingCertificate: re \S}SignedUpdateFirmware {location: re\S, signature: re \S,signingCertificate: re \S}≤10m2SignedUpdateFirmware CALLRESULT {status: Accepted}SignedUpdateFirmware CALLRESULT{status: Accepted}≤30s3SignedFirmwareStatusNotification {status: Downloading}SignedFirmwareStatusNotification{status: Downloading}≤10m4CALLRESULTCALLRESULT4SignedFirmwareStatusNotification {status: Downloaded}SignedFirmwareStatusNotification{status: Downloaded}≤10m5CALLRESULTCALLRESULT5SignedFirmwareStatusNotification {status: SignatureVerified}SignedFirmwareStatusNotification{status: SignatureVerified}≤10m6CALLRESULTCALLRESULT6log: before installing the conne…log: before installingthe conne…7StatusNotification {status: Unavailable}StatusNotification {status:Unavailable}≤10m8CALLRESULTCALLRESULT8SignedFirmwareStatusNotification {status: Installing}SignedFirmwareStatusNotification{status: Installing}≤10m9CALLRESULTCALLRESULT9SignedFirmwareStatusNotification {status: InstallRebooting}SignedFirmwareStatusNotification{status: InstallRebooting}≤10m10CALLRESULTCALLRESULT10log: rebooting with the new firm…log: rebooting with thenew firm…11BootNotificationBootNotification≤10m12answer {status: Accepted}answer {status: Accepted}12SecurityEventNotification {type: FirmwareUpdated}SecurityEventNotification {type:FirmwareUpdated}≤10m13CALLRESULTCALLRESULT13StatusNotification {status: Available}StatusNotification {status:Available}≤10m14CALLRESULTCALLRESULT14SignedFirmwareStatusNotification {status: Installed}SignedFirmwareStatusNotification{status: Installed}≤10m15CALLRESULTCALLRESULT15

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)

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send SignedUpdateFirmware to CP1 now (any location, retrieveDateTime now, an invalid signature)Operator: SignedUpdateFirmware2SignedUpdateFirmware {location: re \S, signature: re \S}SignedUpdateFirmware {location: re\S, signature: re \S}≤10m2SignedUpdateFirmware CALLRESULT {status: Accepted}SignedUpdateFirmware CALLRESULT{status: Accepted}≤30s3SignedFirmwareStatusNotification {status: Downloading}SignedFirmwareStatusNotification{status: Downloading}≤10m4CALLRESULTCALLRESULT4SignedFirmwareStatusNotification {status: Downloaded}SignedFirmwareStatusNotification{status: Downloaded}≤10m5CALLRESULTCALLRESULT5log: the charger deems the signa…log: the charger deemsthe signa…6SignedFirmwareStatusNotification {status: InvalidSignature}SignedFirmwareStatusNotification{status: InvalidSignature}≤10m7CALLRESULTCALLRESULT7SecurityEventNotification {type: InvalidFirmwareSignature}SecurityEventNotification {type:InvalidFirmwareSignature}≤30s8CALLRESULTCALLRESULT8

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

OperatorCSMSStation CP1check: online=truecheck: online=true(≤1m)1trigger: From the CSMS: send ChangeConfiguration to CP1 now (key SecurityProfile, one level higher than now)Operator: ChangeConfiguration2ChangeConfiguration {key: SecurityProfile}ChangeConfiguration {key:SecurityProfile}≤10m2ChangeConfiguration CALLRESULT {status: Accepted}ChangeConfiguration CALLRESULT{status: Accepted}≤30s3trigger: From the CSMS: send a Hard Reset to CP1 nowOperator: Reset4Reset {type: Hard}Reset {type: Hard}≤10m4Reset CALLRESULT {status: Accepted}Reset CALLRESULT {status: Accepted}≤30s5BootNotificationBootNotification≤2m6CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}6StatusNotificationStatusNotification≤30s7CALLRESULTCALLRESULT7disconnectdisconnect8WebSocket connect (security profile previous)WebSocket connect (security profileprevious)9none: BootNotification (station → CSMS)none: BootNotification (station → CSMS)(≤30s)10check: connect_failure=in [unauthorized, forbidden…check:connect_failure=in[unauthorized,forbidden… (≤30s)11disconnectdisconnect12WebSocket connectWebSocket connect13BootNotificationBootNotification≤2m14CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}14

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

CSMSStation CP1check: online=truecheck: online=true(≤1m)1disconnectdisconnect2WebSocket connectWebSocket connect3BootNotificationBootNotification≤2m4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4StatusNotificationStatusNotification≤30s5CALLRESULTCALLRESULT5

TC_086_CSMS — TLS, server certificate partial

needs security_profile 2 or 3: a wss:// url and ca_file trusting the CSMS server certificate

CSMSStation CP1check: online=truecheck: online=true(≤1m)1disconnectdisconnect2WebSocket connectWebSocket connect3BootNotificationBootNotification≤2m4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4StatusNotificationStatusNotification≤30s5CALLRESULTCALLRESULT5

TC_087_CSMS — TLS, client certificate partial

needs security_profile 3: client_cert_file / client_key_file the CSMS trusts

CSMSStation CP1check: online=truecheck: online=true(≤1m)1disconnectdisconnect2WebSocket connectWebSocket connect3BootNotificationBootNotification≤2m4CALLRESULT {status: Accepted}CALLRESULT {status: Accepted}4StatusNotificationStatusNotification≤30s5CALLRESULTCALLRESULT5

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

CSMSStation CP1none: BootNotification (station → CSMS)none: BootNotification (station → CSMS)(≤30s)1check: connect_failure=in [subprotocol, bad_reques…check:connect_failure=in[subprotocol,bad_reques… (≤30s)2