Learn how to start from zero base LoadRunner12 (a)
An article talking about the tutorial on how to install the LR12, this article is concerned about how the use of LoadRunner LoadRunner comes Sample to learn the basic use.
First, find the official help documentation, Win7 directory is " Start> All Programs> the HP Software> the HP LoadRunner> Documentation> the Tutorial> the Tutorial - Print Version
”
Win10 directory I cut a map, pull down the bottom position in the HP Software:
By official to Sample LoadRunner we will have to learn a basic understanding can grasp the basic operation, the next will take you to learn it.
To download the scan code LoadRunner12 please pay attention to attention:
LR of three parts
First explain the difference between three and contact:
VuGen to (i.e., Virtual User Generator) is the most basic part, Chinese explanation is "Virtual User Generator" to produce the relevant code by the operation of the user simulation program, and in the system, and the subsequent code are stored after recording the basis of the tests.
Controller: The controller for the organization, drive, manage and monitor the load test. You can add users to view information throughput runtime, located in the middle part of the test.
Analysis: Analysis is to help you to view, analyze and compare the results of the load test. Forming professional report, for reporting and data display, located ending portion of the test.
Load test has five parts
1. Load test plan;
2. Create a user script;
3. Define the scene;
4. Run the scene;
The analysis results.
Started Sample
Win7 according to the directory, Win10 find the corresponding files directly in the HP Software Start menu:
Start > All Programs > HP Software > HP LoadRunner > Samples > Web > Start HP Web Tours Server.
Open is the case, it should be a service-driven, this service should remain open state, will be used later in the program, the program does not shut it off.
Then find the directory open:
Start > All Programs > HP Software > HP LoadRunner > Samples > Web > HP Web Tours Application
This page can be turned on, indicating that the service has been launched successfully, then follow the steps to learn LoadRunner.
First, open VuGen
Create a Web application service script
Menu bar, select "Record", you can also directly click the Record symbol toolbar:
In the dialog box, enter the address:
http://localhost:1080/WebTours
Encounter this click "yes", there is no impact on the Sample Run:
Then enter the web page of the service, the user name and password as I lost you can enter the page, and then follow the manual "LoadRunner Tutorial.pdf" a series of operations, or their own operating some (this is an airline reservation system, as recommended by the manual operation, but also learn a lot of follow-up functions related to the operation), the operation is completed click on the upper right corner of the "stop recording" on the end user to simulate operation of the system.
to sum up
In this section we are talking about a basic overview of LoadRunner and how to use the program's Sample entry, the next section will be introduced from VuGen to Controller, how to link up from the Controller to Analysis, under section goodbye!