基于LoadRunner 的参数化策略的研究和应用.pdfVIP

  • 6
  • 0
  • 约1.95万字
  • 约 5页
  • 2017-06-18 发布于湖北
  • 举报

基于LoadRunner 的参数化策略的研究和应用.pdf

第29卷第12期    计算机应用与软件 Vol29No.12 2012年12月   ComputerApplicationsandSoftware Dec.2012 基于LoadRunner的参数化策略的研究与应用 1 2 李旭东  朱立谷 1(中国银行测试中心 北京 100094) 2(中国传媒大学计算机学院 北京 100024) 摘 要  LoadRunner是性能测试中常用的自动化测试软件。分析LoadRunner参数化策略的局限性并根据性能测试的实际需求, 提出使用多个参数文件的解决思路。介绍使用C语言开发动态链接库的方法,并介绍动态链接库在LoadRunner脚本中的使用,实 现一种新的参数化策略。使LoadRunner可以更好地模拟用户行为,满足了性能测试对参数化策略多样性的要求。 关键词  LoadRunner C语言 动态链接库 中图分类号 TP317    文献标识码 A DOI:10.3969/j.issn.1000386x.2012.12.065 RESEARCHANDAPPLICATIONOFLOADRUNNERBASEDPARAMETERISATION STRATEGY 1 2 LiXudong ZhuLigu 1(QualityControlCenter,BankofChina,Beijing100094,China) 2(SchoolofComputerScienceandTechnology,CommunicationUniversityofChina,Beijing100024,China) Abstract  LoadRunneristhecommonautomatedtestsoftwareinperformancetest.ThispaperanalysesthelimitationofLoadRunnerpa rameterisationstrategy.Accordingtoactualdemandofperformancetest,weproposeasolutionideaofusinglotsofparameterfiles.Inthispa perwedescribethemethodofdevelopingdynamiclinklibraryinCLanguage,describethemethodofusingdynamiclinklibraryinLoadRun nerscript,realiseanewstrategyofparameterisation.Withthedynamiclinklibrary,LoadRunnercouldhavebetterabilitytosimulateusers’ behaviour,andcouldmeetthemultirequirementsofparameterisationstrategy. Keywords  LoadRunner Clanguage Dynamiclinklibrary 步骤: 0 引 言 1、录制或者编写真实用户操作的脚本; 2、对脚本进行参数化工作; 软件测试是保障软件质量的重要环节,测试工作可以简要 3、虚拟用户执行脚本模拟真实用户的操作过程。 地划分为性能测试和功能测试。功能测试一般采用手工方式或

文档评论(0)

1亿VIP精品文档

相关文档