{"id":26903216,"url":"https://github.com/mobydeck/hey","last_synced_at":"2025-08-23T09:08:08.023Z","repository":{"id":284954091,"uuid":"956581814","full_name":"mobydeck/hey","owner":"mobydeck","description":"HTTP load generator, Apache benchmarking tool (ab) alternative","archived":false,"fork":false,"pushed_at":"2025-03-28T15:10:28.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T15:42:14.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mobydeck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-28T13:54:36.000Z","updated_at":"2025-03-28T15:10:23.000Z","dependencies_parsed_at":"2025-03-28T15:52:31.004Z","dependency_job_id":null,"html_url":"https://github.com/mobydeck/hey","commit_stats":null,"previous_names":["mobydeck/hey"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mobydeck/hey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobydeck%2Fhey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobydeck%2Fhey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobydeck%2Fhey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobydeck%2Fhey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mobydeck","download_url":"https://codeload.github.com/mobydeck/hey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobydeck%2Fhey/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746302,"owners_count":24813556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-01T10:05:28.728Z","updated_at":"2025-08-23T09:08:08.001Z","avatar_url":"https://github.com/mobydeck.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://i.imgur.com/szzD9q0.png\" alt=\"hey\"\u003e\n\u003c/p\u003e\n\n# hey - HTTP Load Generator\n\n`hey` is a modern, lightweight HTTP load testing tool designed to help you benchmark and stress test your web\napplications, APIs, and HTTP servers.\n\n## Overview\n\n`hey` sends a specified number of HTTP requests to a target URL with configurable concurrency levels, providing detailed\nperformance metrics and statistics. It's ideal for:\n\n- API performance testing\n- Load testing web applications\n- Stress testing HTTP servers\n- Benchmarking response times\n- Identifying performance bottlenecks\n\n## Installation\n\nDownload latest package from [Releases](https://github.com/mobydeck/hey/releases)\n\n## Quick Start\n\n```bash\nhey https://example.com/\n```\n\n## Features\n\n- Configurable request count and concurrency\n- Support for HTTP/2\n- Custom HTTP methods and headers\n- Request body from string or file\n- Rate limiting\n- Request timeouts\n- Basic authentication\n- HTTP proxy support\n- CSV output format for further analysis\n- Customizable connection options\n\n## Usage\n\n```\nhey [options...] \u003curl\u003e\n```\n\n### Options\n\n| Flag | Description |\n|------|-------------|\n| `-n` | Number of requests to run (default: 200) |\n| `-c` | Concurrent workers (default: 50) |\n| `-q` | Rate limit in QPS per worker (default: no limit) |\n| `-z` | Duration to send requests (e.g., `-z 10s`, `-z 3m`) |\n| `-o` | Output format (`csv` or default summary) |\n| `-m` | HTTP method (GET, POST, PUT, DELETE, HEAD, OPTIONS) |\n| `-H` | Custom HTTP header (repeatable) |\n| `-t` | Request timeout in seconds (default: 20, 0 for infinite) |\n| `-A` | HTTP Accept header |\n| `-d` | HTTP request body |\n| `-D` | HTTP request body from file |\n| `-T` | Content-type (default: \"text/html\") |\n| `-a` | Basic authentication (username:password) |\n| `-x` | HTTP proxy address (host:port) |\n| `-s` | SOCKS5 proxy address (host:port) |\n| `-h2` | Enable HTTP/2 |\n| `-host` | HTTP Host header |\n| `-disable-compression` | Disable compression |\n| `-disable-keepalive` | Disable keep-alive |\n| `-disable-redirects` | Disable following HTTP redirects |\n| `-cpus` | Number of CPU cores to use |\n\n### Examples\n\nBasic use:\n```bash\nhey -n 1000 -c 100 https://example.com/\n```\n\nPOST request with body:\n```bash\nhey -m POST -d '{\"key\":\"value\"}' -T \"application/json\" https://api.example.com/resource\n```\n\nUsing HTTP/2 with custom headers:\n```bash\nhey -h2 -H \"Authorization: Bearer token\" https://api.example.com/\n```\n\n## History\n\n`hey` came from [rakyll/hey](https://github.com/rakyll/hey) and was originally inspired by this\ntool [tarekziade/boom](https://github.com/tarekziade/boom).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobydeck%2Fhey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobydeck%2Fhey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobydeck%2Fhey/lists"}