文本HTTP 压力测试命令行工具
提示词主题封面

文本

HTTP 压力测试命令行工具

用 Go 创建并发 HTTP 基准测试工具,支持多种协议、负载阶段配置、延迟统计和分布式测试。

Prompt

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.

使用建议

开始前可补充目标协议与运行环境,让模型据此细化架构和配置格式。

信息

类型
文本
来源
f
许可
CC0-1.0

反馈这条内容