TC_N_35_CSMS — Retrieve Log Information - Security Log - Success
TC_N_35_CSMS — Retrieve Log Information - Security Log - Success
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block N. Diagnostics, page 478.
Identification
| Field | Value |
|---|---|
| Test case name | Retrieve Log Information - Security Log - Success |
| Test case Id | TC_N_35_CSMS |
| Use case Id(s) | N01 |
| Requirement(s) | |
| System under test | CSMS |
| Functional block | N. Diagnostics |
Description
This test case covers the functionality of getting log information from a Charging Station. The CSMS can request a Charging Station to upload a file with log information to a given location (URL). The format of this log file is not prescribed. The Charging Station successfully uploads a log file and gives information about the status of the upload by sending status notifications to the CSMS.
Purpose
To verify if the CSMS is able to request a charging station to successfully upload a log as described at the OCPP specification.
Prerequisite(s)
n/a
Before (Preparations)
Configuration State:
- N/a
Memory State:
- Charging Station has log information available.
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 2. The OCTT responds with a GetLogResponse; with status Accepted | 1. The CSMS sends a GetLogRequest |
| 3. The OCTT sends a LogStatusNotificationRequest with; - status Uploading; - requestId Same Id as the GetLogRequest | 4. The CSMS responds with a LogStatusNotificationResponse . |
| 5. The OCTT sends a LogStatusNotificationRequest with; - status Uploaded; - requestId Same Id as the GetLogRequest | 6. The OCTT responds with a LogStatusNotificationResponse . |
Tool validations
Step 1:
Message GetLogRequest
- logType SecurityLog
Post scenario validations
- N/a