• 测试技术
  • 博客
  • 视频
  • 开源
  • 论坛
  • 沙龙
  • 下载
  • 杂志
  • 招聘

字号: | 推荐给好友 上一篇 | 下一篇

loadrunner监控apache2.X

发布: 2008-9-28 10:05 | 作者: liangjz | 来源: 51testing博客 | 查看: 46次 | 进入软件测试时代论坛讨论

软件测试时代

安装apache

linux上安装apache. /bin/apachectl –v

Server version: Apache/2.0.54.

修改conf/httpd.conf

ExtendedStatus On

<Location /server-status>
SetHandler server-status

Order Deny,Allow
#
Deny from all
Allow from all
</Location>

测试

http://10.0.4.81:2068/server-status?auto&refresh=Y成功。

Loadrunner加入监控

端口:2688,url: /server-status?auto

错误:

Monitor name :Apache. Parsing error, cannot find token: BusyServers. Measurement: BusyServers|10.0.4.81. Hints: 1) Such a measurement does not exist, or the html page may be different from the supported one. 2) Try to replace the Apache.cfg with appropriate Apache_<version>.cfg file in <Installation>\dat\monitors and rerun the application (entry point: CApacheMeasurement::NewData).  [MsgId: MMSG-47479]

解决

因为<Installation>\dat\monitors\apache.cfg针对apache 1.xstatus指标,与apache 2.0度量指标失配。

故采用apache_2.0.x.cf更名apache.cfg

文章来源于软件测试时代 http://www.testage.net/

TAG: loadrunner LoadRunner Loadrunner loadRunner


软件测试时代开课信息
Google
关于我们 | 合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2007 TestAge(测试时代) 北京慧灵科技有限公司 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备05002925号
技术支持和业务联系:info@testage.com.cn 电话:010-51297073