| How does the monitoring work in LoadRunner? |
|
|
|
| Written by TnT Admin |
| Monday, 21 April 2008 00:00 |
|
For non-System Resources, such as Web Server Resources, Apache Web Server, the server must be configured to allow monitoring before LoadRunner can draw monitoring data out. This applies for Web Application Server such as BEA WebLogic and IBM WebSphere. For Database Servers, there is an additional step that requires a client to be installed for the monitoring to be successful. Example, for Sybase Database, the Sybase AES client (if I do not remember wrongly) needs to be installed on the Controller; Oracle Database requires the V$SESSION table to be working. With the exception of MS SQL, where the counters are in-built into Perfmon. Client programs that are required to installed also applies to WebLogic JMX Monitoring. The list can go on however, the concept of monitoring is the same and applies for other monitors that is not mentioned in the above examples too. (More information of the monitoring requirements can be consulted in the Monitor Reference provided with each installation of LoadRunner.) Therefore, before any monitoring, the native monitors must be working prior to the test. If the native monitors are not working, the monitoring by LoadRunner will certainly fail. Usually, the monitors failed on the following reasons which I guessed for all load tester should be aware of. Usually, I give myself 1 to 2 days for monitoring setup before the load test.
A sound understanding of the native monitors (Perfmon, rstatd, etc) such as its configuration, type of monitoring data it can provide, and how it generally works will serve a good foundation before the load test. (Therefore quite a fair bit of reading and googling will do you good!) This will be useful for the load tester to relate the required configuration to the System Admin/Engineer, Network Engineers, etc and get the job done with minimal effort. (You need to talk their “language”!)
In summary, LoadRunner collects monitoring data from the native monitors. This requires the native monitors to be configured properly prior the load test. However, they do fail at times and it’s possible to scope down to either (1) no support, (2) configuration problem and (3) environmental issues that can resolved with adequate planning. Furthermore, a sound understanding of the native monitors will be useful when conveying instructions to the system/network team in configuring them.
|
| Last Updated ( Thursday, 18 September 2008 18:15 ) |






