API Testing: API flows

API Testing: API flows

Overview

Use this page to create and manage API testing flows. An API flow is a sequence of API requests, modeled as nodes from a start to an end, that simulates a real transaction such as a login followed by one or more protected calls. Flows turn individual API operations into repeatable, multi-step test cases instead of testing each request in isolation.

Before you build a flow, you typically need an API source (an imported OpenAPI or Swagger definition) if you want to pick its operations automatically, and an environment and auth profile if the flow needs to reach a particular environment or carry credentials. Once a flow exists here, it can be run on demand, attached to a recurring schedule on API Testing: Schedules, and its outcomes are recorded on API Testing: Run history.

This page itself lets you search and filter the flow inventory, create a flow five different ways, browse the shared LoadGen Exchange catalog, run any flow directly from its row, and manage each flow's settings, schedule, export, publish state, and deletion from a single menu.

Key concepts

  • API flow - A sequence of API requests, structured as connected nodes between a start and an end, that simulates a real multi-step transaction such as a login followed by one or more protected calls. (related: API Testing: API sources)
  • Source - The API source, such as an imported OpenAPI or Swagger definition, that a flow's request steps were picked from. (related: API Testing: API sources)
  • Reusable - A flow marked reusable can be invoked as a shared step inside other flows, such as a login sub-flow, instead of only running on its own.
  • Impacted only - A filter that narrows the list to flows affected by a recent change, for example an updated API source, so you can spot flows that may need review. (related: API Testing: API sources)
  • Committed revision - A flow's working copy is its draft; publishing commits that draft as a named revision, and some roles can only run committed revisions, not drafts.

When to use it

  • When you need to build a new sequence of API calls to test, such as a login-and-reuse-token transaction, before running or scheduling it.
  • When you want to find a specific flow among many, by name, by source, or by whether it is reusable.
  • When you want to check whether a flow's last run succeeded or failed before scheduling it again.
  • When an API source changes and you want to see which flows are impacted, using the Impacted only toggle.
  • When a flow only has a draft and you need to publish a committed revision so it becomes runnable.

Before you begin

  • At least one API source imported on API Testing: API sources, if you plan to create a flow from the From an API source option.
  • An environment configured on API Testing: Environments, since the run dialog requires choosing one.
  • An auth profile set up on API Testing: Auth profiles, if the flow's requests need to log in or carry credentials.
  • Permission grants that include flow creation and draft/revision read access, since Create flow options and Run can be hidden or disabled otherwise.

Common workflows

Build and run a new flow from an API source

Persona: API test designer

  1. Click Create flow and select From an API source.
    • Expect: The flow wizard opens, listing the operations available in the selected API source for you to pick from.
  2. Select the operations to include and confirm the wizard.
    • Expect: The new flow opens in the editor with a start node, an end node, and the request steps you picked, and it then appears as a new row in the API flows list.
  3. Click Run on the new row.
    • Expect: A run dialog opens so you can choose where to run the flow and start it.

Verify: The row's Last run column updates from empty to a new result, and the run appears in API Testing: Run history.

Find and re-run a failed flow

Persona: Load-test operator

  1. Type the flow name into Search flows by name and click Search.
    • Expect: The table reloads to show only flows whose name matches the text you typed.
  2. Review the Last run column for the matching row.
    • Expect: A red Failed badge with a timestamp shows the flow's most recent run did not complete successfully.
  3. Click Run on that row.
    • Expect: The run dialog opens so you can start a new run of the flow immediately.

Verify: After the run completes, the Last run badge updates to reflect the new outcome, and the result is recorded in API Testing: Run history.

Steps

Step 1

Open API flows from the Test > API Testing navigation.

Expected result: The page loads showing the flow count badge (1) beside the title, the search and filter bar, and a table listing the existing flow, LoadGen, with its status, source, node count, and last run result.

This is the starting point for creating, searching, running, and managing every API flow on the platform.

  • The count badge next to API flows reflects the number of flows currently listed.
  • The Last run column shows a red Failed badge with the run timestamp for the sample flow.
  • The Impacted only toggle is off by default, showing all flows regardless of recent source changes. API Testing: API flows - step 1

Field reference

Field Purpose Format / Validation Required Default
Search flows by name Filters the flow list to names containing the typed text; use it to locate a specific flow quickly instead of scrolling the table. free text No empty
Source Filters the list to flows built from one API source; pick a source to review only the flows tied to it, for example before you change or retire that source. dropdown No All sources
Reusable Filters by whether a flow is marked reusable (callable as a shared step from other flows); narrow to reusable flows to find shared steps like a login, or leave on All flows to see everything. dropdown No All flows
Impacted only Switch on to narrow the list to flows impacted by a recent change, such as an updated API source, so you can find flows that may need review; switch off to see every flow regardless of recent changes. on/off toggle No off

Column reference

