TC_C_26_CS — Offline Authorization - Unknown Id
TC_C_26_CS — Offline Authorization - Unknown Id
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block C. Authorization, page 120.
Identification
| Field | Value |
|---|---|
| Test case name | Offline Authorization - Unknown Id |
| Test case Id | TC_C_26_CS |
| Use case Id(s) | C15 & C13 |
| Requirement(s) | C15.FR.02,C15.FR.06,C15.FR.08,C13.FR.04 |
| System under test | Charging Station |
| Functional block | C. Authorization |
Description
The Charging Station is allowed to allow starting a transaction for unknown idTokens when offline and configured to do so.
Purpose
To verify if the Charging Station is able to start a transaction while being offline for an unknown idToken, when it is configured to do so.
Prerequisite(s)
OfflineTxForUnknownIdEnabled is implemented.
Before (Preparations)
Configuration State:
- LocalAuthListEnabled is true (If implemented) LocalPreAuthorize is true (If implemented) OfflineTxForUnknownIdEnabled is true LocalAuthorizeOffline is true MaxEnergyOnInvalidId is 0 (If implemented) StopTxOnInvalidId is false
Memory State:
- N/a
Reusable State(s):
- State is StartOfflineTransaction
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 1. The Charging Stations sends a TransactionEventRequest; Note(s):; - The Charging Station will empty its Transaction message queue. This will contain one or more TransactionEventRequest messages | 2. The OCTT responds with a TransactionEventResponse; Note(s):; - The OCTT will respond to the TransactionEventRequest containing the idToken, with idtokenInfo.status Invalid |
| Manual Action: Present valid idToken. | |
| Manual Action: Unplug cable | |
| 3. The Charging Stations sends a TransactionEventRequest with triggerReason StopAuthorized | 4. The OCTT responds with a TransactionEventResponse |
Tool validations
Step 1:
All Message(s): TransactionEventRequest
- offline must be true
Step 1:
One of the Message(s): TransactionEventRequest
- chargingState must be SuspendedEVSE
Post scenario validations
- N/a