TC_B_46_CS — Migrate to new ConnectionProfile - Fallback mechanism - Same CSMS Root
TC_B_46_CS — Migrate to new ConnectionProfile - Fallback mechanism - Same CSMS Root
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block B. Provisioning, page 68.
Identification
| Field | Value |
|---|---|
| Test case name | Migrate to new ConnectionProfile - Fallback mechanism - Same CSMS Root |
| Test case Id | TC_B_46_CS |
| Use case Id(s) | B10 |
| Requirement(s) | B10.FR.03,B10.FR.04 |
| System under test | Charging Station |
| Functional block | B. Provisioning |
Description
The CSMS updates the connection details on the Charging Station. For instance in preparation of a migration to a new CSMS.
Purpose
To verify if the Charging Station is able to use the fallback mechanism when it is unable to connect with the first network connection profile slot.
Prerequisite(s)
At least two configuration slots for networkConnectionProfiles must be supported
Before (Preparations)
Configuration State:
- OCPPCommCtrlr.NetworkProfileConnectionAttempts is 2
Memory State:
- N/a
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 2. The Charging Station responds with a SetNetworkProfileResponse | 1. The OCTT sends a SetNetworkProfileRequest; with configurationSlot is <Configured configurationSlot> or <Configured configurationSlot> depending on which one is already in use; - connectionData.messageTimeout <Configured messageTimeout>; - connectionData.ocppCsmsUrl <invalid ocppCsmsUrl>; - connectionData.ocppInterface <Configured ocppInterface>; - connectionData.ocppVersion OCPP20; - connectionData.securityProfile <Configured securityProfile> |
| 4. The Charging Station responds with a SetVariablesResponse | 3. The OCTT sends a SetVariablesRequest; with variable.name is "NetworkConfigurationPriority" component.name is "OCPPCommCtrlr" attributeValue is <Configured configurationSlot2>,<Configured configurationSlot> |
| 6. The Charging Station responds with a ResetResponse | 5. The OCTT sends a ResetRequest; with type OnIdle; Note(s):; - This step will only be executed when the status RebootRequired is returned at step 4. |
| 7. The OCTT will NOT respond to the two connection request from the Charging Station from the first connectionSlot. | |
| 8. The OCTT will accept the connection request from the Charging Station from the second connectionSlot. | |
| Note(s): Set the <Configured Long Operation Time Out> so that Steps 7 and 8 can be completed in this time period. | |
| 9. Execute Reusable State Booted; Note(s):; - The Charging Station connects using the <Configured connectionData>. |
Tool validations
Step 2:
Message SetNetworkProfileResponse
- status Accepted
Step 4:
Message SetVariablesResponse
- setVariableResult[0].attributeStatus Accepted OR RebootRequired
Step 6:
Message ResetResponse
- status Accepted
Post scenario validations
- N/a