Skip to content
Documentation Menu

TC_E_40_CS — Offline Behaviour - Connection loss during transaction

TC_E_40_CS — Offline Behaviour - Connection loss during transaction

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

Identification

FieldValue
Test case nameOffline Behaviour - Connection loss during transaction
Test case IdTC_E_40_CS
Use case Id(s)E11
Requirement(s)E11.FR.01,E11.FR.02,E11.FR.06
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 while it is offline.

Prerequisite(s)

N/a

Before (Preparations)

Configuration State:

  • SampledDataTxUpdatedMeasurands is <Configured transaction_updated_metervalues_measurands> SampledDataTxUpdatedInterval is <Configured transaction_updated_metervalues_interval> SampledDataEnabled is true OfflineThreshold is <Configured RetryBackOffWaitMinimum_duration> + 60.0 RetryBackOffWaitMinimum is <Configured RetryBackOffWaitMinimum_duration> RetryBackOffRandomRange is 0
  • Note: <Configured RetryBackOffWaitMinimum_duration> must be greater than <Configured Transaction MeterValues interval>

Memory State:

  • N/a

Reusable State(s):

  • State is EnergyTransferStarted

Main (Test scenario)

Charging StationCSMS
1. The OCTT closes the WebSocket connection AND does not accept a reconnect.
2. The OCTT waits a number of seconds equal to <Configured RetryBackOffWaitMinimum_duration>, before accepting a 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

  • eventType must be Updated
  • meterValues must be present.
  • offline must be true

Post scenario validations

  • N/a