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
| Field | Value |
|---|---|
| Test case name | Set Variables - single value |
| Test case Id | TC_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 test | Charging Station |
| Functional block | B. 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 Station | CSMS |
|---|---|
| 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