如何下载,安装和使用Microfocus(HP)Load Runner用于示例的负载测试教程?

Microfocus (formerly HP) Loadrunner is a Load, Stress, and DoS Testing tools used to test applications. Loadrunner also provides benchmark results for the given target. In this tutorial, we will learn how to download, register, install, and use Loadrunner.

Microfocus(以前称为HP)Loadrunner是用于测试应用程序的负载,压力和DoS测试工具。 Loadrunner还提供给定目标的基准测试结果。 在本教程中,我们将学习如何下载,注册,安装和使用Loadrunner。

特征 (Features)

Loadrunner is a very capable tool that can be used for different purposes with different environments and cases. Here we will talk about some of the popular features of the Loadrunner.

Loadrunner是一个非常强大的工具,可以在不同的环境和情况下用于不同的目的。 在这里,我们将讨论Loadrunner的一些流行功能。

互动录音 (Interactive Recording)

Loadrunner can be used to record actions of load and performance testing. We can test applications developed in Ajax, Flex, HTML 5, .NET, Java, GWT, Silverlight, SOAP, Citrix, ERP, and other types of applications while recording test actions.

Loadrunner可用于记录负载和性能测试的操作。 在记录测试动作的同时,我们可以测试用Ajax,Flex,HTML 5,.NET,Java,GWT,Silverlight,SOAP,Citrix,ERP和其他类型的应用程序开发的应用程序。

脚本编写 (Scripting)

Loadrunner provides very rich scripting language to create test cases and actions. We can use parameters, variables, functions in the Loadrunner scripting language.

Loadrunner提供了非常丰富的脚本语言来创建测试用例和操作。 我们可以使用Loadrunner脚本语言中的参数,变量,函数。

移动测试 (Mobile Testing)

We can use Loadrunner to test Mobile applications which are developed for Web, Android and IOS.

我们可以使用Loadrunner来测试针对Web,Android和IOS开发的Mobile应用程序。

与开发工具集成 (Integration with Dev Tools)

We can integrate load testing into our development tools: IDE, jUnit, NUnit Selenium, Microsoft Visual Studio, JMeter.

我们可以将负载测试集成到我们的开发工具中:IDE,jUnit,NUnit Selenium,Microsoft Visual Studio,JMeter。

寄存器 (Register)

In order to download Loadrunner, we have to register to the Microfocus web portal. We will navigate to the following URL and register.

为了下载Loadrunner,我们必须注册到Microfocus Web门户。 我们将导航到以下URL并注册。

https://www.microfocus.com/en-us/products/loadrunner-load-testing/free-trial

https://www.microfocus.com/zh-CN/products/loadrunner-load-testing/free-trial

Register Loadrunner
Register Loadrunner
注册Loadrunner

下载 (Download)

Microfocus provides its products from the following link where we download Loadrunner. We will click on the Download button.

Microfocus通过以下链接提供了其产品,我们从以下链接下载Loadrunner。 我们将点击Download按钮。

https://home.software.microfocus.com/myaccount/#/myProducts

https://home.software.microfocus.com/myaccount/#/myProducts

Download Loadrunner
Download Loadrunner
下载Loadrunner

The size of the Loadrunner is about 1 GB and download time-related with the internet connection speed.

Loadrunner的大小约为1 GB,下载时间与Internet连接速度有关。

安装 (Install)

When we click on the installation file we will see the following screen. This screen provides different functions and tools where we will run LoadRunner Full Setup.

当我们单击安装文件时,我们将看到以下屏幕。 该屏幕提供了我们将在其中运行LoadRunner Full Setup不同功能和工具。

Start LoadRunner Full Setup
Start LoadRunner Full Setup
启动LoadRunner完整设置

We need to install some libraries and updates with the following screen.

我们需要在以下屏幕上安装一些库和更新。

Start LoadRunner Full Setup
Start LoadRunner Full Setup
启动LoadRunner完整设置

Then we will select LoadRunner from checkboxes.

然后,我们将从复选框中选择LoadRunner

Start LoadRunner Full Setup
Start LoadRunner Full Setup
启动LoadRunner完整设置

Here the installation is in progress

此处安装正在进行中

Start LoadRunner Full Setup
Start LoadRunner Full Setup
启动LoadRunner完整设置

We can configure SSL certificate related issues in the following screen.

我们可以在以下屏幕中配置与SSL证书相关的问题。

Start LoadRunner Full Setup
Start LoadRunner Full Setup
启动LoadRunner完整设置

LoadRunner使用(LoadRunner Usege)

LoadRunner provides 3 main components for load and stress test.

LoadRunner提供了3个主要组件来进行负载和压力测试。

  • Virtual User Generator is used to create cases, actions, scripts for the test plans.

    虚拟用户生成器用于为测试计划创建案例,操作,脚本。
  • The Controller is used to run given Virtual User Generator plans to the specified target.

    Controller用于将给定的虚拟用户生成器计划运行到指定目标。
  • The analysis is used to read the report created after tests by the Controller.

    该分析用于读取控制器测试后创建的报告。
LEARN MORE  Crash Linux System With A Bash Fork Bomb
了解更多使用Bash Fork炸弹崩溃Linux系统

虚拟用户生成器(Virtual User Generator)

The core of the Loadrunner is the Virtual User Generator. This will create users, actions and scripts about the test cases.

Loadrunner的核心是虚拟用户生成器。 这将创建有关测试用例的用户,操作和脚本。

Virtual User Generator
Virtual User Generator
虚拟用户生成器

We can create a new script and solutions from File->New Script and Solutions like below.

我们可以从File > New Script and Solutions如下创建一个新的脚本和解决New Script and Solutions

Virtual User Generator Create Project
Virtual User Generator Create Project
虚拟用户生成器创建项目

Then we will select the project type which is Web - HTTP/HTML in this example. We will also provide the project location and the project name which is MyLoadTest.

然后,在此示例中,我们将选择项目类型为Web - HTTP/HTML 。 我们还将提供项目位置和项目名称MyLoadTest

MyLoadTest
MyLoadTest
MyLoadTest

Then we will click to the red record button on the panel. This will open the following Start Recording screen where we will put parameters like Record, Application, Browser, URL, etc.

然后,我们将单击面板上的红色记录按钮。 这将打开下面的“ Start Recording屏幕,我们将在其中放置“记录”,“应用程序”,“浏览器”,“ URL”等参数。

Record Actions
Record Actions
记录动作

This will open Chrome for recording events and store actions. After finishing that we can run actions

这将打开Chrome记录事件并存储操作。 完成后,我们可以执行操作

控制者(Controller)

The controller is used for controlling the overall test. We will use VuGen scripts where we have created with Virtual User Generator.

该控制器用于控制整体测试。 我们将使用通过虚拟用户生成器创建的VuGen脚本。

翻译自: https://www.poftut.com/how-to-download-install-and-use-microfocus-hp-load-runner-for-load-testing-tutorial-with-examples/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值