TC_B_10_CSMS — Set Variables - multiple values
TC_B_10_CSMS — Set Variables - multiple values
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block B. Provisioning, page 352.
Identification
| Field | Value |
|---|---|
| Test case name | Set Variables - multiple values |
| Test case Id | TC_B_10_CSMS |
| Use case Id(s) | B05 |
| Requirement(s) | B05.FR.01, B05.FR.02, B05.FR.03 |
| System under test | CSMS |
| Functional block | B. Provisioning |
Description
Set the value of two of the required variables of OCPPCommCtrlr
Purpose
To test setting multiple values 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. OCTT responds with: SetVariablesResponse | 1. Manually request CSMS to set data for:; - OCPPCommCtrlr.OfflineThreshold; - AuthCtrlr.AuthorizeRemoteStart+ |
Tool validations
Step 1:
Message: SetVariablesRequest with (in arbitraty order): setVariableData[1]:
- variable.name = "OfflineThreshold"
- component.name = "OCPPCommCtrlr"
- attributeValue = "123"
- attributeType is absent or attributeType = Actual setVariableData[2]:
- variable.name = "AuthorizeRemoteStart"
- component.name = "AuthCtrlr"
- attributeValue = "false"
- attributeType is absent or attributeType = Actual
Post scenario validations
Manually validate that CSMS has correctly set the requested variables.