Volver
Tango — Declarative API Testing CLI

Tango — Declarative API Testing CLI

Tango

A declarative API testing CLI that lets you define HTTP workflows in YAML. Chain requests together, capture response data with JSONPath, validate with assertions, control flow with conditions, and retry with exponential backoff — all without writing a single line of code.

Code: GitHub

What it does

Tango reads a YAML workflow definition and executes it step by step: each step is an HTTP request with configurable method, URL, headers, and body. Templates resolve variables from config, environment, and previous step captures. Steps can depend on one another explicitly or implicitly (the parser auto-derives dependencies from template references and conditional guards).

After each request, assertions validate the response — status codes, response time, body content, and JSON values via JSONPath. Failed requests can retry with exponential backoff. Conditional steps use run_if and skip_if_failed to control execution flow. The output is a clean terminal summary showing pass/fail per step, with an option to dump full request/response details.

Tango ships as a single statically-compiled binary and is distributed through Homebrew (macOS), Copr (Fedora/RHEL), and .deb packages (Debian/Ubuntu).

Tech stack

Key features