LoadRunner run scripts made from Eclipse, CTRL + A is copied into LoadRunner,
Add a parameterized statement: Verifycode = lr.eval_string ("<rand6>");
Error:
Notify:found JDK version:1.6.0. [msgid:mmsg-22986]
notify:classpath=e:\performancetest\3-Performance test \lr_hibox_script\;c:\program files (x86) \hp\loadrunner\classes\srv;c:\ Program Files (x86) \hp\loadrunner\classes;.; C:\Program Files (x86) \java\jdk1.6.0_45\lib\tools.jar; C:\Program Files (x86) \java\jdk1.6.0_45\lib\dt.jar; E:\performanceTest\jar\fastjson-1.1.37.jar; E:\performanceTest\jar\hibox_for_lr.jar; E:\performanceTest\jar\protobuf-java-2.5.0.jar;;;; C:\Program Files (x86) \hp\loadrunner\lib\xstream-1.3.jar;c:\program files (x86) \hp\loadrunner\lib\xpp3-1.1.4c.jar[ MSGID:MMSG-22986]
Error:compilation process failed. [msgid:merr-22997]
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]
The original is copied over, resulting in the original statement import LRAPI.LR; overwritten, the missing statement will be an error, add this statement at the top of the script, it will run normally
LoadRunner Java is missing necessary import package error