boop

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2025 License: MIT Imports: 17 Imported by: 0

README

boop

Boop Boop
Latest Release Build Status

Yet another replacement to ApacheBench/ab/boom/hey for HTTP/2 benchmarking.

Usage

boop https://google.com

100 concurrent requests

boop -c 100 -q 1 https://google.com

POST with Auth

boop -m POST -d '{"key": "value"}' \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $Token" \
  https://example.com/api

Live metrics

boop -live https://google.com

boop

Options
Usage: boop [options] <url>
  -H value
        Custom header. Repeatable.
  -c int
        Concurrency level, a.k.a., number of workers (default 50) (default 50)
  -d string
        Request body. Use @file to read a file
  -h2
        Enable HTTP/2 (default true)
  -k    Skip TLS certificate verification
  -live
        Display live metrics graph
  -m string
        HTTP method (default "GET")
  -n int
        Total requests to perform (default: MaxInt) (default 9223372036854775806)
  -no-keepalive
        Disable HTTP keep-alives
  -no-redirect
        Do not follow redirects
  -q float
        Per‑worker RPS (0 = unlimited)
  -t duration
        Per‑request timeout (default 30s)
  -trace
        Output per request connection trace

Installation

From Source

go install github.com/sethrylan/boop@latest

Or, from Releases

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL