Skip to content

Conversation

@PlayXboxtion963
Copy link

Repair this issue
#430

@PlayXboxtion963
Copy link
Author

Err

@razvanphp
Copy link
Contributor

Err? How did you fix this? we also fail this TS. Thanks!

[12:56:18.878] [info]  ========================== Starting Main Testcase Steps ==========================
[12:56:18.881] [info]  Entering state Reserved
[12:56:18.882] [REQUEST]
[12:56:18.882] [msg-out]  [2, "cc10b3ee-12e5-466b-9d9f-ce3ccbfb359b", "ReserveNow", {"connectorId":1,"expiryDate":"2025-11-30T12:58:18Z","idTag":"042E3BDA6B6B80","reservationId":1}]
[12:56:18.886] [info]  Waiting for response message of type ReserveNowResponse
[12:56:19.024] [REQUEST]
[12:56:19.024] [msg-in]  [2,"b513668a-6eaa-f138-960a-08392faae7b2","StatusNotification",{"connectorId":2,"errorCode":"NoError","status":"Unavailable","timestamp":"2025-11-30T12:56:18Z"}]
[12:56:19.047] [RESPONSE]
[12:56:19.047] [msg-out]  [3, "b513668a-6eaa-f138-960a-08392faae7b2", {}]
[12:56:19.192] [RESPONSE]
[12:56:19.192] [msg-in]  [3,"cc10b3ee-12e5-466b-9d9f-ce3ccbfb359b",{"status":"Accepted"}]
[12:56:19.206] [info]  Received response message of the expected type.
[12:56:19.206] [info]  Waiting for request message of type StatusNotificationRequest
[12:56:19.315] [REQUEST]
[12:56:19.315] [msg-in]  [2,"c0416732-e12b-f2df-9f09-f137e26ec335","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Reserved","timestamp":"2025-11-30T12:56:19Z"}]
[12:56:19.326] [info]  Received request message of the expected type.
[12:56:19.326] [RESPONSE]
[12:56:19.326] [msg-out]  [3, "c0416732-e12b-f2df-9f09-f137e26ec335", {}]
[12:56:19.327] [info]  Reached state Reserved
[12:56:19.327] [prompt]  Please authorize the transaction, with idTag: '045034FA6B6B80' on connectorId '1'.
[12:56:33.647] [REQUEST]
[12:56:33.647] [msg-in]  [2,"083888b8-9df7-96db-d2cb-6c755326cac6","Authorize",{"idTag":"045034FA6B6B80"}]
[12:56:33.650] [info]  Got expected request message after the previous API request, continuing.
[12:56:33.650] [api_dismissed]  a12da150-d41f-406e-bd9d-d8283168a2b9
[12:56:33.651] [info]  Waiting for 65 seconds to ensure CS does not send an authorize.
[12:56:33.655] [RESPONSE]
[12:56:33.655] [msg-out]  [3, "083888b8-9df7-96db-d2cb-6c755326cac6", {"idTagInfo":{"status":"Accepted"}}]
[12:56:33.656] [info]  No AuthorizeRequest was expected.
[12:56:33.656] [info]  The value of 'Reset CS after testcase' is false
[12:56:33.656] [info]  ============================ Starting Final Cleanup ==============================
[12:56:33.761] [verdict]  FAIL
[12:56:33.761] [info]  The test case has ended.
[12:56:33.762] [stopped_testcase]  

@razvanphp
Copy link
Contributor

if

TC_046_2_CS - Reservation of a Connector - Remote start transaction passes

but

TC_046_1_CS - Reservation of a Connector - Local start transaction fails

then probably it's a problem with your RFID implementation. I am proposing a new function for this, integrated directly into MicroOcpp (#433) that takes care of checking the reservations first before sending an Authorization.req.

@PlayXboxtion963
Copy link
Author

if

TC_046_2_CS - Reservation of a Connector - Remote start transaction passes

but

TC_046_1_CS - Reservation of a Connector - Local start transaction fails

then probably it's a problem with your RFID implementation. I am proposing a new function for this, integrated directly into MicroOcpp (#433) that takes care of checking the reservations first before sending an Authorization.req.

