TC_B_22_CSMS — Reset Charging Station - With Ongoing Transaction - Immediate
TC_B_22_CSMS — Reset Charging Station - With Ongoing Transaction - Immediate
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block B. Provisioning, page 358.
Identification
| Field | Value |
|---|---|
| Test case name | Reset Charging Station - With Ongoing Transaction - Immediate |
| Test case Id | TC_B_22_CSMS |
| Use case Id(s) | B12 |
| Requirement(s) | N/a |
| System under test | CSMS |
| Functional block | B. Provisioning |
Description
This test case covers how the CSMS can remotely request the Charging Station to reset itself by sending a ResetRequest during a transaction. When ResetRequest "Immediate" is send the charging stations will try to stop all transactions before rebooting. This could for example be necessary if the Charging Station is not functioning correctly.
Purpose
To verify if the CSMS is able to perform the reset mechanism as described at the OCPP specification.
Prerequisite(s)
n/a
Before (Preparations)
Configuration State:
- N/a
Memory State:
- N/a
Reusable State(s):
- State is EnergyTransferStarted
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| Manual Action: Request the CSMS to reboot the Charging Station with status Immediate | |
| 2. The OCTT responds with a ResetResponse; with status Accepted | 1. The CSMS sends a ResetRequest; with status Immediate |
| 3. The OCTT sends a TransactionEventRequest.; - eventType Ended; - triggerReason ResetCommand; - transactionInfo.chargingState EVConnected; - transactionInfo.stoppedReason ImmediateReset; - idToken is omitted | 4. The CSMS responds with a TransactionEventResponse. |
| 5. The OCTT sends a BootNotificationRequest; with reason RemoteReset | 6. The CSMS responds with a BootNotificationResponse |
| 7. The OCTT notifies the CSMS about the current state of all connectors. For <Configured connectorId>:; Message: StatusNotificationRequest; - connectorStatus Occupied; Message: NotifyEventRequest; - trigger Delta; - actualValue "Occupied"; - component.name "Connector"; - variable.name "AvailabilityState" For <Other connector(s)>:; Message: StatusNotificationRequest; - connectorStatus Available; Message: NotifyEventRequest; - trigger Delta; - actualValue "Available"; - component.name "Connector"; - variable.name "AvailabilityState" | 8. The CSMS responds accordingly. |
Tool validations
Step 1:
Message ResetRequest
- type Immediate
Step 6:
Message BootNotificationResponse
- status Accepted
Post scenario validations
- N/a