标题: 新手求助,LoadRunner 创建Java Vuser时出的错误 [打印本页] 作者: xxj51testing 时间: 2013-7-19 15:34 标题: 新手求助,LoadRunner 创建Java Vuser时出的错误 import lrapi.lr;
import Johnson.lr.test.*;
public class Actions
{
public int init() throws Throwable {
return 0;
}//end of init
public int action() throws Throwable {
return 0;
}//end of action
public int end() throws Throwable {
return 0;
}//end of end
}
------------------------------------------------------------------------------------------
Notify: Found jdk version: 1.7.0. [MsgId: MMSG-22986]
Warning: Warning: Failed to find Classes.zip entry in Classpath.
[MsgId: MWAR-22986]
Notify: classpath=C:\Users\Administrator.PC-20120915THVU\AppData\Local\Temp\noname4\;d:\loadrunner\loadrunner2\安装位置\classes\srv;d:\loadrunner\loadrunner2\安装位置\classes;;.;C:\Program Files\Java\jdk1.7.0_07\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_07\lib\tools.jar;;;d:\loadrunner\loadrunner2\安装位置\lib\xstream-1.3.jar;d:\loadrunner\loadrunner2\安装位置\lib\xpp3-1.1.4c.jar [MsgId: MMSG-22986]
Notify: Path=D:\LOADRU~1\LOADRU~2\安装位置\bin;D:\LOADRU~1\LOADRU~2\安装位置\bin\gecko;D:\LOADRU~1\LOADRU~2\安装位置\bin\tulip\bin;D:\LOADRU~1\LOADRU~2\安装位置\bin;C:\Program Files\AMD APP\bin\x86;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.7.0_07\bin;D:\SQL\bin;D:\bin\win32;d:\quarters\quartus\bin;C:\strawberry\c\bin;C:\strawberry\perl\bin; [MsgId: MMSG-22986]
Notify: VM Params: . [MsgId: MMSG-22986]
Error: Java VM internal error:Error Loading javai.dll.
. [MsgId: MERR-22995]
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]
我用的是LoadRunner11,为什么有错啊,求助作者: xxj51testing 时间: 2013-7-19 17:10
附图作者: 云层 时间: 2013-7-19 17:39
貌似是你jdk版本太新导致的。。。猜测作者: xxj51testing 时间: 2013-7-19 18:10 回复 3#云层
我也看不百度,一定要用JDK5.0的 吗?作者: new_lio 时间: 2013-9-19 11:41
1.6和11是可以的,不过我这样匹配仍然是有问题的,报下面这个错误,已知jdk没有问题,真奇怪
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]作者: new_lio 时间: 2013-9-23 16:12
问题已解决,lr只支持32位jdk作者: gxsmile0809 时间: 2015-8-3 13:37