Andrix.Ng
AND-P-003All Projects

Loopback Load Tester

ServicePerformance Tool
Intro

A local and distributed HTTP load-testing CLI for measuring throughput, latency percentiles, success rates, and server failures under controlled concurrent traffic.

Screenshot of Loopback Load Tester
Overview

A CLI tool to measure API behavior under growing concurrency, designed for both local and distributed testing.

My Role

Software Engineer

Impact

Enabled reproducible performance benchmarks with CI-friendly exit codes and detailed latency reports.

Design & Architecture

The Challenge

Development teams need a reproducible way to understand how an API behaves as concurrency grows, while keeping tests scriptable for local workflows and scalable across several load-generating machines.

The Solution

Engineered a Node.js CLI with run, master, and worker commands; multi-process local execution; synchronized Socket.IO workers; weighted YAML/JSON scenarios; Bearer and custom-header support; p50, p95, and p99 latency metrics; configurable p95 and 5xx thresholds; CI-friendly exit codes; and sanitized JSON reports.

Key Features

  • Local and distributed load generation
  • Warm-up, ramp-up, and steady-state phases
  • p50, p95, and p99 latency reporting
  • CI-friendly thresholds and JSON reports
Technologies Used
Node.jsUndiciSocket.IOYAMLDistributed Systems
Full screen preview