TC_N_36_CS — Retrieve Log Information - Second Request
TC_N_36_CS — Retrieve Log Information - Second Request
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block N. Diagnostics, page 295.
Identification
| Field | Value |
|---|---|
| Test case name | Retrieve Log Information - Second Request |
| Test case Id | TC_N_36_CS |
| Use case Id(s) | N01 |
| Requirement(s) | N01.FR.01, N01.FR.02, N01.FR.03, N01.FR.07, N01.FR.08, N01.FR.09, N01.FR.12, N01.FR.13 |
| System under test | Charging Station |
| 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 Charging station is able to successfully start/cancel a upload on a second request as described at the OCPP specification.
Prerequisite(s)
Charging Station supports Monitoring
Before (Preparations)
Configuration State:
- N/a
Memory State:
- Charging Station has log information available of <Configured logType>.
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 2. The Charging Station responds with a GetLogResponse | 1. The OCTT sends a GetLogRequest; with logType <Configured logType> |
| Note(s):; - Charging Station is uploading log file | |
| 3. The Charging Station sends a LogStatusNotificationRequest | 4. The OCTT responds with a LogStatusNotificationResponse . |
| Note(s):; - Charging Station cancels uploading the first log file | |
| 6. The Charging Station responds with a GetLogResponse | 5. The OCTT sends a GetLogRequest; with logType <Configured logType> |
| 7. The Charging Station sends a LogStatusNotificationRequest | 8. The OCTT responds with a LogStatusNotificationResponse . |
| Note(s):; - Charging Station is uploading log file | |
| 9. The Charging Station sends a LogStatusNotificationRequest | 10. The OCTT responds with a LogStatusNotificationResponse . |
| Note(s):; - Log file is uploaded | |
| 11. The Charging Station sends a LogStatusNotificationRequest | 12. The OCTT responds with a LogStatusNotificationResponse . |
Tool validations
Step 2:
Message GetLogResponse
- status Accepted
Step 3:
Message LogStatusNotificationRequest
- status Uploading
- requestId Same Id as the GetLogRequest
Step 6:
Message GetLogResponse
- status AcceptedCanceled
Step 7:
Message LogStatusNotificationRequest
- status AcceptedCanceled
Step 9:
Message LogStatusNotificationRequest
- status Uploading
- requestId Same Id as the GetLogRequest
Step 11:
Message LogStatusNotificationRequest
- status Uploaded
- requestId Same Id as the GetLogRequest
Post scenario validations
- N/a