Use LoadRunner for Load Testing

Source: Internet
Author: User
Tags stop script

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

 

 

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.