Skip to main content
pikopod scenario check drives its own requests against a throwaway engine, so your application is never in the loop. A mode is the other half: it arms the scenario’s standing conditions on the sandbox pikopod up is serving, and then your own tests, your own app, or plain curl meet the failure. A mode is set on the sandbox and stays until cleared. Fault windows, the request journal and the recordings cursor are partitioned by the X-Pikopod-Scope request header, so parallel workers that each send a scope share one sandbox and one mode without consuming each other’s times windows. Requests without the header share the unscoped partition. See Scoped, or global. Needs pikopod up.

mode set

A scenario whose first step is a request has no standing state and is refused with the reason. --bind overrides a role binding, repeatable.

mode show

Prints the standing state, or no mode set.

mode clear

Leaves the standing state and clears every fault on the sandbox.

mode verify

After your own tests ran against the sandbox in a mode, checks what they sent against the scenario’s verification steps. It reads the request journal and never arms, seeds, or resets anything. With --scope, only the requests that carried X-Pikopod-Scope: <token> are judged; without it, only the requests that carried no scope. --format junit writes one testsuite for the mode and one testcase per verification step; --format githubactions one ::error per failed step; --format json the full result. See Modes.
See Modes.