Skip to main content
Once a connection is registered, you can run against it.

See what can run

Returns the available suites. A run only executes suites for modules the selected OCPI version advertises. If a version does not advertise a module, the run refuses it rather than executing a suite that was never made to pass against those routes, so a module absent from a version has no suite there, not a failing one. The advertised set differs by version; 2.3.0 advertises the widest set today, including the Booking and Payments (Direct Payment) suites.

Run everything

Omit module and you get the full compliance suite for the connection’s OCPI version. ?wait=<seconds> blocks for up to that long. Two outcomes, and a CI script has to tell them apart: A 202 is not a failure. Treat it as one and you will report a partner as broken because your timeout was short, which is the same class of mistake as failing them for a declined recommendation. Poll GET /api/v1/testing/runs/$REPORT_ID?wait=<seconds> until the run reaches a terminal state. Without ?wait, the start call returns immediately and you poll the same way.

Run one module or scenario

Useful when you are iterating on one thing and do not want to wait for the rest. A scenario walks an end-to-end story (a session that produces a CDR, a command with its asynchronous callback) rather than checking endpoints in isolation, and it chains its own output: each step feeds the next. That is why a scenario can fail on a late step with a perfectly healthy endpoint; something upstream handed it nothing to work with. Read the exchange on the first red step, not the last.

Send one manual OCPI command

Before scripting a whole flow, it is often worth firing a single request and reading the exact exchange:
The response includes the request that was sent, the response status and body, and the latency.

Manage your runs

Runs are owner scoped: another owner’s run id answers 404.

Gate your build on it

Exit 1 means “your partner broke a rule”. Exit 2 means “we did not get an answer”. Those are different problems and a build log should not conflate them. Gate on failed, not on warnings. A warning means a recommendation was declined, and a declined recommendation breaks no rule. If you fail your build on warnings you will be fixing code that already works, which is the exact mistake this tool refuses to make on your behalf. See Read your report.

Next

Read your report.