Skip to content
Documentation Menu

TC_B_06_CS — Get Variables - single value

TC_B_06_CS — Get Variables - single value

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

Identification

FieldValue
Test case nameGet Variables - single value
Test case IdTC_B_06_CS
Use case Id(s)B06
Requirement(s)B06.FR.01, B06.FR.02, B06.FR.03, B06.FR.04, B06.FR.10, B06.FR.11
System under testCharging Station
Functional blockB. Provisioning

Description

Get the value of one of the required variables of OCPPCommCtrlr

Purpose

To test getting a single value using GetVariablesRequest for one of the mandatory component/variable combinations that must exist in the DM implementation.

Prerequisite(s)

N/A

Before (Preparations)

Configuration State:

  • OCPPCommCtrlr.OfflineThreshold is 300

Memory State:

  • N/a

Reusable State(s):

  • N/a

Main (Test scenario)

Charging StationCSMS
2. Charging Station responds with GetVariablesResponse1. OCTT sends GetVariablesRequest with: - variable.name = "OfflineThreshold"; - component.name = "OCPPCommCtrlr"; - attributeType = Actual

Tool validations

Step 2:

Message: GetVariablesResponse

  • attributeStatus = Accepted
  • attributeType = Actual
  • attributeValue = "300"
  • component.name = "OCPPCommCtrlr"
  • variable.name = "OfflineThreshold"
  • attributeStatusInfo is absent or attributeStatusInfo.reasonCode = "NoError"

Post scenario validations

  • N/a