AutoCannon is an HTTP benchmarking tool for measuring the performance of web applications and services. Inspired by wrk and wrk2, it generates concurrent HTTP traffic and collects statistics about the responses. It is intended for developers who want to examine server throughput, response latency and the effects of changing the number or frequency of incoming requests.
The utility can run from the command line or be invoked through a programming interface, making it suitable for standalone benchmarks and automated application tests. Users can specify how many connections to open, how long to run a test, how many requests to issue and whether to use HTTP pipelining. It also supports rate-limited workloads, which are useful when the objective is to reproduce a particular request arrival rate rather than send requests as quickly as possible. Its reporting includes latency percentiles, request rates and transferred bytes, helping identify performance differences that might be obscured by averages alone.
This is free and open source software.
Key Features
- HTTP/1.1 benchmarking with support for HTTP and HTTPS connections.
- Configurable concurrency – specify how many connections are maintained during a test.
- HTTP pipelining – control the number of pipelined requests per connection.
- Test duration and request limits – stop after a specified interval or number of requests.
- Worker threads – distribute load generation across multiple execution threads.
- Rate limiting – control requests per second for individual connections or the overall workload.
- Coordinated omission correction – account for delayed requests when measuring fixed-rate workloads.
- Warm-up periods – allow the target application to stabilise before collecting benchmark measurements.
- Custom HTTP requests – specify methods, headers, request bodies and form submissions.
- HAR input – replay compatible requests imported from HTTP Archive files.
- Connection management – configure request limits per connection, reconnection and timeouts.
- Failure conditions – stop tests after a specified number of failures.
- Response verification – check response bodies against expected content.
- Detailed latency reporting – display percentile distributions, averages and maximum request times.
- Throughput statistics – measure requests per second and bytes transferred.
- JSON output – export results for processing by other tools.
- Programming interface – invoke benchmarks and consume results from applications.
Website: github.com/mcollina/autocannon
Support:
Developer: Matteo Collina
License: MIT License

AutoCannon is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Related Software
| Web Server Benchmarking Tools | |
|---|---|
| Locust | Easy to use, scriptable and scalable performance testing tool |
| Apache JMeter | Load testing and performance measurement application |
| k6 | Modern load testing tool for developers and testers in the DevOps era |
| wrk | Modern HTTP benchmarking tool |
| Siege | HTTP regression testing and benchmarking utility |
| oha | CLI HTTP load generator with a real-time terminal user interface |
| hey | CLI load generator for benchmarking web applications and HTTP services |
| AutoCannon | Fast HTTP/1.1 benchmarking tool |
| Tsung | Multi-protocol distributed load testing tool |
| bombardier | Uses fasthttp instead of Go’s default http library, |
| ApacheBench | Apache (and other web servers) benchmark tool |
| Cassowary | Modern HTTP/S, intuitive & cross-platform load testing tool built in Go |
| Drill | HTTP load testing application written in Rust |
| Nighthawk | Layer 7 performance-characterisation and load-testing tool |
| httperf | HTTP load generator |
| FunkLoad | Web testing tool in the same spirit as Perl's WWW::Mechanize |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.