LoadRunner 11(Windows 7 x64)问题记录(待更新……)
1、LoadRunner录制脚本时为什么不打开IE浏览器?
问题描述:默认设置,录制Vuser脚本,没有打开IE浏览器;
问题解决:
(1)进入路径:C:\Program Files (x86)\Internet Explorer;
(2)双击“iexplore.exe”,启动浏览器;
(3)打开Internet选项对话框,切换到高级标签,去掉“启用第三方浏览器扩展*”的勾选,启动IE;
(4)再次运行VuGen即可解决问题。
2、LoadRunner录制脚本时打开的IE浏览器?
问题描述:默认设置,录制Vuser脚本,打开的不是IE浏览器;
问题解决:
(1)修改“Program to record”的路径为IE浏览器的地址:C:\Program Files (x86)\Internet Explorer\iexplore.exe;
(2)继续运行VuGen即可解决问题。
3、配置好Java1.6环境变量,LoadRunner依然报错:
问题描述:LoadRunner 11最高支持 java1.6版本,但是安装了 java1.6(x64)之后,仍然报错:
Error: Failed to find java.exe.
Please add the <JDK>\bin to the path and try again. [MsgId: MERR-22968]
Warning: Extension java_int.dll reports error -1 on call to function ExtPerProcessInitialize [MsgId: MWAR-10485]
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread. [MsgId: MERR-10176]
问题解决:LoadRunner 11需要32位的jdk,把jdk换为32位的就可以了。
4、LoadRunner执行报错“VUGen has encountered a problem and needs to close.……”
问题描述:录制完订票脚本,执行报错“VUGen has encountered a problem and needs to close.We are sorry for the inconvenience. VUGen will try to recover any unsaved data you were working on……”。
问题解决:
Toos > General Options > Display,去掉“Show run-time viewer during replay。
(尝试了修改注册表中“KEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\LoadRunner\Vugen\Thumbnails”的参数:0-1,但是压根没有找到。)