TC_E_50_CS — Retry sending transaction message when failed - Max retry count reached - CallError
TC_E_50_CS — Retry sending transaction message when failed - Max retry count reached - CallError
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block E. Transactions, page 167.
Identification
| Field | Value |
|---|---|
| Test case name | Retry sending transaction message when failed - Max retry count reached - CallError |
| Test case Id | TC_E_50_CS |
| Use case Id(s) | E13 |
| Requirement(s) | E13.FR.01,E13.FR.02,E13.FR.03,E13.FR.04 |
| System under test | Charging Station |
| Functional block | E. Transactions |
Description
There are situations/issues why a CSMS might not accept a transaction related message, or does not reply within the MessageTimeout. Most are error scenarios. When something like this happens, the Charging Station SHALL retry the messages a couple of times.
Purpose
To verify if the Charging Station is able to resend TransactionEvent messages until the max retry count is reached, when the CSMS does not reply.
Prerequisite(s)
N/a
Before (Preparations)
Configuration State:
- MessageAttemptsTransactionEvent is <Configured message_attempts_transaction_event> (Must be > 1) MessageAttemptIntervalTransactionEvent is <Configured message_attempts_transaction_event_interval>
Memory State:
- N/a
Reusable State(s):
- State is Authorized State is EVConnectedPreSession
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| Note(s): Step 1, 2, 3, & 4 are optional | |
| 1. The Charging Stations sends a TransactionEventRequest with:; - triggerReason SignedDataReceived | 2. The OCTT responds with a TransactionEventResponse |
| 3. The Charging Stations sends a TransactionEventRequest with:; - triggerReason ChargingStateChanged; - chargingState SuspendedEVSE | 4. The OCTT responds with a TransactionEventResponse |
| Note(s): Step 5 is repeated for the configured number of times | |
| 5. The Charging Stations sends a TransactionEventRequest | 6. The OCTT responds with a CallError with errorCode InternalError |
Tool validations
Step 1:
- triggerReason SignedDataReceived
Step 3:
- triggerReason ChargingStateChanged
- chargingState SuspendedEVSE
Step 5:
- Needs to be send a number of times equal to <Configured message_attempts_transaction_event> with an interval of the <Configured message_attempts_transaction_event_interval> multiplied by the number of preceding transmissions of this same message.
- The OCTT waits an additional MessageAttemptsTransactionEvent iteration where the interval is multiplied again, to validate if the Charging Station stops resending the TransactionRequest message(s).
Post scenario validations
- N/a