SOLUTIONS · SIMULATION
Simulate the behavior. Not just the request.
A simulation in Jetic is a stateful journey against a live environment. It reproduces the way a client actually uses the API: log in, create, read, retry, and fail in the right places.
WHAT MAKES IT A SIMULATION
The run remembers.
Each step can read what the previous step produced. That is what turns a list of requests into a simulation of use.
Capture
Store a response field in workflow memory under a name you choose.
Inject
Use that value in a later path, body, query, or header.
Conditions
Branch or stop based on what a step captured.
Retries
Repeat a flaky step with a delay before failing the run.
Expected failures
Treat a known error status as a passing outcome.
Preflight
Fail fast when the target is unreachable, before step one.
REAL VS FAKE
No generated stub in the middle.
Jetic simulates the client, not the server. The requests go to your environment, so the behavior you observe is the behavior the API actually has.
- Real middleware, guards, and validation
- Real tokens from the real login endpoint
- Real database state for created resources
- Real error codes for negative paths
MODES
Pick the right kind of fake.
Simulation is overloaded in API tooling. These are different jobs.
| Mode | What it does | Jetic |
|---|---|---|
| Mocking | Returns a canned response instead of calling a service | Not the goal |
| Contract testing | Checks a provider and consumer agree | Partly, via schemas |
| Client simulation | Calls the real API in a realistic order | Yes |
| Load simulation | Generates concurrent traffic | No |
| State simulation | Carries values across calls | Yes, with capture and inject |
BUILD A SIMULATION
Start with one real journey.
Pick
Choose the flow a user actually performs.
Author
Generate bodies and auth from the model in Studio.
Add state
Capture ids and tokens, inject them downstream.
Run
Execute, inspect the trace, and refine.
KEEP GOING
Simulation is a foundation.
SIMULATION FAQ
Frequently asked questions
Does a simulation create real data?
Yes. It calls the target environment, so writes are real for that environment. Use a disposable local or staging target.
Can I clean up afterwards?
Add delete steps to the workflow, or reset the target environment as part of your setup.
What happens if a capture is missing?
Strict templates fail the step before sending when a referenced value has no value.
Can simulations run in parallel?
Runs are workflows with shared state. They are intended to run as ordered sequences; CI parallelism should be handled per job.
Simulate the client. Observe the server.
Build one stateful journey, run it against a disposable environment, and keep the trace.
Try a simulation