The Apache monitor shows the measurements and server properties that can be monitored on the Apache web server during the test run.
Set up the Apache monitor
This task describes how to set up the Apache monitor.
If your monitor accesses a server outside of your internal network, you may need to set up a web proxy to collect data from it. For details, see Use a proxy server.
Select a resources folder.
Select a resources folder for the monitor profile in the resources tree, or create a new folder as follows:
In LoadRunner Enterprise, click Open the navigation toolbar and select Monitors (under Assets).
Click New Folder and enter a name for the monitor resources folder.
Create a monitor profile.
Click New Monitor Profile, and make sure Monitor Profile is selected.
Enter a name and optional description for the monitor profile, and click Save. An empty monitor profile is added to the selected resources folder.
Select the monitor profile you just added and click Add Monitor.
Select the Apache monitor type and click Next.
Enter the server details:
Click Get Counters to display a list of available metrics and counters.
Select the measurements that you want to monitor, and then click to add the counters to the Selected Counters table.
# Busy Servers
The number of servers in the Busy state.
# Idle Servers
The number of servers in the Idle state.
Apache CPU Usage
The percentage of time the CPU is utilized by the Apache server.
The HTTP request rate.
The rate at which data bytes are sent from the web server.
Click Save. The monitor details are displayed in the Monitors tab for the selected monitor profile.
Associate the monitor with your test.
For details, see Step 3: Associate monitors with your test.
This task describes how to modify the Apache default server properties that are defined in the monitor configuration file.
Edit the following parameters after the Delimiter=: statement:
Server statistics information URL.
Server port number.
Rate (milliseconds) at which the monitor will poll the server for the statistics information. If this value is greater than 1000, LoadRunner Enterprise will use it as its sampling rate. Otherwise, it will use the sampling rate defined in the Monitors tab of the Options dialog box.
Save and close the file.