1 / 10

利用 LoadRunner 进行性能测试

利用 LoadRunner 进行性能测试. Ricky Zhu Gtalk: ricky.zhu@gmail.com MSN: zhunaldo@hotmail.com Blog: www.rickyzhu.com. Agenda. 理解需求 VUGen 简介 录制和优化脚本 Controller 介绍 设置场景并执行测试 结果分析以及问题定位 ( Session II) 生成测试报告 ( Session II). 理解需求. 读懂并量化需求 根据需求设计测试用例 误区: 需求不明确也可性能测试 性能测试不用进行测试设计. VUGen 简介.

malini
Download Presentation

利用 LoadRunner 进行性能测试

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 利用LoadRunner进行性能测试 Ricky Zhu Gtalk: ricky.zhu@gmail.com MSN: zhunaldo@hotmail.com Blog: www.rickyzhu.com

  2. Agenda • 理解需求 • VUGen简介 • 录制和优化脚本 • Controller介绍 • 设置场景并执行测试 • 结果分析以及问题定位 (Session II) • 生成测试报告 (Session II)

  3. 理解需求 • 读懂并量化需求 • 根据需求设计测试用例 误区: • 需求不明确也可性能测试 • 性能测试不用进行测试设计

  4. VUGen简介 • 录制选项 • RTS设置 • 关联规则 • 自动关联和手动关联 • 参数化和策略

  5. 录制和优化脚本 • 录制代码 • 优化代码 • 增加日志和事务代码 • 增加集合点

  6. Controller介绍 • 组的设置和策略 • 添加负载生成器 • 添加系统资源计数器 • 设置集合点策略 • 面向目标的场景 • IP欺骗(*)

  7. 设置场景并执行测试 • RumpUp/RumpDown • 执行时间和迭代 • 监控执行 • 错误处理

  8. 结果分析和问题定位 • 平均事务响应时间图 • 事务相关图 • 系统资源图 • 网络吞吐图 • 以上各图和用户图叠加 • 事务细分图 • 结果关联和过滤

  9. 生成测试报告 • 生成测试报告 • 测试结果确定并提供建议

  10. Q&A

More Related