Linux Install hp Load Generator 11.00 Records

Source: Internet
Author: User
Tags format message generator

Install upgrade compat-libstdc++-33
The steps are as follows:

AST login:wed Jan 15:21:01 2018 from 172.31.240.117[[email protected] ~]# yum install compat-libstdc++-33loaded p Lugins:fastestmirrorbase | 3.6 KB 00:00:00 Epel/x86_64/metalink | 8.0 KB 00:00:00 Epel | 4.7 KB 00:00:00 Extras | 3.4 KB 00:00:00 Updates | 3.4 KB 00:00:00: Epel/x86_64/updateinfo | 762 KB 00:00:12 (2/2): epel/x86_64/primary_db | 6.0 MB 00:00:54 Loading mirror speeds from cached Hostfile * base:mirrors.tuna.tsinghua.edu.cn * Epel:mirror.dmmlab s.jp * extras:ftp.sjtu.edu.cn * updates:ftp.sjtu.edu.cnResolving dependencies--> Running Transaction Check---> Package compat-libstdc++-33.x86_64 0:3.2.3-72.el7 'll be installed--> finished Dependency Resolutiondependencies resolved================================================================================ ============= Package Arch Version Repository size================= ============================================================================installing:compat-libstdc++-33 x86_ 3.2.3-72.EL7 Base 191 ktransaction summary==============================================  ===============================================install 1 packagetotal Download size:191 kinstalled size:811 KIs this OK [y/d/n]: ydownloading packages:compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm | 191 KB 00:00:06 Running transaction checkrunning transaction testtransaction test succeededrunning transactionwarning  : Rpmdb altered outside of Yum. Installing:compat-libstdc++-33-3.2.3-72.el7.x86_64 1/1 verifying:compat-libstdc++-33-3.2.3-72.el7.x86_64                                                  1/1 installed:compat-libstdc++-33.x86_64 0:3.2.3-72.el7 complete! You have new mail in/var/spool/mail/root[[email protected] ~]# mkdir/opt/lr[[email protected] ~]# cd/opt/lr/ [[email protected] lr]# yum-y install gcc gcc-c++ libstdc++.so.5loaded plugins:fastestmirrorloading mirror speeds f Rom Cached hostfile * base:mirrors.tuna.tsinghua.edu.cn * epel:mirror.dmmlabs.jp ...                                                                                  installed:compat-libstdc++-33.i686 0:3.2.3-72.EL7                                                                                 Gcc-c++.x86_64 0:4.8.5-16.el7_4.1                        Dependency Installed:glibc.i686 0:2.17-196.el7_4.2 libgcc.i686 0:4.8.5-16.el7_4.1 Libstdc++-devel.x86_64 0:4.8.5-16.el7_4.1 nss-softokn-freebl.i686 0:3.28.3-8.el7_4 Updated:gcc.x86_64 0:4.8                                                                                                                                                                                                              .5-16.el7_4.1 Dependency Updated:cpp. x86_64 0:4.8.5-16.el7_4.1 glibc.x86_64 0:2.17-196.el7_4.2 glibc-common.x86_64 0:2.17-196.el7_4.2 glibc-devel.x8 6_64 0:2.17-196.el7_4.2 glibc-headers.x86_64 0:2.17-196.el7_4.2 libgcc.x86_64 0:4.8.5-16.el7_4.1 libgomp.x86_64 0 : 4.8.5-16.el7_4.1 libstdc++.x86_64 0:4.8.5-16.el7_4.1 nspr.x86_64 0:4.13.1-1.0.el7_3 nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4 complete! You have new mail in/var/spool/mail/root

Download LoadRunner Generator for Linux installation package
After decompression:
to chmod 777-r linux/

