Skip to main content
A Case is a saved snapshot of value configuration for a journey. Instead of filling in values from scratch every time you run, you select a case and Reqflo autofills the values it knows. Cases make it easy to run the same journey against different data scenarios repeatedly and consistently.

When to use it

Cases shine when you have more than one meaningful way to run a journey:
  • Happy path — valid credentials, complete data, expected success.
  • Missing funding source — a user account with no payment method attached.
  • Expired token — a token past its TTL to test 401 handling.
  • Edge case input — a particularly large body, a special character in a name field.
Without cases, you’d re-enter these value sets every time. With cases, you save them once and select by name. Cases are useful across all four modes: the editor (Build and Run), Runbook mode, and the CLI.

Key concepts

A case saves value configuration, not execution results. A case is the input side — the “what values does this run use” snapshot. Results from a run are separate. Cases can be created, renamed, duplicated, archived, and restored. You can maintain a small library of named scenarios without cluttering the active list. Selecting a case autofills values. When you pick a case before running, Reqflo fills in the values the case knows about. You can still override individual values before starting the run. Cases and environments are different things. A case describes the data you’re sending (credentials, IDs, body content). An environment describes the system you’re sending it to (base URLs, service config). You combine them: run the “Expired token” case against the staging environment, for example. A pinned or default case may be added in a future release to make it easier to share a recommended starting configuration — but this behavior isn’t finalized, so don’t rely on it yet.

How it works

  1. Configure a journey run with the values you want to save.
  2. Save the configuration as a named case (“Happy path”, “Missing funding source”, etc.).
  3. The next time you run — in the editor, a runbook, or the CLI — select that case by name. Values are pre-filled.
  4. If the journey’s value requirements change, you may need to update the case.
From the CLI:
reqflo run checkout-flow --case "Happy path" --env staging

Examples

A payment journey might have three cases:
Case nameuser_idcard_tokenExpected outcome
Happy pathusr_001tok_validOrder created
Expired cardusr_001tok_expired402, card declined
Missing addressusr_002tok_valid422, validation error
Each case uses the same journey, the same environment — just different input values.