PRODUCT · SIMULATIONS
Same file in. Same run out.
A simulation executes a saved workflow against a live environment. Jetic preflights the target, runs the ordered steps, checks every expectation, and stores a trace you can inspect step by step.
THE RUNNER
A test run you can read afterward.
Every step records the request it sent, the response it received, the captures it made, and the time it took.
Preflight
Probe the target before step one and fail fast when it is unreachable.
Ordered execution
Steps run in file order with memory available to every later step.
Status assertions
Each step checks its expected status; extra codes can be declared as passes.
Schema validation
Response fields are validated against the modeled contract.
Captures
Values from requests and responses are stored for the rest of the journey.
Trace
The full run is stored under .jetic/runs for review and replay.
ENVIRONMENTS
Point the run at the right server.
Environments declare base URLs for local, staging, or production. Workflows stay the same; only the target changes. A preflight stops a run before it wastes time on an unreachable host.
- Select an environment by name or override the base URL
- Fail fast or warn when the target is unreachable
- Keep secrets in environment references, not in files
- Use a separate memory scope when runs must not interfere
RUN LIFECYCLE
From saved file to stored evidence.
Resolve
Cross-check the workflow against model.json before sending anything.
Preflight
Probe the environment and stop early on an unreachable target.
Execute
Run each step, resolve templates, and inject captured values.
Record
Store requests, responses, captures, timings, and errors.
EXPECTATIONS
What a passing step actually checks.
| Check | Default behavior | Failure handling |
|---|---|---|
| Expected status | 200 unless the step declares another code; any 2xx passes when a 2xx is expected. | The step fails unless the code is listed in continueOnStatus. |
| Response schema | When a response schema exists, fields are validated against it. | A mismatch fails the step. |
| Required captures | A capture path that is missing fails the step. | Later steps cannot read the missing key. |
| Unresolved template | Strict mode fails before sending an empty value. | Set strictTemplates false for legacy behavior. |
| Timeout | 30 seconds per request by default. | The step fails with a timeout error in the trace. |
NEXT
Keep the run moving.
SIMULATION FAQ
Frequently asked questions
Does a simulation need the server running?
Yes. Execution is against a live server. Scanning is static, but a simulation sends real HTTP requests to the selected environment.
Are runs isolated from each other?
Each run gets its own memory scope. Use clearMemory when a fresh state is required, and use non-production environments for destructive journeys.
Can I run a workflow asynchronously?
Yes. Start the run in the background and poll its run id while it progresses. The stored trace updates as steps complete.
Where can I find a past run?
Runs are stored under .jetic/runs. List them in the CLI or Studio, then open a run to see every request, response, and capture.
Run it. Read it. Replay it.
Turn a saved workflow into a recorded run with status checks, captured memory, and a trace you can share with your team.
Start simulating