安装linux-generator
来源:互联网 发布:国际大酒店网站源码 编辑:程序博客网 时间:2024/06/04 01:13
准备篇
Centos服务器
loadrunner-11-load-generator.iso上传至服务器
确认安装c++
mkdir –p /usr/hxm/loadrunner建立文件夹
安装篇
挂载loadrunner-11-load-generator.iso
进入Linux目录下进行安装
输入./installer.sh弹出提示信息,根据提示信息进行安装完成
配置篇
添加用户
useradd -g 0 -s /bin/csh higkoo
cat /opt/HP/HP_LoadGenerator/env.csh >/etc/.login
cat /opt/HP/HP_LoadGenerator/env.csh >~higkoo/.cshrc
touch ~root/.rhosts ~higkoo/.rhosts
修改部分LR的配置(csh和bash有一个区别,就是在加载不同的shell时,可以加载不同的配置。
csh的默认配置在 /etc/csh.cshrc 下,bash的默认配置在 /etc/profile 。在这两个配置文件中,
可以加载一些shell的环境变量。
LR默认给出了一个环境变量的配置文件,文件在 /opt/HP/HP_LoadGenerator/env.csh 。可以看见*.csh这样的配置文件其实是csh的配置文件的格式)
将env.csh 这个配置目引入到csh的默认配置里面:vi /etc/csh.cshrc,在文件的最后一行加上 source/opt/HP/HP_LoadGenerator/env.csh、
切换到higkoo,验证是否安装成功
验证一下程序安装的情况
验证程序为 /opt/HP/HP_LoadGenerator/bin/verify_generator
cd /opt/HP/HP_LoadGenerator/bin
./verify_generator设置一个DISPLAY 变量
修改env.csh文件(切换到root用户)
vi /opt/HP/HP_LoadGenerator/env.csh
文件最后方加上 setenv DISPLAY 0.0
再次验证程序
记得切换回higkoo用户,cd /opt/HP/HP_LoadGenerator/bin ./verify_generator
/usr/local/bin/rar: /lib/ld-linux.so.2: badELF interpreter: No such file or directory解决方案
yum install glibc.i686
error while loading shared libraries: libstdc++.so.5:cannot open shared object file: No such file or directory解决方案
yum install libstdc++.so.5 –y
再次验证程序
启动篇
启动LR 负载端
cd /opt/HP/HP_LoadGenerator/bin
./m_daemon_setup start
控制台配置篇
controller控制台添加负载机
连接到负载机
注意事项篇
1、Windows客户端lr脚本保存路径不要用中文,否则linux-generator编译失败
- 安装linux-generator
- linux安装loadrunner8.1的Generator
- Linux(centos6.4)下安装loadrunner generator
- linux下安装Loadrunner Generator手册及问题解决
- 在linux上用docker安装loadrunner generator
- Parser Generator 安装
- Linux Loadrunner Generator
- 在 Linux 系统中安装Load Generator ,并在windows 调用
- 在 Linux 系统中安装Load Generator ,并在windows 调用
- 在 Linux 系统中安装Load Generator ,并在windows 调用
- 在 Linux 系统中安装Load Generator ,并在windows 调用
- 在 Linux 系统中安装Load Generator ,并在windows 调用
- 在 Linux 系统中安装Load Generator ,并在windows 调用
- Java Load Generator安装配置
- mybatis-generator 插件离线安装
- eclipse 安装MyBatis Generator 插件
- eclipse安装mybatis generator插件
- MyBatis Generator安装及使用说明
- 活到老,学到老
- Flume Sink Processor
- MySql笔记
- Html之Frame的onreadystatechange 事件-yellowcong
- python学习笔记之使用threading模块实现多线程(转)
- 安装linux-generator
- ChannelOption.SO_BACKLOG, 1024-> java socket参数详解:BackLog
- 通用审批流程
- c/c++ regex正则使用
- TensorRT Samples: MNIST(Plugin, add a custom layer)
- 【mac+Android Studio】【持续集成优化】搭建Jenkins+svn+Android Studio+发布到蒲公英+发邮件
- 学习:C#读取ini配置文件数据
- docker-registry-web
- 高仿《One》APP Design + MVP + RxJava2 + Retrofit + Dagger2 + Realm