1. Download and install LoadRunner
Refer to LoadRunner Installation
2. Script recording
After entering LoadRunner, the interface is as follows:
Click Create/edit script to go to the following page:
Click the create script button (+ that button)
Select the New Multiple Protocol script ----- web (HTTP/html) option on the left, as shown in figure
Click Create to go to the following page:
Click the recording button on the page ). Enter the URL to be tested in the URL address in the new interface, as shown in figure
Click OK. After the URL to be tested appears, you can record the script. At this time, such a control panel will appear
After the script is recorded, click the stop script button (the second button on the left. The following page is displayed after the recording is stopped:
Click the script option in the upper-right corner in the lower-left corner to go to the following page:
Click the replay button next to the recording button to view the script execution status, as shown below:
3. Load Testing
(1) click the file option to save the test script.
(2) Click Tools --- create controller scenario.
(3) What you need to do in this interface is to create a vuser.
(4) enter the number of vusers in the figure above and enter the following interface:
Data in the lower left corner. Is the main parameter for load testing, after modification. You can click the run button in the upper left corner. The test results are as follows:
Now the test is complete. You can click tools -- analysis to analyze the result. For example
This test has been completed.
ReferenceArticle:
Http://wenku.baidu.com/view/923ee9639b6648d7c1c746f0.html