Skip to content
Documentation Menu

TC_C_49_CS — Stop Transaction with a Master Pass - Without UI

TC_C_49_CS — Stop Transaction with a Master Pass - Without UI

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

Identification

FieldValue
Test case nameStop Transaction with a Master Pass - Without UI
Test case IdTC_C_49_CS
Use case Id(s)C16
Requirement(s)C16_FR_02
System under testCharging Station
Functional blockC. Authorization

Description

This test case covers how somebody with a Master Pass (User) can stop (selected) ongoing transactions, so the cable becomes unlocked. This Master Pass can be configured in: MasterPassGroupId. This could for example be usefull for Law Enforcement officials.

Purpose

To verify if the Charging Station is able to correctly stop all transactions when an idToken which has the MasterPass as GroupId is used and the Charging station does not have an User Interface according to the mechanism as described in the OCPP specification.

Prerequisite(s)

  • The Charging Station supports at least one authorization method described at the following Use cases; C01, C04.

Before (Preparations)

Configuration State:

  • AuthCtrlr.MastersPassGroupId is configured

Memory State:

  • N/a

Reusable State(s):

  • State is EnergyTransferStarted for EVSEId 1 and EVSEId 2 if the Charging Station has more than one EVSE. With:
  • <Configured valid_idtoken> for EVSE 1
  • <Configured valid_idtoken2> for EVSE 2

Main (Test scenario)

Charging StationCSMS
Manual Action: Present configured masterpass idToken
1. The Charging Station sends an AuthorizeRequest2. The OCTT responds with an AuthorizeResponse with idTokenInfo.status Accepted idTokenInfo.groupIdToken.idToken <Configured masterPassGroupId>
3. The Charging Station sends a TransactionEventRequest for EVSE 1 (and 2)4. The OCTT responds with a TransactionEventResponse with idTokenInfo.status Accepted idTokenInfo.groupIdToken.idToken <Configured masterPassGroupId> for EVSE 1 (and 2)
5. Execute Reusable State EVConnectedPostSession for EVSE 1 (and 2)
6. Execute Reusable State EVDisconnected for EVSE 1 (and 2)
7. Execute Reusable State ParkingBayUnoccupied for EVSE 1 (and 2)

Tool validations

Step 1:

Message AuthorizeRequest

  • idToken.idToken <Configured masterpass_idtoken_idtoken>
  • idToken.type <Configured masterpass_idtoken_type>

Step 3:

Message TransactionEventRequest

  • transactionInfo.stoppedReason MasterPass
  • idToken omit or
  • idToken.idToken <Configured masterpass_idtoken_idtoken> and
  • idToken.type <Configured masterpass_idtoken_type>

Post scenario validations

  • N/a