LR add windows and Linux presses in combat

Source: Internet
Author: User

Add Windows and Linux presses in combat

Since the controller is the "heart" of the LoadRunner, the pressure is generated by it, and pressure is generated by the pressure machine to the system under test. General presses are divided into Windows and Linux. It is recommended to use Linux when the concurrency ratio is large.

1. Adding Windows Presses

The steps to add a Windows press are relatively simple, as follows.

1) Ensure that the LoadRunner Agent is installed on the press to be added and enabled (there will be a small satellite in the status bar).

2) Add the press and controller where the machine to be in the same network segment, it is recommended to shut down the firewall.

3) The RPC service on the local system is turned on (opens in Control Panel → administrative tools → services) and is recommended for self-booting.

4) then log in to the press from the machine on which the controller is located, and verify that connectivity is possible. Click on the Windows System Start menu, select "Run", enter "\ \ Machine Name" In the dialog box that pops up, and if you don't make an error, you will succeed.

It is recommended to close 360 and other types of management software, anti-virus software, at the same time to have sufficient permissions.

5) Enter controller, click Scenario→load Generators menu item, the interface appears 3-13, by default there will be a press, that is, the machine.

6) If you want to add another press, click the Add button and the interface appears 3-14.

The meanings of each of the options in Figure 3-14 are as follows.

Name: Many people here will enter the names of the machine, in fact, should enter the press IP address.

Platform: Default is Windows.

7) Click the OK button to complete the press Add, then click the Connect button on the right side of figure 3-13 to test connectivity and, if connected, display the ready status.

8) Finally, the press can be divided into the corresponding script, 3-15 is shown.

2. Add a Linux Press

Add Linux presses slightly more complex, need to have a certain Linux foundation, fortunately small white peacetime also often use Linux, so heart relieved. Add the steps below.

1) Download hp_loadgenerator to HP website, unzip to local and upload to Linux, file name is Linux.

2) Enter the Chmod-r +x linux/* command in the console to modify the permissions of the file.

3) Enter the CD Linux command in the console and enter the Linux directory.

4) Enter the./installer.sh command on the console to install and follow the instructions.

5) Enter the useradd-g 0-s/bin/bash besttest command in the console to add a new user named Besttest.

6) Enter the VI/ROOT/.BASHRC command in the console to edit the. bashrc file, adding the following.

    1. Export product_dir=/opt/hp/hp_loadgenerator
    2. Export m_lroot= $PRODUCT _dir
    3. Export Ld_library_path=${m_lroot}/bin
    4. Export path=${m_lroot}/bin: $PATH

7) Enter the Su-besttest command in the console and switch to the Besttest user.

8) Enter the cd/opt/hp/hp_loadgenerator/bin/command in the console to enter the default directory after installation.

9) Enter the./verify_generator command in the console to verify that the configuration is correct.

10) Enter the M_daemon_setup Start command in the console to start the service and, if successful, a prompt similar to the following is displayed.

    1. M_agent_daemon (22914)

11) Go back to the controller and repeat the steps to add the Windows presses. It is important to note that there is a little different from adding windows presses, 3-16, to tick the Don't use rsh checkbox.

Reprint: "LoadRunner performance Test Training Camp" 3rd Chapter LoadRunner Controller Combat

LR add windows and Linux presses in combat

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.