Which versions
Hub testing runs on OCPI 2.2, 2.2.1 and 2.3.0, the versions that define message routing. OCPI 2.1.1 mentions hubs in its introduction (“A good roaming system (for bilateral usage and/or via a hub)”) but has no routing headers, no Role enum and no HubClientInfo module, so there is nothing in it for a hub test to check.Check your hub’s identity
Identity testing needs one registration and runs on Integrate.- In ChargerDojo, open Endpoints, choose Add endpoint and pick Test a roaming hub. The command palette entry Test a roaming hub opens the same form with the persona chosen.
- Keep the mode on Identity. Enter your hub’s base URL and its OCPI version. The form shows the exact versions URL we will ask for.
- Enter your hub’s own party. It is required on 2.3.0, where a hub names itself by
hub_party_id. - Enter the CPO test party your hub provisioned for us and the registration token (Token A) it issued for that party, then Register.
Trace a relay between two test parties
Relay testing runs on Automate. We join your hub as two parties, a CPO and an eMSP, so a request one sends can be watched arriving at the other.- In the same form, switch the mode to Relay.
- Enter a CPO test party and an eMSP test party, each with the registration token your hub issued for it. The two parties must differ, and the pair uses two of your plan’s endpoints.
- Register both. Each side registers on its own. If one side fails, its row shows Retry beside it, and the healthy side stays registered.
CONNECTED, the run sends no relay traffic and marks the relay checks unobservable with that
reason. Set up the agreement between the two
test parties, then run again.
Automate also schedules the relay. Open Schedule on the paired endpoint, choose Hub relay,
and every scheduled run re-reads both registrations and your current plan before it sends anything.
A schedule pauses itself when either registration goes away and resumes on its next slot once the
pair is back.
Certified covers many hubs and pairs under fair use, on a quote.
What each check grades
Every hub journey check cites the clause it grades. These SHALL rules can fail your hub:
The quotes are from the OCPI 2.2.1 chapters
Message routing,
Unique message IDs,
Hub errors and
Credentials. OCPI
2.2 and
2.3.0 print the
same routing, message-id and error text; the 2.3.0
Credentials chapter carries
hub_party_id where 2.2 and 2.2.1 carry the Hub role.
Party ids compare as case-insensitive strings, as their CiString type says. Message ids compare
byte for byte. last_updated compares as an instant, so 10:00:00Z and 10:00:00.000Z are the
same value.
U08 grades what the list proves. A list missing our other party is unobservable rather than failed,
because a party can be activated by the relay itself, and a later delivery proves nothing about an
earlier listing. An omitted, null or empty list is permitted. A list container that is present and
is not a list fails.
These three are observations. They appear in the report and never fail your hub:
When a check’s premise is missing, the check is unobservable and the report says why. A relay that
never reached our eMSP party makes U01 to U05 unobservable instead of failed, and the report shows
which hop was not observed.