LR启动自带例子web tours报错

上一篇 / 下一篇  2014-03-18 17:11:09 / 个人分类:Loadrunner知识积累

1.启动Samples-Web-Start Web Server时,提示Could not open port 1080-Port is already used by another server(wsaeaddrinuse)

解决方法:

找到xitami.cgf,将protbase=1000改为2000

[C:\Program Files\HP\LoadRunner\WebTours]

 

2.启动Samples-Web-Start Web Server时,提示your request was unsuccessful,Cannot create CGI process

解决方法:

a.可能未安装strawberry-perl.

b.如正常安装,请打开WebTours文件夹下的run.bat,查看其SET PATH路径设置是否正确,尤其是perl安装路径,此BAT后默认perl安装在C盘,c:\strawberry\c\bin;c:\strawberry\perl\bin  如你安装strawberry并非此路路径,在此修改BAT保存是没用的,需重新安装perl到C盘,或COPY一份到C盘下。重启start web server.服务.

 

3.LoadRunner Sample WebTours 点击Flights出现空白解决方法
解决方法:找环境变量,发现PERL5LIB变量中的值与LOG文件的匹配,值为:D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib;D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;D:\oracle\product\10.2.0\db_2\perl\site\5.8.3;D:\oracle\product\10.2.0\db_2\perl\site\5.8.3\lib;D:\oracle\product\10.2.0\db_2\sysman\admin\scripts;

去除所有带5.8.3的值,修改后的值为D:\oracle\product\10.2.0\db_2\sysman\admin\scripts;

此时sample运行正常。但不知道对ORACLE有什么影响。
怕对oracle有影响,我在StartServer.bat里加上了对这个变量的设置
编辑StartServer.bat  在最上面加上SET PERL5LIB=C:\oracle\product\10.2.0\db_1\sysman\admin\scripts


TAG:

 

评分:0

我来说两句

Open Toolbar