Turn a workflow into an API test suite

Draft an API suite from a workflow's system steps in one click, so each step reads Verified once its test passes.

In short

A workflow's steps with an API call become saved requests and an API Tester suite with happy-path, error and missing-input cases. This is the "API and tests" row of "Create the plan"; each step then reads Verified once its test passes, or Failing when it fails.

Before you start

Draft a suite

  1. In each action step's "Building it" section, give it an "API call" - a method, a path and a "Success status" - and each error path the "Status it answers".
  2. Press "Create the plan" in the toolbar.
  3. Under "API and tests", choose the "Project" or "Make a new project". Switch "Cards" off if you want only the tests.
  4. Read the endpoints and the tests line, such as "1 suite ยท 23 cases (9 happy path, 11 error branch, 3 missing input)", and press "Make it".
  5. Press "Open suite" and run it - against the mock first if the code does not exist yet.

What each case holds

Good to know

If something goes wrong

Related