如何在Windows中运行的Apache基准负载测试? [英] How to run Apache benchmark load-test in windows?

查看:172
本文介绍了如何在Windows中运行的Apache基准负载测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么程序我应该遵循在Windows上运行环境上的域www.example.com?I'm一个简单的测试,并且已经安装WAMP服务器2.1。

what's the procedure I should follow to run a simple test on a domain www.example.com?I'm on windows environment and have installed WAMP server 2.1.

其实我知道至极命令我应该使用(例AB -n 1 http://www.example.com/ )但不知道我应该在哪里输入。

I actually know wich command I should use (Ex. ab -n 1 http://www.example.com/) but dont know where I should type it.

感谢您的耐心

推荐答案

我不知道WampServer安装的路径,所以我就告诉你我是如何做到这一点WampDeveloper下(这是我使用)。

I don't know the path WampServer is installed to, so I'll just show you how I do it under WampDeveloper (which is what I use).

运行cmd.exe的。

Run cmd.exe.

里面...

C:
cd \WampDeveloper\Components\Apache\bin
ab -n 1 http://www.example.com/

要回答你的问题,你在命令行中键入它变成你的Apache文件夹的bin文件夹,因为这是在ab.exe存在。如果此文件夹位置是在系统路径中,你也可以只需键入它在任何地方(不输入cmd.exe改变路径)。

To answer your question, you type it in the command line changed to the bin folder of your Apache folder since this is where ab.exe exists. If this folder location is in the system path, you can also just type it in anywhere (without changing paths in cmd.exe).

这第一行更改驱动器号。然后第二个路径(也称为工作目录)。第三个运行ab.exe。

This 1st line changes the drive letter. Then second the path (aka working directory). The third runs ab.exe.

这篇关于如何在Windows中运行的Apache基准负载测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