Generally, when the client uses LoadRunner to perform stress tests on the server, the system resources on the server must be monitored in real time. This article describes how to configure monitoring windows Resources in the LoadRunner controller, in fact, you can also enable the task manager on the remote connection server side or find the performance counter in the control panel to monitor it, but in order to make it easier to press LR, we still need to learn this basic configuration. The configuration here requires different settings for different server operating systems, but the basic idea is the same. This article takes windows as an example. The specific configuration is as follows:
1. Test the network between the client and the server to ensure smooth communication
2. Enable the following two services in server-side windows, for example:
3. You need to change the local system policy of the server. This is very important. It is also a key step for determining whether the client can access the server. You need to enter the management tool under the control panel, find the Local Security Policy as follows:
Note: You must change it to the classic mode. The default mode is only the guest mode.
4. perform a test on the client. In the "run" column, enter the IP address of the server, followed by C $, which indicates the system resource directory under disk C of the server, for example: "\ 192.168.96.135 \ C $" to check whether the directory of drive C on the server can be accessed. Generally, you may need to enter the user name and password, and fill in the account and password on the server, as shown below:
Note: If you can access this page, you can normally access the system resources on the server.
5. Switch to the LoadRunner controller and configure the monitoring target under Windows resources as follows:
It is found that this configuration method is similar to the system performance counter configuration.
6. Check the real-time monitoring records after the configuration is complete, as shown in:
These are the system resources of the target server monitored in real time during the stress test.
LR is a comprehensive performance testing tool, so many detailed features may not be set, but it is very useful. The next opportunity will summarize how LoadRunner monitors Linux system resources.