Test charging
Workspace test sessions on the OCPP bench: Ivora's EVerest simulated chargers, driven through real OCPP. A session leases a free bench charger (one per workspace), plugs in its simulated EV, bills on the bench tenant, starts and stops through the bill start and station stop paths, and settles the real bill; the lease ends at settle or cancel, after 15 idle minutes or 30 minutes after it began, and the charger is released once the transaction is complete. Cancel stops and settles a session that charged. Payments use the simulator, or Stripe where this environment allows test payments; never live payments. Environments without a bench answer 409 bench_unavailable (/v1/capabilities reports ocpp_bench). Scopes: sessions:read, sessions:write and payments:write for refunds.
9 endpoints
- getList where a test session's charger may connect/v1/sessions/targets409 bench unavailable where this environment has no bench.
- getList the workspace's test sessions/v1/sessionsNewest first.
- postStart a test session on a bench charger/v1/sessionsLeases a free OCPP bench charger (one per workspace), plugs in its simulated EV, creates a bill on the bench tenant, authorizes it and starts charging through the bill start path.
- getRead a test session's live charging state/v1/sessions/{session_id}Charger state, transaction ID, energy wh and energy kwh and power w from the charging core, and the running cost the charger's display shows.
- postContinue after hosted checkout/v1/sessions/{session_id}/syncReads the payment of an awaiting payment session and starts charging once it is authorized.
- postStop charging/v1/sessions/{session_id}/stopSends the station stop command (OCPP RemoteStopTransaction) for the session's transaction.
- postFinalize and capture the real bill/v1/sessions/{session_id}/settleAfter the transaction completed: finalizes the bench bill from the core's kWh, captures it and releases the charger (the EV unplugs).
- postCancel before charging/v1/sessions/{session_id}/cancelUnplugs the EV, releases the charger and the authorization.
- postRefund a settled test session/v1/sessions/{session_id}/refundRefunds the full captured amount of a completed session through its payment service.