Skip to content
Documentation Menu

TC_E_45_CS — Offline Behaviour - Stop transaction during offline period - Same GroupId

TC_E_45_CS — Offline Behaviour - Stop transaction during offline period - Same GroupId

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

Identification

FieldValue
Test case nameOffline Behaviour - Stop transaction during offline period - Same GroupId
Test case IdTC_E_45_CS
Use case Id(s)E08
Requirement(s)E08.FR.02,E08.FR.04,E08.FR.05,E08.FR.06,E08.FR.07,E08.FR.08
System under testCharging Station
Functional blockE. Transactions

Description

The Charging Station queues TransactionEvent messages to inform the CSMS that a transaction occurred while the Charging Station was Offline.

Purpose

To verify if the Charging Station is able to queue TransactionEvent messages when the transaction stopped by an idToken with the same groupIdToken, while the Charging Station was offline.

Prerequisite(s)

The Charging Station supports Authorization cache OR Local Authorization List.

Before (Preparations)

Configuration State:

  • OfflineThreshold is <Configured RetryBackOffWaitMinimum_duration> + 60.0 RetryBackOffWaitMinimum is <Configured RetryBackOffWaitMinimum_duration> RetryBackOffRandomRange is 0
  • Note: <Configured RetryBackOffWaitMinimum_duration should be long enough to execute manual tasks>

Memory State:

  • IdTokenCached for <Configured valid idtoken fields2> with <Configured GroupIdToken> IdTokenLocalAuthList for <Configured valid idtoken fields2> with <Configured GroupIdToken>

Reusable State(s):

  • State is Authorized with <Configured GroupIdToken> Then proceed to state EnergyTransferStarted

Main (Test scenario)

Charging StationCSMS
1. The OCTT closes the WebSocket connection AND does not accept a reconnect.
Manual Action: Present <Configured valid idtoken fields2>.
Manual Action: Disconnect the EV and EVSE.
Manual Action: Drive EV out of parking bay. (Only needed if TxStopPoint is ParkingBayOccupancy)
2. The OCTT accepts the reconnection attempt from the Charging Station.
3. The Charging Stations sends a TransactionEventRequest; Note(s):; - The Charging Station will empty its Transaction message queue. This will contain one or more TransactionEventRequest messages4. The OCTT responds with a TransactionEventResponse

Tool validations

Step 3:

All messages: TransactionEventRequest

  • offline must be true One of the messages: TransactionEventRequest
  • eventType Ended

Post scenario validations

  • N/a