Load-test an HTTP endpoint with a fast reproducible CLI probe using oha
Run a quick concurrent HTTP benchmark against a URL before deeper performance work or regression triage.
What it does
Load-test an HTTP endpoint with a fast reproducible CLI probe using oha
Run a quick concurrent HTTP benchmark against a URL before deeper performance work or regression triage.
Prerequisites
oha
Installation
Use the upstream install or setup path that matches your environment:
- cargo install oha
- cargo install --no-default-features --features native-tls oha
- cargo install --features vsock oha
- brew install oha
Requirements and caveats from upstream:
- This program is built on stable Rust, with both make and cmake prerequisites to install via cargo.
- It will remain experimental as long as H3 is experimental. It currently depends on using rustls for TLS.
-
Official Docker image
Basic usage or getting-started notes:
-
You can optionally build oha against native-tls instead of rustls.
-
You can enable VSOCK support by enabling vsock feature.
-
You can enable experimental HTTP3 support by enabling the http3 feature. This uses the H3 library by the developers of Hyper.
-
Source: https://github.com/hatoo/oha
-
Extracted from upstream docs: https://raw.githubusercontent.com/hatoo/oha/HEAD/README.md
Documentation
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,448 chars)