|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/micro-focus-loadrunner-2021/
课程评论:没有评论
课程名称: 使用Micro Focus LoadRunner进行性能测试 课程概述: LoadRunner是一款由Micro Focus开发的软件测试工具,主要用于测试应用程序在负载下的系统行为和性能。LoadRunner能够同时模拟成千上万的用户使用应用软件,通过记录并分析关键组件的性能来评估系统的表现。该工具通过生成消息来模拟用户活动,或者模拟用户界面的交互,如按键或鼠标移动。生成的消息和交互将被存储在脚本中,LoadRunner可以通过记录HTTP请求等方式来生成这些脚本。 历史背景: LoadRunner最初是Hewlett Packard Enterprise于2006年收购Mercury Interactive后获得的工具。2016年,Hewlett Packard Enterprise宣布将其软件业务(包括Mercury产品)出售给Micro Focus,并于2017年9月完成收购。2019年,Micro Focus宣布对LoadRunner系列进行重命名,遵循CalVer版本控制,现LoadRunner称为LoadRunner Professional 2020。 架构: LoadRunner的关键组件包括: - 负载生成器(Load Generator):根据脚本生成对应用的负载。 - 虚拟用户生成器(VuGen):用于生成和编辑脚本。 - 控制器(Controller):控制、启动和调度负载生成器的实例。 - 代理进程(Agent process):管理控制器与负载生成器实例之间的连接。 - 分析模块(Analysis):汇总各负载生成器的日志并格式化报告,便于可视化运行结果数据和监控数据。 LoadRunner支持多种应用和网络技术,包括Microsoft.NET、Java、数据库服务器(如Microsoft SQL Server和Oracle)、各种互联网协议(如DNS、FTP、LDAP)及电子邮件协议(如IMAP、MAPI、POP3、SMTP)。 LoadRunner还可以单独运行,也可以在LoadRunner Enterprise的控制下供多个人使用,实现多个实例的联合。 云计算版本: 自2010年起,Hewlett Packard开始提供LoadRunner的云计算按需版本,如Amazon Elastic Compute Cloud和Microsoft Azure。StormRunner Cloud已更名为LoadRunner Cloud 2020。 脚本语言: LoadRunner的客户端仿真脚本通常使用ANSI C编程语言创建。然而,它也支持运行Java和.NET程序。版本12.50还新增了对JavaScript的支持。LoadRunner可以运行其他测试工具(如Apache JMeter、Gatling、NUnit、Selenium)中的脚本,允许在运行过程中将响应时间与特定条件关联。 支持JMeter测试: LoadRunner 12.55允许测试人员从控制器运行Apache JMeter脚本,并与虚拟用户脚本并行查看LoadRunner测量的结果,此功能目前是测试版。 此课程将深入讲解LoadRunner的功能及应用,帮助学员掌握性能测试的核心技能。
LoadRunner is a software testing tool from Micro Focus. It is used to test applications, measuring system behavior, and performance under load. LoadRunner can simulate thousands of users concurrently using application software, recording and later analyzing the performance of key components of the application.LoadRunner simulates user activity by generating messages between application components or by simulating interactions with the user interface such as keypresses or mouse movements. The messages and interactions to be generated are stored in scripts. LoadRunner can generate the scripts by recording them, such as logging HTTP requests between a client web browser and an application's web server.Hewlett Packard Enterprise acquired LoadRunner as part of its acquisition of Mercury Interactive in November 2006. In Sept 2016, Hewlett Packard Enterprise announced it is selling its software business, including Mercury products, to Micro Focus. As of 01-Sept-2017, the acquisition was complete.On Dec 12, 2019, Micro Focus announced newer names for the LoadRunner package and started following CalVer. LoadRunner is now LoadRunner Professional 2020Performance Center is now LoadRunner Enterprise 2020StormRunner Load is now LoadRunner Cloud 2020ArchitectureThe key components of LoadRunner are:Load Generator generates the load against the application by following scriptsVuGen (Virtual User Generator) for generating and editing scriptsController controls, launches, and sequences instances of Load Generator - specifying which script to use, for how long, etc. During runs, the Controller receives real-time monitoring data and displays status.Agent process manages the connection between Controller and Load Generator instances.Analysis assembles logs from various load generators and formats reports for visualization of run result data and monitoring data.Modules are available to enable LoadRunner to capture, replay, and script different application and networking technologies. These include support for:applications using Microsoft.NET and Javadatabase servers such as Microsoft SQL Server and Oracleinternetworking protocols such as DNS, FTP, and LDAPe-mail protocols including IMAP, MAPI, POP3 & SMTPremote client technologies such as Citrix ICA and RDP.LoadRunner can be run standalone or multiple instances can be pooled for use by several people under the control of LoadRunner Enterprise, formerly known as HP PerformanceCenter.LoadRunner Cloud 2020From 2010 Hewlett Packard started to offer on-demand versions of LoadRunner available by cloud computing services such as Amazon Elastic Compute Cloud and later Microsoft Azure. Version 12.50 added the use of Google Compute Engine. Selected HP partners are also able to provide LoadRunner in the Cloud as an on-demand service from their SaaS platforms.StormRunner Cloud has been renamed LoadRunner Cloud 2020.Scripting LanguagesLoadRunner client emulation scripts are usually created using the ANSI C programming language. However, Java and.Net programs can also be run by LoadRunner. Version 12.50 added the use of JavaScript for Web-HTTP/HTML scripts.Scripts from other testing tools such as Apache JMeter, Gatling, NUnit, and Selenium can be run by LoadRunner by declaring an interface library. This enables scripts to send key-value pairs to the Controller as the script runs, enabling response times to be associated with specific conditions such as the number of items displayed in the User Interface.LoadRunner scripts can also be called from within Jenkins.Support for JMeter TestsLoadRunner 12.55 enables testers to run Apache JMeter scripts from Controller, alongside Vuser scripts can view the results to LoadRunner measurements. This feature is provided as a beta version.