Skip to content
Documentation Menu

TC_B_09_CS — Set Variables - single value

TC_B_09_CS — Set Variables - single value

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

Identification

FieldValue
Test case nameSet Variables - single value
Test case IdTC_B_09_CS
Use case Id(s)B05
Requirement(s)B05.FR.01, B05.FR.02, B05.FR.03, B05.FR.10, B05.FR.12
System under testCharging Station
Functional blockB. Provisioning

Description

Set the value of one of the required variables of OCPPCommCtrlr

Purpose

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

Prerequisite(s)

N/A

Before (Preparations)

Configuration State:

  • N/a

Memory State:

  • N/a

Reusable State(s):

  • N/a

Main (Test scenario)

Charging StationCSMS
2. Charging Station responds with SetVariablesResponse with attributeStatus = Accepted.1. OCTT sends SetVariablesRequest with:; - variable.name = "OfflineThreshold"; - component.name = "OCPPCommCtrlr"; - attributeValue = "300"; - attributeType Actual

Tool validations

Step 2:

Message: SetVariablesResponse

  • setVariableResult[0].attributeStatus = Accepted
  • setVariableResult[0].attributeType = Actual
  • setVariableResult[0].component.name = "OCPPCommCtrlr"
  • setVariableResult[0].variable.name = "OfflineThreshold"
  • setVariableResult[0].attributeStatusInfo is absent or setVariableResult[0].attributeStatusInfo.reasonCode = "NoError"

Post scenario validations

  • N/a