HTTP Benchmarking Tool CLI – ChatGPT prompt
Coding · 83 words
This prompt asks ChatGPT to generate Go code for a high‑performance HTTP benchmarking CLI tool with concurrency, stats, HTTP/1.1‑3 support, custom headers, templating, validation, TLS, load profiles, and distributed testing.
The 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.
Source: prompts.chat (CC0).