安裝apache
linux上安裝apache. /bin/apachectl –v
Server version: Apache/
修改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|
解決
因為<Installation>\dat\monitors\apache.cfg針對apache 1.x的status指標,與apache 2.0度量指標失配。
故采用apache_2.0.x.cf 更名apache.cfg。
文章來源于領測軟件測試網 http://www.kjueaiud.com/