Linux 安装loadrunner 碰到的问题

关于linux下面搭建loadrunner的详细步骤:

http://blog.sina.com.cn/s/blog_9aa583cf0101bu4y.html

http://hi.baidu.com/higkoo/item/d75027acc78bab3e030a4dde?qq-pf-to=pcqq.c2c

http://www.cnblogs.com/xiaoTT/archive/2012/02/15/2352127.html

用控制台加载负载机失败:

碰到的问题1:

[higkoo@localhost bin]$ ./verify_generator
Environment variable M_LROOT must be set to the product directory
in order for verify_generator to execute.
Please setenv/export (csh/sh) it and run verify_generator again

 解决方法:

碰到的问题1:

请切换至higkoo用户,然后在运行命令

碰到的问题2:

verify_generator must have a DISPLAY set, please set and rerun

说明未声明DISPLAY环境变量,运行命令export DISPLAY=192.168.1.169:0.0,然后在重启loadrunner服务即可;

 然后linux就可以作为负载机器添加成功了

export DISPLAY=192.168.1.169:0.0

echo $DISPLAY

cd /opt/HP/HP_LoadGenerator/bin/

./verify_generator

./m_daemon_setup start

./m_daemon_setup stop

  

原文地址:https://www.cnblogs.com/Amei595409929/p/4039711.html