Nayax Energy Core OCPP Integration Tests
Nayax Energy Core OCPP Integration Tests
Integration Tests
TABLE OF CONTENT
1. Test Pre-Requisites .................................................................................... 2
1.1. Hardware ............................................................................................... 2
1.2. Software ................................................................................................ 2
1.3. Test Information ..................................................................................... 2
2. Integration Tests ........................................................................................ 4
2.1. Charging Station Connectivity ................................................................... 4
2.1.1. Charger Startup .................................................................................. 4
2.1.2. Charger Sending Heartbeat & Configuration ............................................ 5
2.2. Charging Session .................................................................................... 6
2.2.1. Authorization with RFID Card ................................................................ 6
2.2.2. Charging Session - Start and Stop Locally ............................................... 7
2.2.3. Charging Session - Remote Start and Stop .............................................. 9
2.2.4. Charging Session - Fault on Socket ...................................................... 10
2.2.5. Charging Session - Power Loss ............................................................ 10
2.3. Server Configuration ...............................................................................11
2.3.1. Change Availability ............................................................................ 11
2.3.2. Remote Reset................................................................................... 11
2.3.3. Get Diagnostics ................................................................................ 11
2.3.4. Trigger Message ............................................................................... 12
2.3.5. Install Firmware Update ..................................................................... 13
2.4. Working Offline ...................................................................................... 14
2.4.1. Lost Communication .......................................................................... 14
2.4.2. Clear Cache ..................................................................................... 15
2.5. Card Reader Integration ..........................................................................16
2.5.1. Pay with CC via Nayax Card Reader ..................................................... 16
3. Test Summary .......................................................................................... 17
Page 1 of 17
1. Test Pre-Requisites
For any question, please contact us on email: zachi@nayax.com
1.1. Hardware
Required equipment for tests:
1. Real Charging Station connected to communication network.
2. Electric vehicle with charging cable / EV simulator with load.
3. RFID card for authorization command test.
1.2. Software
1. The Charging Station info should be sent to Nayax integration team before the test
to configure it in the Nayax Energy Core:
o Charging Station Serial Number.
o Vendor Name sent in the Boot Notification command.
2. The Charging Station should open a web socket with below URL:
o wss://qa2-evtranslator.nayax.com/ocpp16/2002123712/
- OR -
ws://qa2-evtranslator.nayax.com/ocpp16/2002123712/
o This is the testing environment and 2002123712 is the Operator Id.
o The Charging Station SN should be sent after this open web socket request.
Page 2 of 17
Page 3 of 17
2. Integration Tests
2.1. Charging Station Connectivity
2.1.1. Charger Startup
Check boot notification message is sent upon Charging Station initialization.
Preconditions
1. Charging Station power is off.
2. Charging Station is configured.
2.1. Charging Station Number = Charging Station serial number sent.
2.2. Charging Station model = new model created for this test with the brand and
model.
Test Scenario
1. Connect the Charging Station to the power supply.
2. Expected result:
2.1. Backend should receive boot notification message with all required data:
vendor, model, serial number, charger serial number, IMSI (if on GSM), etc.
Results
Success / fail
Page 4 of 17
2.1.2. Charger Sending Heartbeat & Configuration
Check that charger is signaling live status to the back end in regular intervals.
Preconditions
1. Boot finished successfully.
Test Scenario
Results
Get Configuration received:
Page 5 of 17
2.2. Charging Session
2.2.1. Authorization with RFID Card
Charging Station sends authorization request to the back end when user swipes RFID
card and authorization should be sent.
Preconditions
1. Charge status is Available.
2. Set Authorization is needed in the Nayax Energy Core.
3. Prepare RFID card that will be registered via test flow.
Test Scenario
Page 6 of 17
2.2.2. Charging Session - Start and Stop Locally
Full cycle charging session where start and stop transaction are done locally in the
charge station.
Preconditions
1. Charge status is Available.
2. Set Authorization is needed in the Nayax Energy Core.
3. Use RFID card defined in the Nayax Energy Core so authorization should be
approved.
4. If supported, set Meter Value Clock Aligned Data Interval as 10 minutes.
Test Scenario
Page 7 of 17
Results
Set MeterValuesSampledData AS
Energy.Active.Import.Register,Current.Import,Power.Active.Import,Current.Offered,Power.Offered,Voltage,SoC
Test the Meter Sample Value again.
Supported: Yes / No
Page 8 of 17
2.2.3. Charging Session - Remote Start and Stop
Charging Station should allow remote start and stop charging from Core App/DCS.
Preconditions
1. Charge status is Available.
2. Set Authorization is needed in the Nayax Energy Core.
Test Scenario
Page 9 of 17
2.2.4. Charging Session - Fault on Socket
Verify how charger reacts when fault on socket occurs.
Preconditions
1. A charging session is running.
2. Option to simulate fault on Car simulator.
Test Scenario
Preconditions
1. Charge status is Available.
Test Scenario
Page 10 of 17
2.3. Server Configuration
2.3.1. Change Availability
Verify charger respect availability configuration.
Preconditions
1. Charge status is Available.
Test Scenario
Preconditions
1. Charging Station is connected to the Nayax Energy Core.
Test Scenario
Page 11 of 17
2.3.3. Trigger Message
Test the Trigger Message command.
Preconditions
1. Charging Station is connected to the Nayax Energy Core.
Test Scenario
Page 12 of 17
2.3.4. Get Diagnostics
Test Get Diagnostics.
Preconditions
1. Charging Station is connected to the Nayax Energy Core.
Test Scenario
Preconditions
1. Charging Station is connected to the Hi Nayax Energy Core ve.
Test Scenario
Page 13 of 17
2.4. Working Offline
2.4.1. Lost Communication
Continue to work when communication is lost.
Preconditions
1. Charging Station is connected to the Nayax Energy Core.
2. RFID Card tarted a transaction in this charge station.
3. Set offline configuration.
Test Scenario
Page 14 of 17
2.4.2. Clear Cache
If Cache Authorization is supported, check Clear Cache empty the cache.
Preconditions
1. Charging Station is connected to the Nayax Energy Core.
2. RFID Card started a transaction in this charge station.
3. Set Authorization Cache Enabled = True.
Test Scenario
Page 15 of 17
2.5. Card Reader Integration
2.5.1. Pay with CC via Nayax Card Reader
The authorization should include the info this is Credit Card payment with Nayax Card
Reader.
Preconditions
1. Charging Station with VPOS Touch / Onyx integrated in Marshall.
2. Manufacturer implemented Credit Card payment logic:
2.1. Authorization and Start Transaction sends NAYAX_<Marshal Transaction Id>
instead of RFID.
Test Scenario
Page 16 of 17
3. Test Summary
Page 17 of 17