From OCPP 1.6 edition 2 - 5.13 Reserve Now and test case. I think this should be change to when Reserve->parentid not empty we should query from server. if Reserve->parent id is empty we should directly abort this tx instead of send authorize req to server

#430

@PlayXboxtion963
Copy link
Author

Err? How did you fix this? we also fail this TS. Thanks!

[12:56:18.878] [info]  ========================== Starting Main Testcase Steps ==========================
[12:56:18.881] [info]  Entering state Reserved
[12:56:18.882] [REQUEST]
[12:56:18.882] [msg-out]  [2, "cc10b3ee-12e5-466b-9d9f-ce3ccbfb359b", "ReserveNow", {"connectorId":1,"expiryDate":"2025-11-30T12:58:18Z","idTag":"042E3BDA6B6B80","reservationId":1}]
[12:56:18.886] [info]  Waiting for response message of type ReserveNowResponse
[12:56:19.024] [REQUEST]
[12:56:19.024] [msg-in]  [2,"b513668a-6eaa-f138-960a-08392faae7b2","StatusNotification",{"connectorId":2,"errorCode":"NoError","status":"Unavailable","timestamp":"2025-11-30T12:56:18Z"}]
[12:56:19.047] [RESPONSE]
[12:56:19.047] [msg-out]  [3, "b513668a-6eaa-f138-960a-08392faae7b2", {}]
[12:56:19.192] [RESPONSE]
[12:56:19.192] [msg-in]  [3,"cc10b3ee-12e5-466b-9d9f-ce3ccbfb359b",{"status":"Accepted"}]
[12:56:19.206] [info]  Received response message of the expected type.
[12:56:19.206] [info]  Waiting for request message of type StatusNotificationRequest
[12:56:19.315] [REQUEST]
[12:56:19.315] [msg-in]  [2,"c0416732-e12b-f2df-9f09-f137e26ec335","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Reserved","timestamp":"2025-11-30T12:56:19Z"}]
[12:56:19.326] [info]  Received request message of the expected type.
[12:56:19.326] [RESPONSE]
[12:56:19.326] [msg-out]  [3, "c0416732-e12b-f2df-9f09-f137e26ec335", {}]
[12:56:19.327] [info]  Reached state Reserved
[12:56:19.327] [prompt]  Please authorize the transaction, with idTag: '045034FA6B6B80' on connectorId '1'.
[12:56:33.647] [REQUEST]
[12:56:33.647] [msg-in]  [2,"083888b8-9df7-96db-d2cb-6c755326cac6","Authorize",{"idTag":"045034FA6B6B80"}]
[12:56:33.650] [info]  Got expected request message after the previous API request, continuing.
[12:56:33.650] [api_dismissed]  a12da150-d41f-406e-bd9d-d8283168a2b9
[12:56:33.651] [info]  Waiting for 65 seconds to ensure CS does not send an authorize.
[12:56:33.655] [RESPONSE]
[12:56:33.655] [msg-out]  [3, "083888b8-9df7-96db-d2cb-6c755326cac6", {"idTagInfo":{"status":"Accepted"}}]
[12:56:33.656] [info]  No AuthorizeRequest was expected.
[12:56:33.656] [info]  The value of 'Reset CS after testcase' is false
[12:56:33.656] [info]  ============================ Starting Final Cleanup ==============================
[12:56:33.761] [verdict]  FAIL
[12:56:33.761] [info]  The test case has ended.
[12:56:33.762] [stopped_testcase]  

OCTT doesn't want you to make new inquiries when there's already a reservation and the reservation doesn't have a parent ID, that's my understanding.

@PlayXboxtion963
Copy link
Author

if

TC_046_2_CS - Reservation of a Connector - Remote start transaction passes

but

TC_046_1_CS - Reservation of a Connector - Local start transaction fails

then probably it's a problem with your RFID implementation. I am proposing a new function for this, integrated directly into MicroOcpp (#433) that takes care of checking the reservations first before sending an Authorization.req.

bro,can you give me some tips about my RFID implementation? my code are very similar with example/EDF. So i think maybe after Reservation has been implementation but example doesn't update.so maybe it has some contradiction.
hope to receive your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants