Skip to content
Documentation Menu

TC_N_25_CSMS — Retrieve Log Information - Diagnostics Log - Success

TC_N_25_CSMS — Retrieve Log Information - Diagnostics Log - Success

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

Identification

FieldValue
Test case nameRetrieve Log Information - Diagnostics Log - Success
Test case IdTC_N_25_CSMS
Use case Id(s)N01
Requirement(s)N/a
System under testCSMS
Functional blockN. 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)

Charging Station has log information available.

Before (Preparations)

Configuration State:

  • N/a

Memory State:

  • N/a

Reusable State(s):

  • N/a

Main (Test scenario)

Charging StationCSMS
2. The OCTT responds with a GetLogResponse; with status Accepted1. The CSMS sends a GetLogRequest
3. The OCTT sends a LogStatusNotificationRequest with; - status Uploading; - requestId Same Id as the GetLogRequest4. The CSMS responds with a LogStatusNotificationResponse .
5. The OCTT sends a LogStatusNotificationRequest with; - status Uploaded; - requestId Same Id as the GetLogRequest6. The CSMS responds with a LogStatusNotificationResponse .

Tool validations

Step 1:

Message GetLogRequest

  • logType DiagnosticsLog

Post scenario validations

  • N/a