Baike.dev
All toolsTrendingOpen sourceNewsSubmit
Log in
< 返回工具列表
H

hey

> 编程语言
开源

HTTP load generator, ApacheBench (ab) replacement

20.2K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

HTTP load generator, ApacheBench (ab) replacement

hey is a tiny program that sends some load to a web application.

hey was originally called boom and was influenced from Tarek Ziade's tool at tarekziade/boom. Using the same name was a mistake as it resulted in cases where binary name conflicts created confusion. To preserve the name for its original owner, we renamed this project to hey.

Installation

  • Linux (amd64): https://storage.googleapis.com/hey-releases/hey_linux_amd64
  • macOS (amd64): https://storage.googleapis.com/hey-releases/hey_darwin_amd64
  • Windows (amd64): https://storage.googleapis.com/hey-releases/hey_windows_amd64

Package Managers

macOS:

  • Homebrew users can use brew install hey.

Usage

hey runs provided number of requests in the provided concurrency level and prints stats.

It also supports HTTP2 endpoints.

…

Examples

Make requests with default settings:

hey https://google.com

Make 1000 requests with 100 concurrent workers:

hey -n 1000 -c 100 https://google.com

Run load test for 30 seconds:

hey -z 30s https://google.com

Make POST request with custom body:

hey \
    -m POST \
    -d "param1=value1&param2=value2" \
    https://google.com

Add custom headers:

hey \
    -H "Accept: application/json" \
    -H "Authorization: Bearer token" \
    https://google.com

Test with HTTP/2:

hey -h2 https://google.com

Rate limit to 10 queries per second per worker:

hey -q 10 -c 5 -z 30s https://google.com

核心特点

  • •Linux (amd64): https://storage.googleapis.com/hey-releases/hey_linux_amd64
  • •macOS (amd64): https://storage.googleapis.com/hey-releases/hey_darwin_amd64
  • •Windows (amd64): https://storage.googleapis.com/hey-releases/hey_windows_amd64
  • •Homebrew users can use brew install hey.

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言