TC_B_30_CSMS — Cold Boot Charging Station - Pending/Rejected - SecurityError
TC_B_30_CSMS — Cold Boot Charging Station - Pending/Rejected - SecurityError
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block B. Provisioning, page 347.
Identification
| Field | Value |
|---|---|
| Test case name | Cold Boot Charging Station - Pending/Rejected - SecurityError |
| Test case Id | TC_B_30_CSMS |
| Use case Id(s) | B02/B03 |
| Requirement(s) | B02.FR.09, B03.FR.07 |
| System under test | CSMS |
| Functional block | B. Provisioning |
Description
The booting mechanism allows a Charging Station to provide some general information about the Charging Station to the CSMS on startup AND it allows the Charging Station to request whether it is allowed to start sending other OCPP messages. The CSMS may respond to the BootNotificationRequest with status Pending or Rejected. During this state, the Charging Station is not allowed to send RPC Framework: CALL message that is NOT a BootNotificationRequest or in case of status Pending, a message triggered by one of the following messages: TriggerMessageRequest, GetBaseReportRequest, GetReportRequest.
Purpose
To verify whether the CSMS is able to handle unauthorized messages from the Charging Station by responding with a SecurityError.
Prerequisite(s)
The CSMS is configured to first respond to a BootNotificationRequest with status Pending or Rejected.
Before (Preparations)
Configuration State:
- N/a
Memory State:
- N/a
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 1. The OCTT sends a BootNotificationRequest; with reason PowerUp chargingStation.model <Configured model> chargingStation.vendorName <Configured vendorName> | 2. The CSMS responds with a BootNotificationResponse |
| 3. The OCTT notifies the CSMS about the current state of all connectors.; Message: StatusNotificationRequest; with connectorStatus Available; Message: NotifyEventRequest; with trigger Delta actualValue "Available" component.name "Connector" variable.name "AvailabilityState" | 4. The CSMS responds with RPC Framework: CALLERROR: SecurityError. |
Tool validations
Step 2:
Message: BootNotificationResponse
- status Pending OR Rejected
Post scenario validations
- N/a