51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4489|回复: 2
打印 上一主题 下一主题

[求助] LoadRunner使用MercuryWebTours订机票的问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2011-3-4 16:38:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
使用HTML模式录制 MercuryWebTours 订一个机票,回放日志中有警告:


虚拟用户脚本已启动
正在开始操作 vuser_init。
Web Turbo 重播 LoadRunner 8.1.0 for WIN2003; Web 内部版本 4788   [MsgId: MMSG-27143]
运行时设置文件: "D:\Program Files\Mercury\LoadRunner\scripts\toturial_test\\default.cfg"   [MsgId: MMSG-27141]
正在结束操作 vuser_init。
正在运行 Vuser...
正在开始迭代 1。
正在开始操作 Action。
Action.c(4): web_url("MercuryWebTours") 已成功,54401 个正文字节,1792 介标头字节   [MsgId: MMSG-26386]
Action.c(16): web_submit_data("login.pl") 已成功,748 个正文字节,225 介标头字节   [MsgId: MMSG-26386]
Action.c(33): 在 HTML“http://localhost:1080/MercuryWebTours/reservations.pl?page=welcome”中找到资源“http://localhost:1080/MercuryWebTours/chooseFlightValidate.js”   [MsgId: MMSG-26659]
Action.c(33): 在 HTML“http://localhost:1080/MercuryWebTours/reservations.pl?page=welcome”中找到资源“http://localhost:1080/MercuryWebTours/images/button_next.gif”   [MsgId: MMSG-26659]
Action.c(33): web_url("Search Flights Button") 已成功,50218 个正文字节,2028 介标头字节   [MsgId: MMSG-26386]
Action.c(45): 警告 -26548: 未对内容类型“*/*”执行 HTML 分析(“ParseHtmlContentType”运行时设置为“TEXT”)。URL=“http://localhost:1080/MercuryWebTours/FormDateUpdate.class”   [MsgId: MWAR-26548]
Action.c(45): web_url("FormDateUpdate.class") 最高严重级别为“warning”,3058 个正文字节,159 个标头字节   [MsgId: MMSG-26388]
Action.c(54): 警告 -26548: 未对内容类型“*/*”执行 HTML 分析(“ParseHtmlContentType”运行时设置为“TEXT”)。URL=“http://localhost:1080/MercuryWebTours/CalSelect.class”   [MsgId: MWAR-26548]
Action.c(54): web_url("CalSelect.class") 最高严重级别为“warning”,227 个正文字节,158 个标头字节   [MsgId: MMSG-26388]
Action.c(63): 警告 -26548: 未对内容类型“*/*”执行 HTML 分析(“ParseHtmlContentType”运行时设置为“TEXT”)。URL=“http://localhost:1080/MercuryWebTours/Calendar.class”   [MsgId: MWAR-26548]
Action.c(63): web_url("Calendar.class") 最高严重级别为“warning”,3018 个正文字节,159 个标头字节   [MsgId: MMSG-26388]
Action.c(72): web_submit_data("reservations.pl") 已成功,0 个正文字节,153 介标头字节   [MsgId: MMSG-26386]
Action.c(96): 资源“http://localhost:1080/MercuryWebTours/images/fma-products.jpg”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(96): 资源“http://localhost:1080/MercuryWebTours/JSFormSubmit.js”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(96): 资源“http://localhost:1080/MercuryWebTours/images/button_next.gif”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(96): web_submit_data("reservations.pl_2") 已成功,15603 个正文字节,434 介标头字节   [MsgId: MMSG-26386]
Action.c(116): 资源“http://localhost:1080/MercuryWebTours/images/fma-products.jpg”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(116): 资源“http://localhost:1080/MercuryWebTours/JSCalculate.js”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(116): 资源“http://localhost:1080/MercuryWebTours/chooseFlightValidate.js”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(116): 资源“http://localhost:1080/MercuryWebTours/images/button_next.gif”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(116): web_submit_data("reservations.pl_3") 已成功,5034 个正文字节,253 介标头字节   [MsgId: MMSG-26386]
Action.c(142): 资源“http://localhost:1080/MercuryWebTours/images/fma-products.jpg”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(142): web_submit_data("reservations.pl_4") 已成功,516 个正文字节,155 介标头字节   [MsgId: MMSG-26386]
Action.c(173): 在 HTML“http://localhost:1080/MercuryWebTours/nav.pl?page=menu&in=itinerary”中找到资源“http://localhost:1080/MercuryWebTours/images/flights.gif”   [MsgId: MMSG-26659]
Action.c(173): 在 HTML“http://localhost:1080/MercuryWebTours/nav.pl?page=menu&in=itinerary”中找到资源“http://localhost:1080/MercuryWebTours/images/in_itinerary.gif”   [MsgId: MMSG-26659]
Action.c(173): 资源“http://localhost:1080/MercuryWebTours/images/home.gif”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(173): 资源“http://localhost:1080/MercuryWebTours/images/signoff.gif”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(173): 资源“http://localhost:1080/MercuryWebTours/images/fma-products.jpg”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(173): web_url("welcome.pl") 已成功,4692 个正文字节,1009 介标头字节   [MsgId: MMSG-26386]
Action.c(183): 从缓存中为“http://localhost:1080/MercuryWebTours/home.html”检索数据   [MsgId: MMSG-26558]
Action.c(183): 资源“http://localhost:1080/MercuryWebTours/images/fma-gateway.jpg”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(183): 资源“http://localhost:1080/MercuryWebTours/JSFormSubmit.js”已在缓存中,不会再次下载   [MsgId: MMSG-26655]
Action.c(183): web_url("SignOff Button") 已成功,4578 个正文字节,788 介标头字节   [MsgId: MMSG-26386]
正在结束操作 Action。
正在结束迭代 1。
正在结束 Vuser...
正在开始操作 vuser_end。
正在结束操作 vuser_end。
Vuser 已终止。


我把录制模式改成URL,然后重新录制并回放,警告没有了,但是出错了


虚拟用户脚本已启动
正在开始操作 vuser_init。
Web Turbo 重播 LoadRunner 8.1.0 for WIN2003; Web 内部版本 4788   [MsgId: MMSG-27143]
运行时设置文件: "D:\Program Files\Mercury\LoadRunner\scripts\toturial_test_url\\default.cfg"   [MsgId: MMSG-27141]
正在结束操作 vuser_init。
正在运行 Vuser...
正在开始迭代 1。
正在开始操作 Action。
Action.c(4): web_url("MercuryWebTours") 已成功,326 个正文字节,164 介标头字节   [MsgId: MMSG-26386]
Action.c(13): web_concurrent_start 成功   [MsgId: MMSG-26392]
Action.c(15): 注册 web_url("header.html") 成功   [MsgId: MMSG-26390]
Action.c(24): 注册 web_url("welcome.pl") 成功   [MsgId: MMSG-26390]
Action.c(33): web_concurrent_end 已成功,969 个正文字节,699 介标头字节   [MsgId: MMSG-26386]
Action.c(35): web_url("mercury_logo.gif") 已成功,1369 个正文字节,165 介标头字节   [MsgId: MMSG-26386]
Action.c(43): web_concurrent_start 成功   [MsgId: MMSG-26392]
Action.c(45): 注册 web_url("home.html") 成功   [MsgId: MMSG-26390]
Action.c(54): 注册 web_url("nav.pl") 成功   [MsgId: MMSG-26390]
Action.c(63): web_concurrent_end 已成功,5363 个正文字节,418 介标头字节   [MsgId: MMSG-26386]
Action.c(65): web_url("fma-gateway.jpg") 已成功,46063 个正文字节,167 介标头字节   [MsgId: MMSG-26386]
Action.c(73): web_concurrent_start 成功   [MsgId: MMSG-26392]
Action.c(75): 注册 web_url("JSFormSubmit.js") 成功   [MsgId: MMSG-26390]
Action.c(83): 注册 web_url("mer_login.gif") 成功   [MsgId: MMSG-26390]
Action.c(91): web_concurrent_end 已成功,990 个正文字节,343 介标头字节   [MsgId: MMSG-26386]
Action.c(95): web_submit_data("login.pl") 已成功,748 个正文字节,225 介标头字节   [MsgId: MMSG-26386]
Action.c(111): web_concurrent_start 成功   [MsgId: MMSG-26392]
Action.c(113): 注册 web_url("nav.pl_2") 成功   [MsgId: MMSG-26390]
Action.c(122): 注册 web_url("login.pl_2") 成功   [MsgId: MMSG-26390]
Action.c(131): web_concurrent_end 已成功,2328 个正文字节,478 介标头字节   [MsgId: MMSG-26386]
Action.c(133): web_concurrent_start 成功   [MsgId: MMSG-26392]
Action.c(135): 注册 web_url("flights.gif") 成功   [MsgId: MMSG-26390]
Action.c(143): 注册 web_url("itinerary.gif") 成功   [MsgId: MMSG-26390]
Action.c(151): 注册 web_url("in_home.gif") 成功   [MsgId: MMSG-26390]
Action.c(159): 注册 web_url("signoff.gif") 成功   [MsgId: MMSG-26390]
Action.c(167): web_concurrent_end 已成功,2898 个正文字节,656 介标头字节   [MsgId: MMSG-26386]
Action.c(169): web_url("fma-performance-center.jpg") 已成功,27000 个正文字节,167 介标头字节   [MsgId: MMSG-26386]
Action.c(177): web_url("Search Flights Button") 已成功,564 个正文字节,175 介标头字节   [MsgId: MMSG-26386]
Action.c(186): web_concurrent_start 成功   [MsgId: MMSG-26392]
Action.c(188): 注册 web_url("nav.pl_3") 成功   [MsgId: MMSG-26390]
Action.c(197): 注册 web_url("reservations.pl") 成功   [MsgId: MMSG-26390]
Action.c(206): web_concurrent_end 已成功,6458 个正文字节,506 介标头字节   [MsgId: MMSG-26386]
Action.c(208): web_concurrent_start 成功   [MsgId: MMSG-26392]
Action.c(210): 注册 web_url("JSCalculate.js") 成功   [MsgId: MMSG-26390]
Action.c(218): 注册 web_url("fma-products.jpg") 成功   [MsgId: MMSG-26390]
Action.c(226): 注册 web_url("chooseFlightValidate.js") 成功   [MsgId: MMSG-26390]
Action.c(234): 注册 web_url("button_next.gif") 成功   [MsgId: MMSG-26390]
Action.c(242): web_concurrent_end 已成功,40298 个正文字节,691 介标头字节   [MsgId: MMSG-26386]
Action.c(244): web_concurrent_start 成功   [MsgId: MMSG-26392]
Action.c(246): 注册 web_url("in_flights.gif") 成功   [MsgId: MMSG-26390]
Action.c(254): 注册 web_url("home.gif") 成功   [MsgId: MMSG-26390]
Action.c(262): web_concurrent_end 已成功,1414 个正文字节,328 介标头字节   [MsgId: MMSG-26386]
Action.c(266): web_url("FormDateUpdate.class") 已成功,3058 个正文字节,159 介标头字节   [MsgId: MMSG-26386]
Action.c(274): web_url("CalSelect.class") 已成功,227 个正文字节,158 介标头字节   [MsgId: MMSG-26386]
Action.c(282): web_url("Calendar.class") 已成功,3018 个正文字节,159 介标头字节   [MsgId: MMSG-26386]
Action.c(290): web_submit_data("reservations.pl_2") 已成功,0 个正文字节,153 介标头字节   [MsgId: MMSG-26386]
Action.c(313): 错误 -26609: 对于“http://localhost:1080/MercuryWebTours/reservations.pl”,HTTP 状态代码=503 (System Cannot Complete Request)   [MsgId: MERR-26609]
Action.c(313): web_submit_data("reservations.pl_3") 最高严重级别为“ERROR”,1598 个正文字节,281 个标头字节   [MsgId: MMSG-26388]
正在结束操作 Action。
正在结束迭代 1。
正在结束 Vuser...
正在开始操作 vuser_end。
正在结束操作 vuser_end。
Vuser 已终止。



我该怎么弄啊,请各位帮帮忙
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情

    2015-9-10 15:08
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
    发表于 2011-3-4 16:53:06 | 只看该作者
    http://localhost:1080/MercuryWebTours/reservations.pl  后面没有参数
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    3#
    发表于 2013-4-25 17:05:38 | 只看该作者
    你的问题解决了吗?
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-9-20 02:30 , Processed in 0.078188 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表