LoadRunner Tutorial

Welcome to the LoadRunner tutorial. The tutorial is a self-paced guide that leads you through the process of load testing, and helps familiarize you with the LoadRunner testing environment.

The tutorial is accessible as part of the LoadRunner Help Center, or a printer-friendly version is available as a PDF file. Click LoadRunner Tutorial, or on a LoadRunner machine, select Start > All Programs > HP Software > HP LoadRunner > Documentation > Tutorial > Tutorial - Print Version.

What will you learn during this tutorial?

  • Lessons 1 through 4 describe how to develop a Vuser script using VuGen - the Virtual User Generator.
  • Lessons 5 and 6 explain how to design and run load tests using the LoadRunner Controller.
  • Lesson 7 introduces the Analysis tool, showing you how to create graphs and reports which will help you analyze your load test.

At the conclusion of this tutorial, you will be ready to design, run, and monitor a simple load test on your own system. It is recommended that you work through the tutorial in the order in which the information is presented.

What are the LoadRunner components?

LoadRunner contains the following components:

  • The Virtual User Generator or VuGen records end-user business processes and creates an automated performance testing script, known as a Vuser script.
  • The Controller organizes, drives, manages, and monitors the load test.
  • Analysis helps you view, dissect, and compare the results of the load tests.

  • Load Generators, computers that run Vusers to generate a load on the system.

LoadRunner Terminology

Term Description
Transaction

You define transactions to measure the performance of your system. A transaction is a set of end-user actions that represent typical application activity. For example: Log in, navigate to a search dialog, enter a search string, click the search button, and log out.

Business Process A sequence of steps in your application that represent a use case or a business function. It includes one or more transactions. For example: Searching a product catalog, booking a flight, or placing an order.
Scenario A collection of business processes. A scenario defines the events that occur during a testing session, based on performance requirements. For example, a scenario might include a combination of "Create new account", "Search for flight", and "Purchase ticket" business processes.
Virtual Users or Vusers Vusers emulate the actions of human users working on your system. A scenario can contain tens, hundreds, or even thousands of Vusers.
Vuser Script The recorded actions of a business process performed in your application.
Protocol

The method of communication between a client and the server.

Script footprint

The script footprint is defined by the quantities of the various load generator resources that are required to execute the Vuser script. Typical resources include memory, CPU power, and disk space.

What is the LoadRunner load testing process?

Load testing with LoadRunner typically consists of five phases: planning, script creation, scenario definition, scenario execution, and results analysis.

  1. Plan Load Test. Define your performance testing requirements, for example, number of concurrent users, typical business processes, and required response times.
  2. Create Vuser Scripts. Use VuGen to capture the end-user activities into automated scripts.
  3. Define a Scenario. Use the Controller to set up the load test environment.
  4. Run a Scenario. Use the Controller to drive, manage, and monitor the load test.
  5. Analyze the Results. Use LoadRunner Analysis to create graphs and reports, and evaluate the system performance.

Define Performance Requirements

This tutorial will use a travel service application. Imagine that you are the performance engineer responsible for signing off that the application meets the needs of your business. Your project manager has given you four criteria for approving the product for release:

  1. The application must successfully handle 10 concurrent travel agents.
  2. The application must be able to process 10 simultaneous flight bookings with response time not exceeding 90 seconds.
  3. The application must be able to handle 10 travel agents running simultaneous itinerary checks with response time not exceeding 120 seconds.
  4. The application must be able to handle 10 agents signing in and signing out of the system with response time not exceeding 10 seconds.

This tutorial will walk you through the process of building load tests that validate each of the business requirements.

Where to go from here

Now that you have been introduced to the LoadRunner basics, you can proceed to Using the HP Web Tours Sample Application.

http://lrhelp.saas.hp.com/en/latest/help/WebHelp/Content/Tutorial/Introducing_LoadRunner.htm

