|
| 1 | +export default { |
| 2 | + name: 'boot-outside-repeat-window', |
| 3 | + description: |
| 4 | + 'Two BootNotifications triggered outside the configured repeat window, expecting no failures.', |
| 5 | + trace: { |
| 6 | + traceId: 'scenario-boot-outside-repeat-window', |
| 7 | + metadata: { |
| 8 | + stationId: 'CS-SYNTHETIC-023', |
| 9 | + ocppVersion: '1.6', |
| 10 | + source: 'synthetic-scenario', |
| 11 | + description: '2 BootNotifications 300+ seconds apart should not trigger failure', |
| 12 | + }, |
| 13 | + events: [ |
| 14 | + { |
| 15 | + timestamp: '2026-02-01T11:00:00.000Z', |
| 16 | + direction: 'CS_TO_CSMS', |
| 17 | + message: [ |
| 18 | + 2, |
| 19 | + 'msg-001', |
| 20 | + 'BootNotification', |
| 21 | + { |
| 22 | + chargePointVendor: 'SyntheticVendor', |
| 23 | + chargePointModel: 'SM-100', |
| 24 | + chargePointSerialNumber: 'CS-SYNTHETIC-023', |
| 25 | + firmwareVersion: '1.0.0', |
| 26 | + }, |
| 27 | + ], |
| 28 | + }, |
| 29 | + { |
| 30 | + timestamp: '2026-02-01T11:00:00.500Z', |
| 31 | + direction: 'CSMS_TO_CS', |
| 32 | + message: [ |
| 33 | + 3, |
| 34 | + 'msg-001', |
| 35 | + { |
| 36 | + currentTime: '2026-02-01T11:00:00.500Z', |
| 37 | + interval: 300, |
| 38 | + status: 'Accepted', |
| 39 | + }, |
| 40 | + ], |
| 41 | + }, |
| 42 | + { |
| 43 | + timestamp: '2026-02-01T11:03:00.000Z', |
| 44 | + direction: 'CS_TO_CSMS', |
| 45 | + message: [2, 'msg-hb-1', 'Heartbeat', {}], |
| 46 | + }, |
| 47 | + { |
| 48 | + timestamp: '2026-02-01T11:03:00.500Z', |
| 49 | + direction: 'CSMS_TO_CS', |
| 50 | + message: [3, 'msg-hb-1', { currentTime: '2026-02-01T11:03:00.500Z' }], |
| 51 | + }, |
| 52 | + { |
| 53 | + timestamp: '2026-02-01T11:06:30.000Z', |
| 54 | + direction: 'CS_TO_CSMS', |
| 55 | + message: [ |
| 56 | + 2, |
| 57 | + 'msg-002', |
| 58 | + 'BootNotification', |
| 59 | + { |
| 60 | + chargePointVendor: 'SyntheticVendor', |
| 61 | + chargePointModel: 'SM-100', |
| 62 | + chargePointSerialNumber: 'CS-SYNTHETIC-023', |
| 63 | + firmwareVersion: '1.0.0', |
| 64 | + }, |
| 65 | + ], |
| 66 | + }, |
| 67 | + { |
| 68 | + timestamp: '2026-02-01T11:06:30.500Z', |
| 69 | + direction: 'CSMS_TO_CS', |
| 70 | + message: [ |
| 71 | + 3, |
| 72 | + 'msg-002', |
| 73 | + { |
| 74 | + currentTime: '2026-02-01T11:06:30.500Z', |
| 75 | + interval: 300, |
| 76 | + status: 'Accepted', |
| 77 | + }, |
| 78 | + ], |
| 79 | + }, |
| 80 | + { |
| 81 | + timestamp: '2026-02-01T11:09:00.000Z', |
| 82 | + direction: 'CS_TO_CSMS', |
| 83 | + message: [2, 'msg-hb-2', 'Heartbeat', {}], |
| 84 | + }, |
| 85 | + { |
| 86 | + timestamp: '2026-02-01T11:09:00.500Z', |
| 87 | + direction: 'CSMS_TO_CS', |
| 88 | + message: [3, 'msg-hb-2', { currentTime: '2026-02-01T11:09:00.500Z' }], |
| 89 | + }, |
| 90 | + ], |
| 91 | + }, |
| 92 | + expectedFailures: [], |
| 93 | + assertions: [ |
| 94 | + { |
| 95 | + type: 'no_failures', |
| 96 | + params: {}, |
| 97 | + }, |
| 98 | + ], |
| 99 | +}; |
0 commit comments