Column What it shows How to read it
Name Identifies the flow and links to the flow editor. Click the name to open that flow in the editor.
Status Shows whether the flow is enabled for use. A green Active badge means the flow is in normal use; no other status value was observed on this list.
Source Shows which API source the flow's requests were picked from. Matches the value you would pick in the Source filter; use it to trace which import a flow came from.
Nodes Counts the request/step nodes in the flow, including its start and end. A higher count means a longer, more complex transaction; compare it against what you expect before using the flow in a load test.
Last run Shows the outcome and timestamp of the flow's most recent run. A red Failed badge with a timestamp means the last run did not complete successfully; open API Testing: Run history for the details.
Tags Lists any tags assigned to the flow for grouping or filtering. A dash means no tags are assigned yet.
Actions Row-level controls for running or managing this one flow. Use Run to start the flow immediately, or open the kebab menu for Settings, Schedule, Export, Publish and Delete.

Controls reference

Create flow

Opens a menu of five ways to start a new flow: From an API source (pick operations from an imported source), Blank flow (opens an empty start-to-end flow in the editor), Login & reuse token (logs in, captures a token and reuses it on a later request), Import from file (loads a flow previously exported as JSON from a LoadGen appliance), and Generate with AI (drafts a flow from a text description).

When to use: Use it whenever you need a new flow; pick the option that matches what you already have, a source, a file, or just a description.

Side effects: Mutating: completing any of the five paths creates a new flow, which then appears in the flow list.

LoadGen Exchange

Opens the shared catalog of flows filtered to API Testing.

When to use: Use it to browse or import flows shared across the platform instead of building one from scratch.

Side effects: Read-only navigation; it does not change this list until you import something from the Exchange.

Help

Opens contextual help for this page.

When to use: Use it if you're unsure what a field or control on this page does.

Side effects: Read-only.

Views

Opens a menu of saved list views.

When to use: Use it to switch between saved filter and column combinations for this list.

Side effects: Read-only; switching a view changes what is displayed, not the underlying flows.

Applies the text in Search flows by name, together with any active filters, and reloads the table.

When to use: Use it after typing a name; pressing Enter in the search box has the same effect.

Side effects: Read-only; only changes which rows are displayed.

Refresh

Reloads the flow list from the server with the current filters applied.

When to use: Use it to pick up changes made elsewhere, for example after a teammate creates or runs a flow.

Side effects: Read-only.

Export CSV

Downloads the currently filtered list of flows as a CSV file.

When to use: Use it to share or archive the flow inventory outside the platform.

Side effects: Read-only; does not change any flow.

Run

Opens a run dialog to start that specific flow.

Side effects: Mutating: once confirmed in the dialog, starts a new run and updates the row's Last run value when it completes.

Actions

Opens the row's menu of management actions: Settings, Schedule, Export, Publish, Delete.

When to use: Use it to manage a single flow beyond running it.

Side effects: Read-only to open; the individual items it reveals may mutate the flow.

Settings

Opens the flow editor for this flow.

When to use: Use it to change the flow's requests, structure, or flow-level settings.

Side effects: Navigational; changes are only saved if you edit and save inside the editor.

Schedule

Navigates to API Testing: Schedules with this flow pre-selected.

When to use: Use it to set up a recurring run for this flow.

Side effects: Navigational; no schedule is created until you configure one on that page.

Export

Exports this single flow.

When to use: Use it to back up a flow or move it to another environment or appliance.

Side effects: Read-only on this list; produces a downloadable file.

Publish

Opens a dialog to publish the flow's current draft as a committed revision.

When to use: Use it when a flow only has an unpublished draft and needs a committed revision before certain roles or schedules can run it.

Side effects: Mutating: once confirmed, creates a committed revision of the flow.

Delete

Removes the flow.

When to use: Use it to clean up a flow you no longer need.

Side effects: Mutating and destructive: deletes the flow; stays visible but disabled, with an explanatory note, when the flow is still referenced by another flow or by a profile.

Verify the result

After creating or editing a flow, it appears as a row in the API flows table with its name, Status badge, Source, Nodes count, and the flow count badge beside the page title increments to match. Running a flow updates that row's Last run column from empty, or from its previous result, to the new outcome and timestamp once the run completes. If a new or edited flow is missing from the list, check whether the Source, Reusable, or Impacted only filters are excluding it, or clear Search flows by name and click Refresh. If a flow's Last run stays blank after you click Run, open API Testing: Run history to confirm whether the run actually started.

Troubleshooting

  • Symptom: The Run button is disabled or a message states your role cannot read the flow's saved draft. Fix: check whether the flow has a committed revision (use Publish to create one), or ask an administrator to grant draft-read access.
  • Symptom: The Source filter only offers All sources. Fix: this happens when your role cannot read API sources; ask an administrator for source-read permission, or filter using Search flows by name instead.
  • Symptom: The Reusable filter is disabled with an explanatory note. Fix: the connected API source is older than the reusable feature and cannot report the mark; continue to search by name or Source instead.
  • Symptom: Delete stays visible in the row's Actions menu but is disabled. Fix: the flow is still referenced, either by another flow or by a profile; remove that reference first, or check the menu item's note for which dependency is blocking it.
  • Symptom: The Last run column shows Failed for a flow you expect to be healthy. Fix: click the flow's Name to open it, or check API Testing: Run history for the failure details before re-running or rescheduling it.
Was this article helpful?
0 out of 0 found this helpful