Tuesday 30 July 2013

Web Server Resource monitors using LoadRunner

Using LoadRunner’s Web Server Resource monitors, you monitor the Apache, Microsoft IIS, iPlanet (SNMP), and iPlanet/Netscape servers during a scenario run and isolate server performance bottlenecks.

overview:

➤ Web Server Resource Monitors
➤ Monitoring Using a Proxy Server

About Web Server Resource Monitors:

Web Server Resource monitors provide you with information about the resource usage of the Apache, Microsoft IIS, iPlanet (SNMP), and iPlanet/Netscape Web servers during scenario execution. To obtain this data, you need to activate the online monitor for the server and specify which resources you want to measure before executing the scenario.
The procedures for selecting monitor measurements and configuring the monitors vary according to server type. The following sections contain specific configuration instructions for each server type.

Note: Certain measurements or counters are especially useful for determining server performance and isolating the cause of a bottleneck during an initial stress test on a Web server.

Monitoring Using a Proxy Server:

LoadRunner allows you to monitor using the Apache and Netscape monitors when there is a proxy server between the Controller and the monitored server. To enable this, you must define settings in your configuration file: in \dat\monitors\apache.cfg for the Apache monitor, or in \dat\monitors\Netscape.cfg for the Netscape monitor.
Before defining settings, you need to determine whether you want LoadRunner to obtain proxy settings from your Internet Explorer connection configuration, or from the proxy settings in the configuration file.

To have LoadRunner read proxy settings from your Internet Explorer connection:
1 In the Proxy Settings section of the configuration file, assign useProxy a value of 1.
2 If the proxy requires a username, password, or domain, enter these parameters on the lines proxyUsername, proxyPassword, and proxyDomain.

To have LoadRunner read proxy settings from the configuration file:
1 In the Proxy Settings section of the configuration file, enter the proxy information on the httpProxy line. Use the format: [=][://][:][[=][://] [:]]

For example:
httpProxy=http=http://my_http_proxy:8080 https=https://my_https_proxy:9000
2 If the proxy requires a username, password, or domain, enter these parameters on the lines proxyUsername, proxyPassword, and proxyDomain.

To have LoadRunner connect directly to the server (any proxy settings are ignored):

➤ In the Proxy Settings section of the configuration file, assign useProxy a
value of 0.

No comments: