Loadrunner obtains the server parameter. The loadrunner Server

Source: Internet
Author: User

Loadrunner obtains the server parameter. The loadrunner Server
First, make sure that the server you monitor is in the same LAN as your test server,

Monitor windows:
1. monitoring preparations before connection
1) Go to the monitored windows system, enable the following two services: Remote Procedure Call (RPC) and Remote Registry (START-) Run, enter services. msc, and enable the corresponding service ).
2) on the monitored WINDOWS machine: Right-click my computer, choose "manage"> "shared folder"> "shared folder". The shared folder "C $" must be included here (if you do not manually add it ).
3) Security Policy Settings: Administrative Tools-> Local Security Policies-> Security Options-> "Network Access: sharing and security modes of Local Accounts ", change access mode to "classic" Mode

3) on the machine where Loadrunner is installed, start-> Run, enter \ IP address of the monitored MACHINE \ C $, and enter the Administrator account and password, if you can see the C drive of the monitored machine, it means that you have obtained the Administrator permission of the machine and can use Loadrunner to connect.


2. Use LR to monitor windows
In the controller, right-click the Windows Resources window and select Add Measurements, Add the IP address of the monitored windows, select the system, and select the metric to be monitored to start monitoring.


In loadrunner, the parameter is generated by the client and passed to the server. How can this parameter be obtained?

If, as you said, the KEY is generated by the client, you cannot use the LR random parameter.
We recommend that you find the code for developing the code that generates the KEY. After thorough research, write an external function in the script to generate the KEY, and then pass the KEY to the SERVER.
If the RAND function of your page is JAVA or C, it can be directly transplanted to the script. If not, you have to rewrite the RAND function in JAVA or C, the generated KEY can be recognized by the SERVER.

Hope to help you.

How can I add a server to be monitored when I use LoadRunner to test the server pressure? Settings and operations for obtaining relevant data

Controller -- systerm resource graphs -- select windows or unix Resources

Right-click and choose add Measurement-add-enter IP address and operating system.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.