CONF- for a conformance sweep or JRN- for a journey.
An invented EVSE ID keeps its standard format and carries CONF or JRN in its local identifier.
Partner-served identifiers and registered party identities stay unchanged. Use these markers
to find test data on the partner. Accepted CDRs cannot be deleted; credit them instead.
A report shows each graded check, its verdict and the recorded request and response. A pass
covers only those checks, for the endpoint, version and modules you chose. It is not full
conformance and not a certificate.
A production sweep has a Read-only run notice. Writes withheld by that setting are Not tested,
with the reason Not run: this endpoint is marked production, so ChargerDojo sends it no writes.
They are neither passes nor Not applicable. Passing reads give Partial coverage. The recorded
environment is the one the run started with, even if the endpoint card changes later.
Fetch the report
Operation reference:GET /testing/runs/{id}.
data.summary. Everyone in your organisation can read its reports.
A report id from another organisation answers 404. Reports remain available for your plan’s
retention window, which GET /api/v1/usage reports.
The five verdicts
A run counts five things: checks that passed, checks that failed, checks that warned, checks that were not tested, and checks that were not applicable. A check is not tested when the response carried nothing to grade, or an earlier step returned nothing for it to address, such as an empty CDR list. A not-applicable check is outside your endpoint’s responsibilities: your version details do not offer that module or interface, the rule needs a role we did not register with you, or it describes ChargerDojo’s own payload or report. Neither is ever counted as a failure. The verdict is derived from those counts and from what the run was allowed to cover.These five words are worked out from the counts when a report is displayed. The API sends the
counts, not the word:
data.summary carries total, passed, failed, warned,
unobservable and notApplicable, and
data.status says whether the run reached a verdict at all. So gate CI on failed, and read
the word off the screen.Why a warning is not a failure
The OCPI specification says two different kinds of thing. It says what you must do (SHALL, MUST), and it says what you should do (SHOULD, “it is advised”). These
are not the same, and the difference is not a matter of emphasis. It is the difference
between breaking the protocol and declining a suggestion.
A partner who ignores a SHOULD has broken nothing.
Sources: OCPI 2.2.1 requirement keywords and RFC 2119 sections 1 and 3.
So we will never fail you for one. We will never call you “partially compliant” either,
because that phrase would send you to go and fix code that already works. If your report
says Passed with warnings, every check that ran passed.
The warnings are there because you might want to know, not because you owe anyone anything.
A few warnings come from our own rules rather than a SHOULD, and the summary names them as ours.
This is the single most important sentence in this documentation, so it is worth being
blunt about the alternative. A tester that fails you for declining a recommendation is
not being strict, it is being wrong: it fails a compliant partner and sends a
working integration back for repair. That is the worst thing a conformance tool can do,
worse than missing a real bug, and it is the failure this product is built to avoid.
data.summary.failed, never on warned.
Our recommendations are not OCPI rules
Some advice comes from us, not from the specification. A check can carry a ChargerDojo recommendation, shown in blue with a bulb beside the status and explained when you open the check. It names its source and the date we read it. It never passes or fails a check, it is not a warning, and it changes no count and no verdict. Response time works this way, as two separate rules:- The OCPI rule. OCPI sets no response time. When one of our own time limits stops a request
(30 seconds of silence, or 60 seconds for the whole response), the check is not tested,
with the time it waited and the label
ChargerDojo limit. It is never failed, and it is not retried, because OCPI tells a client not to queue and resend a failed request. A run that reaches its own 10-minute limit stops as interrupted, never failed, keeps every check it already graded, and sends no more. - Our recommendation. Answer each request within 10 seconds. Real counterparties give up after a few seconds: Plugsurfing’s Roam OCPI FAQ documents a real-time authorization timeout configurable from 1 to 10 seconds. A slower answer is flagged on its check.
recommendations on each check) and in the MCP
checks tool, always labelled as ours.
Why a red result can be trusted
Here is the question nobody asks a test suite, and everybody should:If your check were broken, would it still show green?A check that can never fail certifies everybody. It looks exactly like a check that works, it costs nothing to write, and it will happily approve a partner who is completely broken. A test suite full of those is not a weak test suite. It is a decorative one. So we test our own tests. Alongside the tester we run a set of mutant peers: copies of a correct OCPI server, each deliberately broken in exactly one way. One sends no pagination headers. One returns an HTTP error where the spec requires a 2xxx rejection to ride HTTP 200. One accepts any credentials token you give it. One emits timestamps in a format the spec forbids. Each mutant breaks one rule, and the check that guards that rule must turn red. If it does not, we have found a check that cannot fail, and we either fix it or delete it. Every conformance check on 2.1.1, 2.2, 2.2.1 and 2.3.0 has been proven capable of failing, and that is enforced in our build rather than asserted in a blog post. A check that stops being falsifiable breaks our own test suite before it ever reaches you. You can see it on the check in front of you, not just in the aggregate. Expand a failed conformance check in your report and it names the mutant that proved that check can go red, along with the rule that mutant breaks. Silence there means one of two things, and neither is a check we skipped. A few conformance checks name no mutant at all: where a check grades only that a partner accepted something the spec also lets them refuse, a mutant aimed at it would mean failing partners who broke nothing, so we write down why no mutant can exist instead of inventing one. A failed step in a scenario names none either, because the scenario sweep described below proves its checks separately and that proof is not carried onto the step yet.
The limits of that claim, stated plainly
“Conformance check” is narrower than it sounds, and the difference matters. A conformance check asserts one rule against one exchange. A scenario walks a story end to end, chaining its own output from step to step. They run the same way and appear in the same suite list, so if you are weighing this claim, the count above is the modules whose names do not begin withscenario_.
Scenarios have their own sweep, and it is stricter. A conformance mutant has to redden
something; a scenario mutant has to redden the check we named in advance, and every check
in the flow has to be proven, not just covered. So the claim holds for scenarios too. It is
stated separately because the two sweeps prove different things and collapsing them would
overstate what the conformance one does.
Terms in this section that are ours rather than the specification’s (scenario, not tested,
warning) are defined in the glossary.
What our own sandbox does not do
A verdict is only as good as the peer behind it, so these are the places our sandbox is not a complete OCPI implementation. Nothing here affects a run against your endpoint; it affects what a run against the sandbox proves.- We are not the EVRoaming Foundation. Internal conformance coverage is not an external OCPI certification. Internal parity coverage is not an external OCPI certification.
- ChargingProfiles serves the Receiver interface only on 2.2.1. The Sender interface is not implemented, so a green 2.2.1 run has not touched it.
- The sandbox reserves a few Commands ids.
UNKNOWN-LOCATIONandUNKNOWN-EVSEalways answerREJECTED, andUNKNOWN-SESSIONalways answersUNKNOWN_SESSION, so you can exercise the rejection paths on purpose. - The Sender and Receiver interfaces are kept apart from 2.2 onward. The sandbox’s Sender
endpoints serve only the objects it owns, so a Session you push to
/sessions/{country_code}/{party_id}/{session_id}does not come back onGET /sessions: those two URLs belong to two different parties. On 2.1.1 the sandbox still merges them, so there your push does come back on the Sender list. One exception, on 2.3.0 CDRs: a CDR can never be changed once sent, so CDRs pushed to the sandbox before it kept the two interfaces apart carry no marker to hide them, andGET /cdrsstill serves them. CDRs you push now are split correctly.
The exchange behind every check
Every check that was exercised carries the HTTP request that was sent and the response that came back, the rule it was testing, and whether that rule is one the specification requires or only recommends (severity, which is shall unless it says should).
A check can also carry the clause behind it: the specification file, the section, and the anchor
that survives updates to the specification text. Where someone has read that clause and written it
down, you get its words too, and whether it binds as SHALL or only SHOULD.Not every check carries one yet. A citation with no strength is an address we recorded but have
not read back to you; one with a quote has been checked against the specification text on every
build. Charging journey assertions carry a reference on every assertion.
What to do next
Share a report
Send the evidence to your partner.
Troubleshooting
Common failures and what they usually mean.