Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install LoadRunner Agent under Linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report