First, the download and installation of LR12
Lr12:http://pan.baidu.com/s/1nvo0yqh
Installation steps:
1. Run the downloaded Hp_loadrunner_12.02_community_edition_t7177-15058.exe into the installation preparation phase
2. Install the prompt prerequisites before installing the HP LoadRunner (LR installation requires support from other environments)
3. Follow the installation Wizard to continue the installation, note: It is strongly recommended to install the default path to avoid certain usage exceptions
4. Cancel the HP authentication setting and uncheck the "Specify the certificate that the LoadRunner agent will use" in the Default check box
5. The installation is complete, you can see the LR three components icon on the desktop: Virtual User Generator, Controller, analysis
Second, how to add jar package and related configuration
The source of the 1.jar package:
Eclipse New Project---Create a package---Create a class---Write Java script---Select File-->export---tick jarfile, click Save
2. Set Runtime Settings
Create a Java vuser---> Settings replay---> Runtime Settings---> Classpath---> Add---> OK
① add C:\LoadRunner\wallet\lib\ all. jar files (the original Java project's jar package path)
② Add C:\Program Files (x86) \java\jdk1.6.0_24\lib
C:\Program Files (x86) \java\jdk1.6.0_24\lib\dt.jar (jar under the JDK version path used by Java)
3. Set Java Function
Java Function---> Locations---> Add---> OK
① add C:\LoadRunner\wallet\lib\ all. jar files (the original Java project's jar package path)
② Add C:\Program Files (x86) \java\jdk1.6.0_24\lib
C:\Program Files (x86) \java\jdk1.6.0_24\lib\dt.jar
C:\Program Files (x86) \java\jdk1.6.0_24\lib\tools.jar (jar under the JDK version path used by Java)
4. Check the environment variable configuration
Start---> Right-click computer---> Properties---> Advanced system settings---> Environment variables---> Java_home:c:\program Files (x86) \java\jdk1.6.0_24 (Select the JDK version)---> OK
LoadRunner12 installation, how to add jar packages to write Java scripts and related configuration information