在 Windows 上为 Apache Bench 添加 https 支持

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7112137/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 17:53:44  来源:igfitidea点击:

Add https support to Apache Bench on Windows

windowshttpsapachebench

提问by Matt R. Wilson

I have Apache server 2.2.15 on my Windows 7 machine and I want to run Bench on a server I have using https. But when I run ab [myopts] https://example.com, I get SSL not compiled in; no https support. From what I've read you can compile ab with https support with a flag during the server install.

我的 Windows 7 机器上有 Apache 服务器 2.2.15,我想在使用 https 的服务器上运行 Bench。但是当我跑步时,我得到了。根据我的阅读,您可以在服务器安装期间使用带有标志的 https 支持编译 ab。ab [myopts] https://example.comSSL not compiled in; no https support

My question is, considering I already have server installed, what is the easiest/best way to benchmark my server over https?

我的问题是,考虑到我已经安装了服务器,通过 https 对我的服务器进行基准测试的最简单/最好的方法是什么?

回答by PaulTheCyclist

Use the abs.exe tool to test sites with a SSL cetificate

使用 abs.exe 工具测试具有 SSL 证书的站点