TC_G_14_CSMS — Change Availability Charging Station - With ongoing transaction
TC_G_14_CSMS — Change Availability Charging Station - With ongoing transaction
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block G. Availability, page 429.
Identification
| Field | Value |
|---|---|
| Test case name | Change Availability Charging Station - With ongoing transaction |
| Test case Id | TC_G_14_CSMS |
| Use case Id(s) | G04 |
| Requirement(s) | N/a |
| System under test | CSMS |
| Functional block | G. Availability |
Description
This test case covers how the CSMS requests the Charging Station to change the availability of one of the EVSEs from Operative to Inoperative. An EVSE is considered Operative in any status other than Faulted and Unavailable.
Purpose
To verify if the CSMS is able to send a change availability request during a transaction according to the mechanism as described at the OCPP specification.
Prerequisite(s)
n/a
Before (Preparations)
Configuration State:
- N/a
Memory State:
- N/a
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| Note(s): Request the CSMS to change the availability of the station to inoperative | |
| 2. The OCTT responds with a ChangeAvailabilityResponse with status Scheduled | 1. The CSMS sends a ChangeAvailabilityRequest |
| 3. The OCTT notifies the CSMS about the current state of all unoccupied connectors with; Message: StatusNotificationRequest; - connectorStatus Unavailable | 4. The CSMS responds accordingly. |
| Note(s): Wait for <Configured Transaction Duration> | |
| 5. Execute Reusable State StopAuthorized | |
| 6. Execute Reusable State EVConnectedPostSession | |
| 7. Execute Reusable State EVDisconnected | |
| 8. The OCTT notifies the CSMS about the current state of the configured connector with; Message: StatusNotificationRequest; - connectorStatus Unavailable | 9. The CSMS responds accordingly. |
Tool validations
Step 1:
Message ChangeAvailabilityRequest
- operationalStatus Inoperative
- evseId omit
- connectorId omit
Post scenario validations
- A respond to report the state of a connector has been received for all connectors.