API mocking
AvailableTest workflows without depending on external systems.
Orkovia Process
Service Task
Mock response
A Service Task can be given a mock, so it finishes on its own without a worker or a real system. Use mocking for development, demos, failure testing, unavailable systems, and deterministic test cases.
| Setting | What it does |
|---|---|
| Mock response | Variables the task writes back when it succeeds |
| Response variants | Several responses; one is picked at random each run |
| Failure rate | Chance from 0 to 1 that the task fails and raises an incident |
| Delay | Pretend latency in milliseconds |
{
"customerId": "C1001",
"status": "CREATED"
}A mocked task never calls the real system. Remove mock settings before going live.