TC_051_CSMS — Cancel Reservation
TC_051_CSMS — Cancel Reservation
Source: OCPP 1.6 — Compliancy Testing Tool — Test Case Document (Trial 2025-06, Draft). System Under Test: Central System, page 168.
Identification
| Field | Value |
|---|---|
| Test case name | Cancel Reservation |
| Test case Id | TC_051_CSMS |
| System under test | Central System |
Description
The Central System cancels an existing, not expired reservation.
Purpose
Check whether the Central System trigger to Charge Point to cancel a reservation.
Prerequisite(s)
The Central System supports the Reservation feature profile.
Before (Preparations)
Configuration State(s):
- N/a
Memory State(s):
- N/a
Reusable State(s):
- N/a
Scenario Detail(s)
| Charge Point (SUT) | Central System (Tool) |
|---|---|
| 2. The Charge Point sends a ReserveNow.conf message to the Central System | 1. The Central System sends a ReserveNow.req with a reservationId, connectorId, idTag and expiryDate to the Charge Point |
| 3. The Charge Point sends a StatusNotification.req to the Central System | 4. The Central System sends a StatusNotification.conf to the Charge Point |
| 6. The Charge Point sends a CancelReservation.conf message to the Central System | 5. The Central System sends a CancelReservation.req; with a reservationId to the Charge Point |
| 7. The Charge Point sends a StatusNotification.req to the Central System | 8. The Central System sends a StatusNotification.conf to the Charge Point |
Tool validation(s)
Charge Point side:
Step 2:
(Message: ReserveNow.conf) The status is Accepted
Step 3:
(Message: StatusNotification.req) The status is Reserved
Step 6:
(Message: CancelReservation.conf) The status is Accepted
Step 7:
(Message: StatusNotification.req) The status is Available
Central System side:
Step 1:
(Message: ReserveNow.req) The connectorId does not equal 0
Step 5:
(Message: CancelReservation.req) The reservationId matches the reservationId from step 1.
Expected result(s) / behaviour
Charge Point side:
The Charge Point handles the reservation correctly, cancelling only the reservation with the right reservationId.
Central System side:
The Central System processes the response from the Charge Point to the cancel reservation message.