LoadRunner Tutorial的更多相关文章

  1. HP LoadRunner 12.02 Tutorial T7177-88037教程独家中文版

    HP LoadRunner 12.02 Tutorial T7177-88037教程独家中文版 Tylan独家呕血翻译 转载请注明出自“天外归云”的博客园 Welcome to the LoadRun ...

  2. LoadRunner基础知识

    什么是自动化性能测试?利用产品.人员和流程来降低应用程序.升级程序或补丁程序部署风险的一种手段 什么是自动化性能测试的核心?向预部署系统施加工作负载,同时评估系统性能和最终用户体验 LoadRunne ...

  3. LR11

    HP LoadRunner Readme for the Windows operating system Software version: 11.00 Publication date: Octo ...

  4. LoadRuner12.53教程(一)

    LoadRunner教程 L   o   a   d   R   u   n   n   e   r   jiào教   chéng程 Welcome to the LoadRunner tutori ...

  5. 如何从零基础开始学习LoadRunner12(一)

    如何从零基础开始学习LoadRunner12(一) 上一篇文章讲到了如何安装LR12的教程,这一篇文章来讲一下怎么利用LoadRunner自带的Sample来学习LoadRunner的基本使用. 首先 ...

  6. LoadRunner结果分析与生成报告

    启动Analysis会话 1.打开HP LoadRunner2.打开LoadRunner Analysis在LoadRunner Analysis选项卡中单击分析负载测试3.打开Analysis会话文 ...

  7. LoadRunner脚本准备

    脚本录制1.启动LoadRunner2.打开VuGen在LoadRunner Launcher窗格中,单击创建/编辑脚本3.创建一个空白Web脚本在“新建虚拟用户”对话框里选择新建脚本的协议一般选择W ...

  8. loadrunner 基础-学习笔记一

    由于公司要使用loadrunner暂停学习jmeter 1 loadrunner组件: virtual user generator:录制最终用户业务流程并创建自动化性能测试脚本,vuser脚本 co ...

  9. LoadRunner使用教程

    1.了解Loadrunner 1.1 LoadRunner 组件有哪些? LoadRunner 包含下列组件: ➤ 虚拟用户生成器用于捕获最终用户业务流程和创建自动性能测试脚本(也称为虚拟用户脚本). ...

随机推荐

  1. linux下mysql忘记root密码的解决方案

    1.首先确认服务器出于安全的状态,也就是没有人能够任意地连接MySQL数据库. 因为在重新设置MySQL的root密码的期间,MySQL数据库完全出于没有密码保护的 状态下,其他的用户也可以任意地登录 ...

  2. C语言中的宏定义

    目录(?)[-] 简单宏定义 带参数的宏 运算符 运算符 宏的通用属性 宏定义中圆括号 创建较长的宏 较长的宏中的逗号运算符 宏定义中的do-while循环do 空操作的定义 预定义宏 C语言中常用的 ...

  3. C#操作XML文档(XmlDocument、XmlNode、XmlAttribute、SelectSingleNode、SelectNodes、XmlNodeList)

    XML文档是一种通用的文档,这种文档既可以用.config作为后缀也可以用.xml作为后缀.XML文档主要由元素节点和节点的属性共同构成的.它有且仅有一个根节点,其他的节点全部都是根节点的子节点或者子 ...

  4. UESTC_酱神赏花 2015 UESTC Training for Dynamic Programming<Problem C>

    C - 酱神赏花 Time Limit: 3000/1000MS (Java/Others)     Memory Limit: 262143/262143KB (Java/Others) Submi ...

  5. Eight(South Central USA 1998)(八数码) 分类: bfs 2015-07-05 22:34 1人阅读 评论(0) 收藏

    The 15-puzzle has been around for over 100 years; even if you don't know it by that name, you've see ...

  6. [转]使用Navicat for Oracle工具连接oracle的

    使用Navicat for Oracle工具连接oracle的 这是一款oracle的客户端的图形化管理和开发工具,对于许多的数据库都有支持.之前用过 Navicat for sqlserver,感觉 ...

  7. 解决红米等手机(移动端)无法触发touchend事件

    触屏事件的简单描述: js的触屏事件,主要有三个事件:touchstart,touchmove,touchend. 这三个事件最重要的属性是 pageX和 pageY,表示X坐标,Y坐标.touchs ...

  8. sun.misc.BASE64Encoder找不到包,解决方法

    右键项目->属性->java bulid path->jre System Library->access rules->resolution选择accessible,以 ...

  9. PCI、PCIE配置空间的訪问(MCFG,Bus,Device,Funtion)

    一般来说,在x86平台上,有两大类方式能够訪问这一区间的寄存器,   1,配置机制1#或者配置机制2#   訪问时借助in/out指令.请注意,这样的方式有别于一般的in/out指令訪问PCI的IO空 ...

  10. 3第一周课后练习&#183;阅读计划(3)-使用函数来访问私有数据成员

    /* * Copyright (c) 2015, 计算机科学学院,烟台大学 * All rights reserved. * 文件名:test.cpp * 作 靠:刘畅 * 完成日期:2015年 3 ...