LoadRunner + Java Script Chapter I.

Source: Internet
Author: User

The last two days just got the Loadrunner-java script written, write it down and don't lose it.

1. Environment configuration

LR12 Support JDK1.7

LR11 only supports JDK1.6 and the following versions

I use LR11, there are two ways to make LR11 support Java Script

① installed JDK1.6 (32-bit) on the computer, and the environment variable Java_home/classpath/path configured to JDK1.6, the specific configuration method, please search Baidu ' JDK environment variable configuration '

② This approach is to solve the computer environment JDK1.7, and need to support the Java script situation,

Install the 32-bit JDK1.6 first, then create the Java vuser script, select the use JAVAVM jdk in Run-time Settings---specified, and enter the JDK1.6 path into the JDK corresponding to value, as shown in:

My JDk1.6 path is C:\Program Files (x86) \java\jdk1.6.0_45

Then empty all the jar packages in the classpath.

At this point in the script to write a random test, no error will indicate that the configuration was successful.

LoadRunner + Java Script Chapter I.

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.