软件测试案例分析 实验二、Loadrunner基本操作.doc_第1页
软件测试案例分析 实验二、Loadrunner基本操作.doc_第2页
软件测试案例分析 实验二、Loadrunner基本操作.doc_第3页
软件测试案例分析 实验二、Loadrunner基本操作.doc_第4页
软件测试案例分析 实验二、Loadrunner基本操作.doc_第5页
已阅读5页,还剩10页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

实验二 Loadrunner基本操作 姓名: 学号:一、 实验目的(1)理解和掌握性能测试的基本原理和方法。(2)掌握LR录制模式的选择与使用。二、实验要求(1)运用LR录制登陆脚本,完成订票操作。(2)回放脚本,观察结果。(3)对脚本进行参数化。三、实验内容(1) 打开http:/localhost/MercuryWebTours/订票页面,注册用户mike/mountain, jack/johnson,两个用户;(2) 使用LR录制http:/localhost/MercuryWebTours/订票页面的登录功能,对登录名和密码参数化,数据文件的数据如下: Username Password jojo bean joe young mike mountain jack johnson(3) 将runtime settings中的run logic的循环次数设置为4;(4) 将runtime settings中的log配置,选择extended log,且选中parameter substitution(5) 回放脚本,在execution log中观察参数是否已经带入;(6) 为登录就脚本设置一个事物,名称为”login transaction”(7) 在实验报告中,记录每次的操作步骤及界面截图,保存execution log的执行日志。四、实验结果:操作步骤及界面截图execution log的执行日志Virtual User Script startedStarting action vuser_init.Web Turbo Replay of LoadRunner 7.80.0 for WINXP; Web build 2271 MsgId: MMSG-27143Run-Time Settings file: C:Documents and SettingsAdministratorLocal SettingsTempnoname1default.cfg MsgId: MMSG-27141Ending action vuser_init.Running Vuser.Starting iteration 1.Starting action Action.Action.c(7): Notify: Transaction login transaction started.Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/header.html in http:/localhost/MercuryWebTours/ MsgId: MMSG-26574Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/welcome.pl?signOff=true in http:/localhost/MercuryWebTours/ MsgId: MMSG-26574Action.c(9): Found resource http:/localhost/MercuryWebTours/images/banner_animated.gif in HTML http:/localhost/MercuryWebTours/header.html MsgId: MMSG-26659Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?in=home in http:/localhost/MercuryWebTours/welcome.pl?signOff=true MsgId: MMSG-26574Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/home.html in http:/localhost/MercuryWebTours/welcome.pl?signOff=true MsgId: MMSG-26574Action.c(9): Found resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg in HTML http:/localhost/MercuryWebTours/home.html MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/sun_swede.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/login.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/signup.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/admin.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): web_url was successful, 51022 body bytes, 2171 header bytes MsgId: MMSG-27176Action.c(18): Submitting form to http:/localhost/MercuryWebTours/login.pl, Target Frame=body MsgId: MMSG-27978Action.c(18): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home in http:/localhost/MercuryWebTours/login.pl MsgId: MMSG-26574Action.c(18): Detected non-resource http:/localhost/MercuryWebTours/login.pl?intro=true in http:/localhost/MercuryWebTours/login.pl MsgId: MMSG-26574Action.c(18): Found resource http:/localhost/MercuryWebTours/images/sun_with_logo.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/flights.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/itinerary.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/in_home.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/signoff.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(18): web_submit_form was successful, 12483 body bytes, 1693 header bytes MsgId: MMSG-27176Action.c(27): Image-linking to http:/localhost/MercuryWebTours/welcome.pl?signOff=1, Target Frame=body MsgId: MMSG-27993Action.c(27): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?in=home in http:/localhost/MercuryWebTours/welcome.pl?signOff=1 MsgId: MMSG-26574Action.c(27): Detected non-resource http:/localhost/MercuryWebTours/home.html in http:/localhost/MercuryWebTours/welcome.pl?signOff=1 MsgId: MMSG-26574Action.c(27): Resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/sun_swede.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/login.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/signup.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/admin.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): web_image was successful, 2366 body bytes, 698 header bytes MsgId: MMSG-27176Action.c(33): Notify: Transaction login transaction ended with Pass status (Duration: 1.3461).Ending action Action.Ending iteration 1.Starting iteration 2.Starting action Action.Action.c(7): Notify: Transaction login transaction started.Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/header.html in http:/localhost/MercuryWebTours/ MsgId: MMSG-26574Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/welcome.pl?signOff=true in http:/localhost/MercuryWebTours/ MsgId: MMSG-26574Action.c(9): Found resource http:/localhost/MercuryWebTours/images/banner_animated.gif in HTML http:/localhost/MercuryWebTours/header.html MsgId: MMSG-26659Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?in=home in http:/localhost/MercuryWebTours/welcome.pl?signOff=true MsgId: MMSG-26574Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/home.html in http:/localhost/MercuryWebTours/welcome.pl?signOff=true MsgId: MMSG-26574Action.c(9): Found resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg in HTML http:/localhost/MercuryWebTours/home.html MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/sun_swede.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/login.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/signup.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/admin.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): web_url was successful, 51018 body bytes, 2171 header bytes MsgId: MMSG-27176Action.c(18): Submitting form to http:/localhost/MercuryWebTours/login.pl, Target Frame=body MsgId: MMSG-27978Action.c(18): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home in http:/localhost/MercuryWebTours/login.pl MsgId: MMSG-26574Action.c(18): Detected non-resource http:/localhost/MercuryWebTours/login.pl?intro=true in http:/localhost/MercuryWebTours/login.pl MsgId: MMSG-26574Action.c(18): Found resource http:/localhost/MercuryWebTours/images/sun_with_logo.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/flights.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/itinerary.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/in_home.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/signoff.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(18): web_submit_form was successful, 12482 body bytes, 1688 header bytes MsgId: MMSG-27176Action.c(27): Image-linking to http:/localhost/MercuryWebTours/welcome.pl?signOff=1, Target Frame=body MsgId: MMSG-27993Action.c(27): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?in=home in http:/localhost/MercuryWebTours/welcome.pl?signOff=1 MsgId: MMSG-26574Action.c(27): Detected non-resource http:/localhost/MercuryWebTours/home.html in http:/localhost/MercuryWebTours/welcome.pl?signOff=1 MsgId: MMSG-26574Action.c(27): Resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/sun_swede.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/login.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/signup.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/admin.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): web_image was successful, 2367 body bytes, 698 header bytes MsgId: MMSG-27176Action.c(33): Notify: Transaction login transaction ended with Pass status (Duration: 1.3192).Ending action Action.Ending iteration 2.Starting iteration 3.Starting action Action.Action.c(7): Notify: Transaction login transaction started.Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/header.html in http:/localhost/MercuryWebTours/ MsgId: MMSG-26574Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/welcome.pl?signOff=true in http:/localhost/MercuryWebTours/ MsgId: MMSG-26574Action.c(9): Found resource http:/localhost/MercuryWebTours/images/banner_animated.gif in HTML http:/localhost/MercuryWebTours/header.html MsgId: MMSG-26659Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?in=home in http:/localhost/MercuryWebTours/welcome.pl?signOff=true MsgId: MMSG-26574Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/home.html in http:/localhost/MercuryWebTours/welcome.pl?signOff=true MsgId: MMSG-26574Action.c(9): Found resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg in HTML http:/localhost/MercuryWebTours/home.html MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/sun_swede.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/login.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/signup.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/admin.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): web_url was successful, 51021 body bytes, 2171 header bytes MsgId: MMSG-27176Action.c(18): Submitting form to http:/localhost/MercuryWebTours/login.pl, Target Frame=body MsgId: MMSG-27978Action.c(18): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home in http:/localhost/MercuryWebTours/login.pl MsgId: MMSG-26574Action.c(18): Detected non-resource http:/localhost/MercuryWebTours/login.pl?intro=true in http:/localhost/MercuryWebTours/login.pl MsgId: MMSG-26574Action.c(18): Found resource http:/localhost/MercuryWebTours/images/sun_with_logo.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/flights.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/itinerary.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/in_home.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Found resource http:/localhost/MercuryWebTours/images/signoff.gif in HTML http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home MsgId: MMSG-26659Action.c(18): Resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(18): web_submit_form was successful, 12483 body bytes, 1635 header bytes MsgId: MMSG-27176Action.c(27): Image-linking to http:/localhost/MercuryWebTours/welcome.pl?signOff=1, Target Frame=body MsgId: MMSG-27993Action.c(27): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?in=home in http:/localhost/MercuryWebTours/welcome.pl?signOff=1 MsgId: MMSG-26574Action.c(27): Detected non-resource http:/localhost/MercuryWebTours/home.html in http:/localhost/MercuryWebTours/welcome.pl?signOff=1 MsgId: MMSG-26574Action.c(27): Resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/sun_swede.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/login.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/signup.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): Resource http:/localhost/MercuryWebTours/images/admin.gif is in the cache already and will not be downloaded again MsgId: MMSG-26655Action.c(27): web_image was successful, 2367 body bytes, 698 header bytes MsgId: MMSG-27176Action.c(33): Notify: Transaction login transaction ended with Pass status (Duration: 1.3043).Ending action Action.Ending iteration 3.Starting iteration 4.Starting action Action.Action.c(7): Notify: Transaction login transaction started.Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/header.html in http:/localhost/MercuryWebTours/ MsgId: MMSG-26574Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/welcome.pl?signOff=true in http:/localhost/MercuryWebTours/ MsgId: MMSG-26574Action.c(9): Found resource http:/localhost/MercuryWebTours/images/banner_animated.gif in HTML http:/localhost/MercuryWebTours/header.html MsgId: MMSG-26659Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?in=home in http:/localhost/MercuryWebTours/welcome.pl?signOff=true MsgId: MMSG-26574Action.c(9): Detected non-resource http:/localhost/MercuryWebTours/home.html in http:/localhost/MercuryWebTours/welcome.pl?signOff=true MsgId: MMSG-26574Action.c(9): Found resource http:/localhost/MercuryWebTours/images/banner_merctur.jpg in HTML http:/localhost/MercuryWebTours/home.html MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/sun_swede.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/login.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/signup.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): Found resource http:/localhost/MercuryWebTours/images/admin.gif in HTML http:/localhost/MercuryWebTours/nav.pl?in=home MsgId: MMSG-26659Action.c(9): web_url was successful, 51013 body bytes, 2171 header bytes MsgId: MMSG-27176Action.c(18): Submitting form to http:/localhost/MercuryWebTours/login.pl, Target Frame=body MsgId: MMSG-27978Action.c(18): Detected non-resource http:/localhost/MercuryWebTours/nav.pl?page=menu&in=home in http:/localhost/MercuryWebTours/login.pl MsgId: MMSG-26574Action.c(18): Detected non-resource http:/localhost/MercuryWebTours/login.pl?intro=true in http:/localhost/

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论