LoadRunner Java is missing necessary import package error

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.