qmetrics.net

Go Stress Testing

Go command-line HTTP and gRPC load tester

go-stress-testing drives concurrent HTTP, WebSocket, and gRPC requests from the terminal and prints QPS and latency stats.

Overview

go-stress-testing is a load testing tool written in Go. Each simulated user runs in its own goroutine to drive traffic against a target URL or protocol endpoint. It reports per-second progress and a final summary with success and failure counts, QPS, latency extremes, averages, and returned status codes.

Basic usage sets concurrency, requests per user, and a target address from the command line. The tool supports HTTP/1.1 and HTTP/2, including keep-alive connections, and can load request details from curl-format files for non-GET methods, headers, cookies, and bodies. File-based payloads support binary uploads via data flags.

gRPC benchmarking requires small custom Go code to describe the service call. After a run it can emit an HTML report with optional scoring of results. Prebuilt binaries are offered for macOS, Linux, and Windows, and installation is also available through Go tooling.

Documentation in the project compares common alternatives such as ab, Locust, and JMeter and walks through large-scale connection tests, but the tool itself is the standalone CLI binary.

Key features

  • Concurrent goroutine-based users
  • HTTP and HTTP/2 load
  • curl file request import
  • gRPC benchmark hooks
  • Live per-second metrics
  • HTML result report
  • WebSocket stress support
  • Cross-platform binaries

Use cases

  • API capacity testing
  • QPS baseline measurement
  • gRPC service stress tests
  • Pre-release performance checks

Tags

Similar software

Keploy

Record-and-replay API and integration testing from traffic

Keploy captures API calls, database queries, and streaming events, then replays them as tests and dependency mocks without changing application code.

★ 20k⟳ todayApache-2.0

GoReplay

Capture and replay live HTTP traffic

GoReplay records HTTP from network interfaces and replays it to test servers for shadowing, load testing, and debugging. It runs as a command-line daemon without in-path proxy changes.

★ 19.3k⟳ 1 year agoGPL-3.0 · open core
API Development & TestingNo commits in 18+ monthsDesktop/CLI app

MSW

JavaScript API mocking through network-level request interception

Mock Service Worker lets you define HTTP mocks once and reuse them in browsers and Node.js. Applications keep calling real APIs while responses are substituted at the network layer.

★ 18.4k⟳ 2 days agoMIT

supertest

Node.js HTTP server testing via superagent

Supertest offers a fluent API for asserting HTTP behavior against Node.js servers during automated tests. It builds on superagent so you can express status, headers, and body expectations in code.

★ 14.4k⟳ 21 days agoMIT

MeterSphere

Open continuous testing platform with built-in AI assistant

MeterSphere is an open continuous testing tool with AI-assisted case generation, test management, and API testing for teams. It uses a system-organization-project hierarchy for collaboration.

★ 13.7k⟳ 1 month agoGPL-3.0

Karate

Unified open-source test automation framework

Karate combines API testing, mocks, performance testing, and UI automation in one framework with a readable syntax. Tests run via JUnit, a CLI, or CI/CD with parallel execution.

★ 9k⟳ 2 days agoMIT