中文译文
用 Go 创建一个高性能 HTTP 基准测试工具。实现可配置线程数的并发请求生成。添加详细的统计信息,包括延迟、吞吐量和错误率。包括对 HTTP/1.1、HTTP/2 和 HTTP/3 的支持。实现自定义请求头和 Cookie 管理。添加用于动态内容的请求模板化。包括使用正则表达式和状态码检查的响应验证。实现带有证书验证选项的 TLS 配置。添加具有逐步增压和稳态阶段的负载配置。包括带有百分位数和直方图的详细报告。实现用于高负载场景的分布式测试模式。
English original
Create a high-performance HTTP benchmarking tool in Go. Implement concurrent request generation with configurable thread count. Add detailed statistics including latency, throughput, and error rates. Include support for HTTP/1.1, HTTP/2, and HTTP/3. Implement custom header and cookie management. Add request templating for dynamic content. Include response validation with regex and status code checking. Implement TLS configuration with certificate validation options. Add load profile configuration with ramp-up and steady-state phases. Include detailed reporting with percentiles and histograms. Implement distributed testing mode for high-load scenarios.