description h2load Overview
h2load is an open-source command-line benchmarking tool included in the nghttp2 project for testing HTTP/2 and HTTP/3 server performance. It can simulate large numbers of concurrent connections to measure throughput, latency, and request completion rates under load. The tool supports customizable request configurations, multiple URL targets, and detailed statistical output. Distributed under the MIT License, h2load runs on Linux, macOS, and other Unix-like systems as part of the nghttp2 toolset alongside the nghttp2 client and server components.
help h2load FAQ
Does h2load test H2 databases?
No. h2load is an HTTP benchmarking tool from the nghttp2 project; the name refers to HTTP/2, not the H2 Java database.
Which protocols can h2load benchmark?
It was built around HTTP/2 load generation and can also exercise HTTP/1.1. Builds with the relevant support can test HTTP/3 as well, so available protocols depend partly on how nghttp2 was compiled.
How do I control concurrency in h2load?
The command-line options separate total requests, concurrent clients, and parallel streams. Common flags include `-n` for the request count, `-c` for clients, and `-m` for the maximum concurrent streams per client.
What results does h2load report after a test?
Its summary includes completed and failed requests, requests per second, traffic volume, and timing statistics. These figures help distinguish raw throughput from connection or protocol errors during an HTTP load test.
explore Explore More
Similar to h2load
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.