Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Install LoadRunner Agent under Linux

Shulou Source: shulou.com Published: 2022-06-03 05:05:29 11月12日 Update

One: install Agent

Rz, put lr_agent_for_linux.zip on linux.

Unzip, decompress.

Chmod-R 777 lr_agent_for_linux/*

Cd lr_agent_for_linux

. / × × × taller.sh

Follow the prompts

Two: install the dependency package

Yum whatprovides libstdc++.so.5

Then, take a look at the version of compat-libstdc

Execute the following command:

Yum × × tall compat-libstdc++-33-3.2.3-69.el6.i686

Three: set environment variables

Vi / root/.bashrc

Then add at the bottom:

Export PRODUCT_DIR=/opt/HP/HP_LoadGenerator

Export M_LROOT=$PRODUCT_DIR

Export LD_LIBRARY_PATH=$ {M_LROOT} / bin

Export PATH=$ {M_LROOT} / bin:$PATH

Save, exit

Enter cd and enter directly.

Execute source .bashrc again

Four: configure hosts

Vi / etc/hosts

Check to see if there is a line corresponding to 127.0.0.1 and native name (virtual machine name, hostname view). If not, add it, otherwise an error will be reported.

Five: verify the environment

Cd / opt/HP/HP_LoadGenerator/bin/

. / verify_generator

The following indicates success

If it appears

Then, execute the following command:

Export PRODUCT_DIR=/opt/HP/HP_LoadGenerator

Export M_LROOT=$PRODUCT_DIR

Run again:

. / verify_generator

Six: start agent

Cd / opt/HP/HP_LoadGenerator/bin/

. / m_daemon_setup start

Seven: configure lr

Start Controller

When finished, select the added machine and click the Connect on the right. If it becomes Ready, it will be successful.

Tags: Success command machine environment configuration one line again variable right version status will report native prompt input run verify Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Shulou Tech Info NVidia Docker Linux