search
HomeCommon ProblemWhat are the three major components of loadrunner?

Loadrunner has three major components: 1. Script user script, mainly used for recording and debugging scripts; 2. Console controller, which sets scene parameters and manages virtual users; 3. Result analyzer analysis, which generates test reports.

What are the three major components of loadrunner?

The three major components of loadrunner:

1. Script user script (Virtual user generator): recording , Debugging script

The tester is replaced by the Vuser (virtual user) of LoadRunner, and the operations performed by the tester are fixed in the form of Vuser Script (virtual user script). A computer can run multiple Vusers, so LoadRunner reduces the hardware requirements for performance testing.

The operations performed by Vuser in the scenario are described by Vuser scripts. When running the scenario, each Vuser executes the Vuser script. The Vuser script records user actions and contains a series of functions that measure and record server performance to facilitate calculation of performance indicators. It's like a real user holding a stopwatch to record time while performing operations.

2. Console (controller): Set scene parameters and manage virtual users

is the headquarters for running performance tests. The Controller is responsible for generating performance test scenarios, managing and Coordinate multiple virtual users. During actual operation, the Controller assigns running tasks to each Load generator. It also monitors the performance of each node of the software system online, collects result data, and provides it to LoadRunner's Analysis.

①Load generator : It’s PC. You need to use the resources of each PC. For example, a virtual machine can simulate 1,000 users. If you want to conduct an online test with 5,000 people, you can connect other PCs and enter their IP addresses. Can.

In the Controller, click "Add" in the Load Generators of "Scenario Scripts" and enter the IP address; then click the load generator on the toolbar, click connect to connect, and you can use the resources of the physical machine. (New physical machines must have load generator software)

Load generator, in layman’s terms, is the “subordinate” of the controller. The Controller issues commands, and the Load generator is responsible for implementation. Usually, after LoadRunner is installed on a machine, the Load generator is automatically installed, and a Controller can control the Load generator on the polymorphic machine, allowing them to agree to obey the command and complete the task together.

②Agent: Deployed on each client, collaboratively obtains a consistent virtual user

In the load generator, we know that the Controller can issue commands to it, and each physical mechanism If you can hear it, you are using an agent program, so you need to start the program.

The agent is responsible for listening to the instructions from the controller in real time to coordinate the virtual users in each pressure generator

③When doing online testing, the online machine must meet two conditions :

1) Install the load generator

2) Start the agent: All Programs—>HP LoadRunner—>Advanced Settings—>LoadRunner Agent Process

3. Result analyzer (analysis): Generate test report

④Monitor: During the performance test process, all important resources of the server must be monitored.

⑤ After opening the Controller as an administrator, there is Select Scenario Type

①Manual Scenario Type to manually set the scene (create Vuser groups, specify the scripts, load generators, number of Vusers)

–Use the Percentage mode…: Define the total number of virtual users and allocate a certain proportion of virtual users to each script. For example: the total number of virtual users is 20, and there are two scripts 001_login 40% and 002_lookFlight 60% (if one of the ratios is modified, the other ratio will automatically be 1-this ratio)

Because the Controller starts slowly, if you want to proceed To convert the mode, use Senario–>Convert Scenario to the Vuser Group Mode and then introduce the script.

-If you do not select the above, it will be based on the number. For example: the total number of virtual users is 20, and there are two scripts 001_login 8 and 002_lookFlight 16 (if one of the numbers is modified, the other number will automatically Change)

– In enterprises, the general concurrent test reaches hundreds of users, so the percentage is used less

②Global-Oriented Scenario: Define a goal that needs to be achieved during the test, lr will Automatically create scenes. This method will automatically set some contents implicitly, so the running process is prone to errors. When errors occur, you have to find the errors yourself, which is not as convenient as manual setting.

The above is the detailed content of What are the three major components of loadrunner?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
deepseek web version official entrancedeepseek web version official entranceMar 12, 2025 pm 01:42 PM

The domestic AI dark horse DeepSeek has risen strongly, shocking the global AI industry! This Chinese artificial intelligence company, which has only been established for a year and a half, has won wide praise from global users for its free and open source mockups, DeepSeek-V3 and DeepSeek-R1. DeepSeek-R1 is now fully launched, with performance comparable to the official version of OpenAIo1! You can experience its powerful functions on the web page, APP and API interface. Download method: Supports iOS and Android systems, users can download it through the app store; the web version has also been officially opened! DeepSeek web version official entrance: ht

In-depth search deepseek official website entranceIn-depth search deepseek official website entranceMar 12, 2025 pm 01:33 PM

At the beginning of 2025, domestic AI "deepseek" made a stunning debut! This free and open source AI model has a performance comparable to the official version of OpenAI's o1, and has been fully launched on the web side, APP and API, supporting multi-terminal use of iOS, Android and web versions. In-depth search of deepseek official website and usage guide: official website address: https://www.deepseek.com/Using steps for web version: Click the link above to enter deepseek official website. Click the "Start Conversation" button on the homepage. For the first use, you need to log in with your mobile phone verification code. After logging in, you can enter the dialogue interface. deepseek is powerful, can write code, read file, and create code

How to solve the problem of busy servers for deepseekHow to solve the problem of busy servers for deepseekMar 12, 2025 pm 01:39 PM

DeepSeek: How to deal with the popular AI that is congested with servers? As a hot AI in 2025, DeepSeek is free and open source and has a performance comparable to the official version of OpenAIo1, which shows its popularity. However, high concurrency also brings the problem of server busyness. This article will analyze the reasons and provide coping strategies. DeepSeek web version entrance: https://www.deepseek.com/DeepSeek server busy reason: High concurrent access: DeepSeek's free and powerful features attract a large number of users to use at the same time, resulting in excessive server load. Cyber ​​Attack: It is reported that DeepSeek has an impact on the US financial industry.

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),