問(wèn)題描述:LR10的sample安裝好,打開(kāi)mercuryWebTours的例程,進(jìn)入系統(tǒng)點(diǎn)擊filigths,鏈接的頁(yè)面空白
解決辦法:開(kāi)始-程序-HP LoadRunner-Samples-Web- Start Web Server—屬性-目標(biāo) 查看服務(wù)啟動(dòng)的地址F:\LR\HP\LoadRunner\WebTours\StartServer.bat
在F:\LR\HP\LoadRunner\WebTours\\WebTours下找cgierr.log的LOG文件,記錄中有
Perl lib version (v5.8.3) doesn't match executable version (v5.10.1) at f:\oracle\product\10.2.0\db_3\perl\5.8.3\lib/MSWin32-x86-multi-thread/Config.pm line 32.
Compilation failed in require at f:\oracle\product\10.2.0\db_3\perl\5.8.3\lib/Time/Local.pm line 5.
BEGIN failed--compilation aborted at f:\oracle\product\10.2.0\db_3\perl\5.8.3\lib/Time/Local.pm line 5.
Compilation failed in require at f:\oracle\product\10.2.0\db_3\perl\5.8.3\lib/timelocal.pl line 16.
BEGIN failed--compilation aborted at f:\oracle\product\10.2.0\db_3\perl\5.8.3\lib/timelocal.pl line 16.
Compilation failed in require at F:\LR\HP\LOADRU~1\WebTours\MercuryWebTours\reservations.pl line 5.
計(jì)算機(jī)-屬性-高級(jí)系統(tǒng)設(shè)置-環(huán)境變量,會(huì)發(fā)現(xiàn)PERL5LIB變量中的值與LOG文件的匹配
f:\oracle\product\10.2.0\db_3\perl\5.8.3\lib\MSWin32-x86;f:\oracle\product\10.2.0\db_3\perl\5.8.3\lib;f:\oracle\product\10.2.0\db_3\perl\5.8.3\lib\MSWin32-x86;f:\oracle\product\10.2.0\db_3\perl\site\5.8.3;f:\oracle\product\10.2.0\db_3\perl\site\5.8.3\lib;f:\oracle\product\10.2.0\db_3\sysman\admin\scripts;
去除所有帶5.8.3的值,修改后的值為f:\oracle\product\10.2.0\db_2\sysman\admin\scripts;
此時(shí)sample運(yùn)行正常。但不知道對(duì)ORACLE有什么影響。
怕對(duì)oracle有影響,在StartServer.bat里加上了對(duì)這個(gè)變量的設(shè)置
編輯StartServer.bat 在最上面加上SET PERL5LIB=f:\oracle\product\10.2.0\db_1\sysman\admin\scripts