Web Server Resource monitoring
This topic describes the Web server resources and how to configure them.
Overview
Web Server Resource monitors provide you with information about the resource usage of the Microsoft IIS and Apache Web servers during performance test 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 test.
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.
How to change the Apache default server properties
This task describes how to modify the Apache default server properties that are defined in the monitor configuration file.
-
Open the apache.cfg file in the <LoadRunner Professional root folder>\dat\monitors folder.
-
Edit the following parameters after the Delimiter=: statement:
InfoURL. Server statistics information URL
ServerPort. Server port number
SamplingRate. Rate (milliseconds) at which the LoadRunner monitor polls the server for the statistics information. If this value is greater than 1000, it is used as the sampling rate. Otherwise, the sampling rate defined in the Monitors tab of the Options dialog box is used.
-
Save and close the file.
Microsoft IIS Performance Counters
The following table describes the measurements and server properties that can be monitored on the Microsoft IIS Web server during the test run:
Object | Measurement | Description |
---|---|---|
Web Service | Bytes Sent/sec | The rate at which the data bytes are sent by the web service |
Web Service
|
Bytes Received/sec | The rate at which the data bytes are received by the web service |
Web Service | Get Requests/sec | The rate at which HTTP requests using the GET method are made. Get requests are generally used for basic file retrievals or image maps, though they can be used with forms. |
Web Service | Post Requests/sec | The rate at which HTTP requests using the POST method are made. Post requests are generally used for forms or gateway requests. |
Web Service | Maximum Connections | The maximum number of simultaneous connections established with the web service |
Web Service | Current Connections | The current number of connections established with the web service. |
Web Service | Current NonAnonymous Users | The number of users that currently have a non-anonymous connection using the web service. |
Web Service | Not Found Errors/sec | The rate of errors due to requests that could not be satisfied by the server because the requested document could not be found. These are generally reported to the client as an HTTP 404 error code. |
Process |
Private Bytes
|
The current number of bytes that the process has allocated that cannot be shared with other processes. |
Apache performance counters
The following table describes the measurements and server properties that can be monitored on the Apache Web server during the test run:
Measurement | Description |
---|---|
# 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 |
Hits/sec | The HTTP request rate |
KBytes Sent/sec | The rate at which data bytes are sent from the web server |