HTTP 基准测试工具 CLI

编程数据分析角色提示

使用 Go 创建高性能 HTTP 基准测试工具。使用可配置的线程数实现并发请求生成。添加详细的统计信息,包括延迟、吞吐量和错误率。包括对 HTTP/1.1、HTTP/2 和 HTTP/3 的支持。实施自定义标头和 cookie 管理。添加动态内容的请求模板。包括使用正则表达式和状...

提示词(中文)

使用 Go 创建高性能 HTTP 基准测试工具。使用可配置的线程数实现并发请求生成。添加详细的统计信息,包括延迟、吞吐量和错误率。包括对 HTTP/1.1、HTTP/2 和 HTTP/3 的支持。实施自定义标头和 cookie 管理。添加动态内容的请求模板。包括使用正则表达式和状态代码检查进行响应验证。使用证书验证选项实施 TLS 配置。添加具有斜坡上升和稳态阶段的负载曲线配置。包括带有百分位数和直方图的详细报告。针对高负载场景实现分布式测试模式。

提示词(英文)

Use Go Create high performance HTTP Benchmark testing tool. Use the number of configurable threads to generate the request. Add detailed statistical information, including delay, throughput and error rates. Including HTTP/1.1、HTTP/2 and HTTP/3 Support. Implement custom headers and cookie Management. Adds a dynamic request template. Includes response validation using regular expressions and state code checks. Use Certificate Validation Options TLS Configure. Adds a load curve configuration with a ramp up and steady state phase. Includes detailed reports with percentages and histograms. A distributed test mode is achieved for high load scenarios.

直接拿去用

点击会先把提示词复制到剪贴板,再打开对应模型;没有自动带入的话粘贴即可。