软件测试案例分析 实验二、loadrunner基本操作

上传人:第*** 文档编号:30571988 上传时间:2018-01-30 格式:DOC 页数:15 大小:581KB
返回 下载 相关 举报
软件测试案例分析 实验二、loadrunner基本操作_第1页
第1页 / 共15页
软件测试案例分析 实验二、loadrunner基本操作_第2页
第2页 / 共15页
软件测试案例分析 实验二、loadrunner基本操作_第3页
第3页 / 共15页
软件测试案例分析 实验二、loadrunner基本操作_第4页
第4页 / 共15页
软件测试案例分析 实验二、loadrunner基本操作_第5页
第5页 / 共15页
点击查看更多>>
资源描述

《软件测试案例分析 实验二、loadrunner基本操作》由会员分享,可在线阅读,更多相关《软件测试案例分析 实验二、loadrunner基本操作(15页珍藏版)》请在金锄头文库上搜索。

1、1实验二 Loadrunner 基本操作姓名: 学号:一、 实验目的(1)理解和掌握性能测试的基本原理和方法。(2)掌握 LR 录制模式的选择与使用。二、实验要求(1)运用 LR 录制登陆脚本,完成订票操作。(2)回放脚本,观察结果。(3)对脚本进行参数化。三、实验内容(1) 打开 http:/localhost/MercuryWebTours/订票页面,注册用户 mike/mountain, jack/johnson,两个用户;(2) 使用 LR 录制 http:/localhost/MercuryWebTours/订票页面的登录功能,对登录名和密码参数化,数据文件的数据如下:Usernam

2、e Passwordjojo beanjoe youngmike mountainjack johnson(3) 将 runtime settings 中的 run logic 的循环次数设置为 4;(4) 将 runtime settings 中的 log 配置,选择 extended log,且选中 parameter substitution(5) 回放脚本,在 execution log 中观察参数是否已经带入;(6) 为登录就脚本设置一个事物,名称为”login transaction”(7) 在实验报告中,记录每次的操作步骤及界面截图,保存 execution log 的执行日志。

3、四、实验结果:操作步骤及界面截图2345678execution log 的执行日志Virtual User Script startedStarting action vuser_init.Web Turbo Replay of LoadRunner 7.80.0 for WINXP; Web build 2271 MsgId: MMSG-271439Run-Time Settings file: C:Documents and SettingsAdministratorLocal SettingsTempnoname1default.cfg MsgId: MMSG-27141Ending

4、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-resourc

5、e 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-resourc

6、e 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 res

7、ource 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): Fou

8、nd 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): Foun

9、d 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, Tar

10、get 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/Mercury

11、WebTours/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:/loc

12、alhost/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-2665910Action.c(18): Found resource http:/localhost/MercuryWebTours/images/i

13、n_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/Mercur

14、yWebTours/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

15、 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-26655A

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号