Skip to content
Documentation Menu

TC_B_49_CS — Migrate to new ConnectionProfile - Fallback after NetworkProfileConnectionAttempts per

TC_B_49_CS — Migrate to new ConnectionProfile - Fallback after NetworkProfileConnectionAttempts per

NetworkConfigurationPriority failed - Same CSMS Root

Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block B. Provisioning, page 72.

Identification

FieldValue
Test case nameMigrate to new ConnectionProfile - Fallback after NetworkProfileConnectionAttempts per; NetworkConfigurationPriority failed - Same CSMS Root
Test case IdTC_B_49_CS
Use case Id(s)B10
Requirement(s)B10.FR.07
System under testCharging Station
Functional blockB. 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 correctly handle the fallback mechanism in the case it fails to connect to the other CSMS.

Prerequisite(s)

  • The Charging Station supports C-47: mechanism implemented & Reconnect after NetworkProfileConnectionAttempts
  • At least two configuration slots for networkConnectionProfiles must be supported

Before (Preparations)

Configuration State:

  • OCPPCommCtrlr.NetworkProfileConnectionAttempts is 1 OCPPCommCtrlr.RetryBackOffRepeatTimes is 0 OCPPCommCtrlr.RetryBackOffRandomRange is 0 OCPPCommCtrlr.RetryBackOffWaitMinimum is <Configured RetryBackOffWaitMinimum>

Memory State:

  • N/a

Reusable State(s):

  • N/a

Main (Test scenario)

Charging StationCSMS
2. The Charging Station responds with a SetNetworkProfileResponse1. 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 <ocppCsmsUrl that is not currently active>; - connectionData.ocppInterface <Configured ocppInterface>; - connectionData.ocppVersion OCPP20; - connectionData.securityProfile <Configured securityProfile>
4. The Charging Station responds with a SetVariablesResponse3. The OCTT sends a SetVariablesRequest; with variable.name is "NetworkConfigurationPriority" component.name is "OCPPCommCtrlr" attributeValue is <Configured configurationSlot2>
6. The Charging Station responds with a ResetResponse5. The OCTT sends a ResetRequest; with type OnIdle
7. The Charging Station tries to connect to the alternative internal OCTT endpoint.; Note(s):; - Make sure to set the <Configured Long Operation Time Out> to be the time required for the CS to revert to the previous network profile configuration.8. The connection attempt is not accepted by the OCTT.
9. The Charging Station switches back to the previous networkprofile configuration and reconnects to the OCTT.10. The connection attempt is not accepted by the OCTT.
11. The Charging Station waits for the duration of the configured RetryBackOffWaitMinimum and reconnects to the OCTT.12. The connection attempt is accepted by the OCTT.
13. Execute Reusable State Booted

Tool validations

Step 6:

Message ResetResponse

  • status Accepted

Post scenario validations

  • N/a