How does LoadRunner simulate hundreds of users?

Source: Internet
Author: User

In recent work, some colleagues often askLoadRunnerHow did we simulate hundreds of users??

Now let's make a simple description. LoadRunner The concept is "virtual user ". Virtual user ", The virtual user will simulate the real user to operate your application.Program. There are many simulated modes, such as recording the mouse clicks and keyboard hitting time (GUI-based) ; Record how the client sends data streams to the server (Stream-based) And so on.

 

To perform stress tests on applications,LoadRunnerIt is implemented in two steps.

    1. Recording operations of real users

During recording,VugenMonitors client databases, tracks requests sent from users to servers, and responses sent from servers. For example:

    1. replay simulated user operation processes

During playback, the virtual user script calls the server by executing API Directly interact with the server. When a virtual user interacts directly with the server, the client user interface does not need to occupy system resources (that is, no user interface calls system resources ). We all know that the user interface consumes the most system resources.LoadRunnerWithout simulating real operations through the user interface, he can use a few testing machines to simulate a lot of virtual users to access server applications at the same time, thus adding a certain amount of load to the server. For example

Last note: Vugen When recording a script, it is not based on the number of client software installed, but on the communication protocol, for example: HTTP/html, TCP /IP, Web Service And so on. In addition, Mercury And SAP , PeopleSoft , Citrix Cooperation with other companies ( Alliance ) Relationship, so they have better support for their software, that is, performance testing support.

 

VugenYesLoadRunnerFor more information, seeLoadRunnerArchitecture Overview

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.