Go语言HTTP性能压测工具开发
指导实现支持并发请求、多协议测试、负载配置与性能报告的 HTTP 基准测试命令行工具。
完整提示词
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.
分类与标签
编程开发、Go开发、HTTP压测、并发请求、性能统计、分布式测试