Loadrunner监控Apache

一、安装Apache

yum -y install httpd

二、配置Apache

1、设置开机启动

chkconfig httpd on

2、开启Apache

service httpd start

3、关闭防火墙

service iptables stop

4、永久关闭防火墙

chkconfig iptables off

5、修改Apache中Httpd.conf文件(默认路径 vim /etc/httpd/conf/httpd.conf)

修改完后重启apache服务:service httpd restart

6、浏览器输入http://192.168.1.141/server-status?auto,显示下面信息表示配置成功

三、配置Loadrunner

1、loadrunner添加Apache视图

2、在Apache视图右键点击Add Measurements

 

3、添加Apache IP和系统类型

4、点击Add添加监控指标

5、开始监控

 

posted @ 2016-12-09 21:40  小郗测试  阅读(276)  评论(0编辑  收藏  举报