registered, you can run against it.
See what can run
Run everything
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
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
404.
Gate your build on it
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.