小布老师LR系列培训视频- LoadRunner概述
上一篇 / 下一篇 2008-11-26 16:20:13 / 个人分类:自动化测试
一、loadrunner概述
第一讲:http://www.boobooke.com/v/bbk105951Testing软件测试网H*h"O+s0I ah\
内容:
1) 为什么要进行性能测试?
2) 性能测试的重要意义 “数据大集中”
3) 典型的企业信息系统
4) 性能测试的原理
5) 性能测试的类型
Component testing---Find the behavīor and performance of each tier.
Load testing---Find out weather the system can handle the expected load upon deployment under real world conditions.
Stress testing---Find the system’s breaking point.Apply testing that measure whether the system’s environment is properly configured to handle expected or potentially unexpected high transaction volumes.
Volume testing---Find the stability of the system with respect to handing large amounts of data over extended time periods.
6) 性能测试的一些例子
Application response time
Configuration sizing---At what point does degradation in performance occur
Acceptance---Is the system stable enough to go into production?
Regression---Does the new version of the software adversely affect response time?
Reliability---How stable is the system under a heavy work load?
Capacity planning
Bottleneck identification
Product evaluation---what is the best serve for 100 users?
7) 性能测试贯穿于软件生命周期
Planning and Design---What is the server to support 1000 users?
Development---Does the system response time meet requirement?
Deployment---Is the system reliable enough to go into production?
Production---What is the cause of performance degradation?
Evolution---How many users can be added without decreasing system performance?
第二讲:http://www.boobooke.com/v/bbk1060
1) 手工性能测试的局限性
2) LR解决方案
Overcomes resource limitations
Replaces testers with “Virtual Users”
Runs many Vusers on few machines
Controller manages Virtual Users
Allows repeatable tests with scrīpted actions
provides meaningful results with analysis tools
3) LR能干什么?
LR allows you to
scale---the application to a predetermined capacity,
identify---business processes or system components having trouble,
diagnose---a problem to pinpoint the root cause
4) LR的组件(4大组件,3大软件)
脚本录制开发工具VuGen
集成控制器Controller
结果分析器Analysis
压力机Load Generator,不是软件,是物理组件
5) LR整体架构图
6) VuGen---recordsVuser scrīptsthat emulate the steps of real users using the application
7) Controller---the controller is an administrative center for creating, marinating, and executingscenarios. The controller assigns Vusers and load generators to scenarios, starts and stops load tests, and performs other administrative tasks
8) Analysis---Analysis uses the load test results to creategraphsandreportsthat are used to correlate system information, identify bottlenecks, and performance issues.
9) Load Generators---load generators(also know as hosts or injectors) are used to run the Vusers that generate load on the application under test. Load Generators are physical machines!
10)什么是虚拟用户?
Vusers are processes or threads running on the load generator.
11)LR支持的协议
12)什么是场景(scenario)?
Elements of a Scenario: Vusers, scrīpts, Number of load generators, run-time settings, run-time monitors.
13)LR对系统性能的监控
---Where is the bottleneck?
---monitors are non-intrusive and agent-less
---monitors gather data for online/offline analysis
---monitors display real-time data during testing
---monitors gather data for offline root cause annlysis after testing
14)LR支持的监控器
15)性能测试的流程