#再次执行:./installer.shwelcome to the HP Load Generator 11.00 Setup Wizard-------------------------------------------------------------This wizard would guide you through the steps Required to install HP Load Generator 11.00 on the computer. Warning:this computer program was protected by the copyright law and international treaties. Unauthorized duplication or distribution of this program, or any portion of it, could result in several Civilor criminal pen Alties, and would be prosecuted to the maximum extent possible under the law.>-Continue, select "Next" > to abort T He setup Wizard, select "Cancel" SELECT [Next[n], Cancel[c]]: N-------------------------------------------------------------------------------------LICENSE Agreement-------------------------------------------------------------moment to read the License Agreement, located In:/opt/lr/linux/sequencer/resources/eula/eula >to Review the full License agreement, select " View Agreement ">to accept the Agreement tErms, select "Agree" >to go back to the previous step, select "Back" >to Abort the Setup Wizard, select "Cancel" select : [View Agreement[v], Agree[a], back[b], Cancel[c]]: A------------------------------------------------------------------------------------------------------------------------ -----------Confirmation-------------------------------------------------------------the HP Load Generator 11.00 Features selected for installation are:+loadgenerator-lg-11.00-linux2.6.rpmsize:255856 kbhp Load Generator 11.00 wil L be installed in the following directory:/opt/hp/hp_loadgenerator.if you want to install HP Load Generator 11.00 in an AL Ternative directory, must create a symbolic link from "/opt/hp/hp_loadgenerator" to the alternative directory before C Ontinuing with this installation.> to start the HP Load Generator 11.00 installation, select ' Install ' > to go back t o The previous step, select "Back" > To abort the Setup wizard, select "Cancel" SELECT [Install[i], BACK[B], Cancel[c]]: I------------------------------------------------------------------------------------------------------------------------ --------FINISH-------------------------------------------------------------HP Load Generator 11.00 has been Successfully installed in The/opt/hp/hp_loadgenerator directorylog file:install log directory:/var/log/26.07.17_ 17-28-09_hp_loadgenerator_11.00.000_ihp_log.txt> to complete the Setup wizard, select "Finish" > to view the output L OG, select "View Log" SELECT [Finish[f], view Log[v]]: f======================================================elect [Fi NISH[F], View Log[v]]: f[[email protected] linux]# useradd-g 0-s/bin/bash loadrunner[[email protected] Linux ]# cd/opt/hp/hp_loadgenerator[[email protected] hp_loadgenerator]# vim env.shcd/opt/hp/hp_loadgenerator vim Env.sh#/bin/bashexport product_dir=/opt/hp/hp_loadgeneratorexport m_lroot= $PRODUCT _direxport LD_LIBRARY_PATH= $M _ Lroot/bin: $M _lroot/lib:/usr/lib:/usr/lib64Export display= ' 0.0 ' export path= $PATH: $M _lroot/bin[[email protected] hp_loadgenerator]# vim/etc/profile Source /opt/hp/hp_loadgenerator/env.sh[[email protected] hp_loadgenerator]# error occurred: [[email protected] HP_ loadgenerator]$ Cd/opt/hp/hp_loadgenerator/bin [[email protected] bin]$./m_daemon_setup startwarning:mdrv: Cannot find Lrun root directory. Please check the your m_lrootunable to format message ID [ -10791]m_agent_daemon (was down), [[email protected] bin]$ in RO OT directory to locate the. bashrc file, add the following words: 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 need to be logged in again after bash is in effect. ==================[[email protected] bin]$/m_daemon_setup Startm_agent_daemon (29460), [[email   Protected] bin]$

Click

Run with script:

    lr_start_transaction("dddd");    lr_think_time(4);    lr_output_message("好!!");    lr_end_transaction("dddd", LR_AUTO);

Tips:
Error:cci compilation error-in file included From/tmp/brr_m1v0pm/global_dir/112991701/combined_webhttphtml43.c:4:
Modified to:

    lr_start_transaction("dddd");    lr_think_time(4);    lr_output_message("good");    lr_end_transaction("dddd", LR_AUTO);

Tips::
The script <WebHttpHtml43> is from LoadRunner version <12.53.0.1203>. This does not match the load generator <192.168.47.196> version, <>. The script may not run properly to a load generator with an earlier or unidentified version.
Results:

View Linux:
Top Display

Linux Install hp Load Generator 11.00 Records

Related Article

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.