Interactive TUI
Launch tensgo with zero flags to open the Larch-themed control center. Monitor live RPS, P95/P99 percentiles, and status codes—then press h to export a standalone HTML report.
Zero-bloat single-binary CLI & interactive TUI in Go. Auto-discover OpenAPI routes, extract auth tokens, run chaos profiles, and enforce CI/CD latency gates.
go install github.com/Errtu0/tensgo@latestRequires Go 1.22+. Installs a single zero-dependency binary into $GOPATH/bin.
Click any terminal capture to inspect full-resolution metrics and bottleneck matrices.
Launch tensgo with zero flags to open the Larch-themed control center. Monitor live RPS, P95/P99 percentiles, and status codes—then press h to export a standalone HTML report.
Point tensgo at any Swagger/OpenAPI JSON schema. It synthesizes mock payloads, detects login endpoints to extract Bearer tokens, and ranks endpoint bottlenecks in a unified matrix.
Simulate real-world failure modes before production does: Spike (Recovery Time), Ramp-Up (Breaking Point capacity), and Soak (Latency Degradation %).
Model multi-step user journeys (Login -> Profile -> Checkout) with isolated per-VU {{token}} variable extraction and injection.
name: "Authenticated Checkout Flow"
base_url: "http://localhost:8080"
vus: 20
duration: "15s"
steps:
- name: "Login"
method: "POST"
path: "/api/login"
extract:
token: "$.token"
- name: "Fetch Profile"
method: "GET"
path: "/api/profile"
headers:
Authorization: "Bearer {{token}}"
- name: "Create Order"
method: "POST"
path: "/api/orders"
headers:
Authorization: "Bearer {{token}}"Tune your thresholds below to generate a drop-in CLI command and GitHub Actions workflow.
Fails the pipeline automatically with non-zero exit status if P95 latency or HTTP error rate (%) crosses your threshold.
tensgo -u https://api.staging.example.com/health -c 50 -d 30s --max-p95 250ms --max-error-rate 1.0name: tensgo Performance Gate
on:
pull_request:
branches: [main]
jobs:
latency-gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Install tensgo
run: go install github.com/Errtu0/tensgo@latest
- name: Enforce SLA Gate
run: |
tensgo -u https://api.staging.example.com/health -c 50 -d 30s --max-p95 250ms --max-error-rate 1.0