Skip to main content

Test Flows

What Are Test Flows?

Test Flows allow chaining of multiple API requests with conditional logic, response validation, and reusability. They simulate real-world API usage patterns like login → get token → access protected route.

Key Features

  • Visual flow builder (drag & drop)
  • Use variables from previous responses
  • Trigger sequential or parallel execution
  • Nested condition support
  • Add assertions and validations (Coming soon)

Benefits

  • Automates complex testing workflows
  • Reduces human error in repeated tests
  • Ideal for integration, smoke, or regression testing

How Sparrow Implements It

  • Access Test Flows from the sidebar inside any workspace
  • Link any existing requests from collections
  • Supports environment variables throughout the flow
  • Add assertions using code or UI blocks

Ideal Use Cases

  • Login → Token Auth → Resource Access → Logout
  • Conditional testing based on response status
  • Sequential tests across microservices