51Testing软件测试论坛

标题: 麻烦帮忙看看这段日志是什么意思 [打印本页]

作者: rting    时间: 2007-4-21 19:49
标题: 麻烦帮忙看看这段日志是什么意思
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 8.0.0 for WINXP; Web build 4141   [MsgId: MMSG-27143]
Run-Time Settings file: "C:\Documents and Settings\Administrator\Local Settings\Temp\noname3\\default.cfg"   [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(6): Detected non-resource "http://localhost:1080/MercuryWebTours/header.html" in "http://localhost:1080/MercuryWebTours/"   [MsgId: MMSG-26574]
Action.c(6): Detected non-resource "http://localhost:1080/MercuryWebTours/welcome.pl?signOff=true" in "http://localhost:1080/MercuryWebTours/"   [MsgId: MMSG-26574]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/banner_animated.gif" in HTML "http://localhost:1080/MercuryWebTours/header.html"   [MsgId: MMSG-26659]
Action.c(6): Detected non-resource "http://localhost:1080/MercuryWebTours/nav.pl?in=home" in "http://localhost:1080/MercuryWebTours/welcome.pl?signOff=true"   [MsgId: MMSG-26574]
Action.c(6): Detected non-resource "http://localhost:1080/MercuryWebTours/home.html" in "http://localhost:1080/MercuryWebTours/welcome.pl?signOff=true"   [MsgId: MMSG-26574]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/banner_merctur.jpg" in HTML "http://localhost:1080/MercuryWebTours/home.html"   [MsgId: MMSG-26659]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/sun_swede.gif" in HTML "http://localhost:1080/MercuryWebTours/nav.pl?in=home"   [MsgId: MMSG-26659]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/login.gif" in HTML "http://localhost:1080/MercuryWebTours/nav.pl?in=home"   [MsgId: MMSG-26659]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/signup.gif" in HTML "http://localhost:1080/MercuryWebTours/nav.pl?in=home"   [MsgId: MMSG-26659]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/admin.gif" in HTML "http://localhost:1080/MercuryWebTours/nav.pl?in=home"   [MsgId: MMSG-26659]
Action.c(6): web_url("MercuryWebTours") was successful, 51013 body bytes, 2125 header bytes   [MsgId: MMSG-26386]
Action.c(15): web_add_cookie was successful   [MsgId: MMSG-26392]
Action.c(17): Error -32999: Invalid scheme (not "http:" / "https:") in URL="about:blank"   [MsgId: MERR-32999]
Action.c(17): web_url("GalButtonFeed3") highest severity level was "ERROR", 0 body bytes, 317 header bytes   [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 1.
Waiting 67.1730 seconds for iteration pacing.
Starting iteration 2.
Starting action Action.
Action.c(6): Detected non-resource "http://localhost:1080/MercuryWebTours/header.html" in "http://localhost:1080/MercuryWebTours/"   [MsgId: MMSG-26574]
Action.c(6): Detected non-resource "http://localhost:1080/MercuryWebTours/welcome.pl?signOff=true" in "http://localhost:1080/MercuryWebTours/"   [MsgId: MMSG-26574]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/banner_animated.gif" in HTML "http://localhost:1080/MercuryWebTours/header.html"   [MsgId: MMSG-26659]
Action.c(6): Detected non-resource "http://localhost:1080/MercuryWebTours/nav.pl?in=home" in "http://localhost:1080/MercuryWebTours/welcome.pl?signOff=true"   [MsgId: MMSG-26574]
Action.c(6): Detected non-resource "http://localhost:1080/MercuryWebTours/home.html" in "http://localhost:1080/MercuryWebTours/welcome.pl?signOff=true"   [MsgId: MMSG-26574]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/banner_merctur.jpg" in HTML "http://localhost:1080/MercuryWebTours/home.html"   [MsgId: MMSG-26659]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/sun_swede.gif" in HTML "http://localhost:1080/MercuryWebTours/nav.pl?in=home"   [MsgId: MMSG-26659]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/login.gif" in HTML "http://localhost:1080/MercuryWebTours/nav.pl?in=home"   [MsgId: MMSG-26659]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/signup.gif" in HTML "http://localhost:1080/MercuryWebTours/nav.pl?in=home"   [MsgId: MMSG-26659]
Action.c(6): Found resource "http://localhost:1080/MercuryWebTours/images/admin.gif" in HTML "http://localhost:1080/MercuryWebTours/nav.pl?in=home"   [MsgId: MMSG-26659]
Action.c(6): web_url("MercuryWebTours") was successful, 51020 body bytes, 2125 header bytes   [MsgId: MMSG-26386]
Action.c(15): web_add_cookie was successful   [MsgId: MMSG-26392]
Action.c(17): Error -32999: Invalid scheme (not "http:" / "https:") in URL="about:blank"   [MsgId: MERR-32999]
Action.c(17): web_url("GalButtonFeed3") highest severity level was "ERROR", 0 body bytes, 317 header bytes   [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 2.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.


这段红色的表示什么意思啊?
这段日志说明了什么?我测试成功还是失败啊!
作者: rting    时间: 2007-4-21 20:09
在线等!
作者: rting    时间: 2007-4-21 20:52
怎么没人回答啊?sdlkfj8


再问个问题,我在VuGen中点击视图------测试结果,居然打开的是空白页哦,怎么回事哦!
我是按照Loadrunner教程8。1版一步一步操作的哦!
那里出了问题啊?
作者: rting    时间: 2007-4-22 10:07
原帖由 rting 于 2007-4-21 20:52 发表
怎么没人回答啊?sdlkfj8


再问个问题,我在VuGen中点击视图------测试结果,居然打开的是空白页哦,怎么回事哦!
我是按照Loadrunner教程8。1版一步一步操作的哦!
那里出了问题啊?



这个问题已经解决了,在tool----ceneral options-----display-----把generate report during script execution勾打上

sdlkfj3
作者: rting    时间: 2007-4-22 10:09
Action.c(54): Error -27979: Requested form not found          [MsgId: MERR-27979]
Action.c(54): web_submit_form("reservations.pl") highest severity level was "ERROR", 0 body bytes, 0 header bytes          [MsgId: MMSG-26388]
Ending action Action.

这个错误日志是什么意思啊?那里出错了。我的是Loadrunner8.0版

继续关注
作者: rickyzhu    时间: 2007-4-22 13:59
页面不对,请求的form不存在。
作者: rting    时间: 2007-4-25 23:07
我是录制教程里的哦,怎么会页面不存在呢?

是不是那步操作的问题啊,现在还是这样!没解决!
作者: rting    时间: 2007-4-25 23:55
出现这个现象该怎么解决呢?
作者: duola1119    时间: 2007-4-26 09:26
你录制脚本的时候输入的URL是怎么写的?
必须要是这种格式的"http://...或者https://
作者: rting    时间: 2007-4-26 14:00
http://localhost:1080/MercuryWebTours

我有加http://

郁闷呢!

有人遇到这种情况的吗?怎么解决的
作者: rting    时间: 2007-4-28 22:10
那里出了问题啊?旧问题没解决新的问题又出来了
Action.c(15): Error -27796: Failed to connect to server "g.msn.com:80": [10060] Connection timed out          [MsgId: MERR-27796]
Action.c(15): web_url("GalButtonFeed3") highest severity level was "ERROR", 0 body bytes, 0 header bytes          [MsgId: MMSG-26388

这个什么错啊?那里的问题?
作者: rting    时间: 2007-4-29 00:01
把Action.c(17): Error -32999: Invalid scheme (not "http:" / "https:") in URL="about:blank"   [MsgId: MERR-32999]
Action.c(17): web_url("GalButtonFeed3") highest severity level was "ERROR", 0 body bytes, 317 header bytes   [MsgId: MMSG-26388]

这段错误日志所对应的脚本注释掉,RUN结果显示为PASSED哦!

注释掉这段错误日志所对应的脚本,对脚本没什么影响哦,RUN的快照和之前录制的一模一样。

不知道这样注释掉代码对不对呢

????
作者: colin_zhang    时间: 2007-4-29 09:37
自动查找关联Vuser->scan script for correlations
MI故意做的这个例子来教你怎么用关联。
作者: rting    时间: 2007-4-30 17:05
原帖由 colin_zhang 于 2007-4-29 09:37 发表
自动查找关联Vuser->scan script for correlations
MI故意做的这个例子来教你怎么用关联。



把问题对应的脚本注释掉就没问题了,不是关联的问题挂
作者: shanxi    时间: 2007-5-1 09:27
URL=about:blank

识别的URL是 about:blank

注意到没有前缀:http://

你在这次录制过程中是否又进行了一次跟目的无关的操作,比如打开了一个Blank的浏览器,并且执行了一次刷新操作,浏览器Send了一个请求?



Action.c(17): 这行的代码是什么?

[ 本帖最后由 shanxi 于 2007-5-1 09:34 编辑 ]
作者: rting    时间: 2007-5-2 00:38
楼上的 ,你提到的几点我都没有?

Action.c(17): 这行的代码是:
web_url("GalButtonFeed3",
        "URL=http://g.msn.com/8SEZHCN030000TBR/GalButtonFeed3",
        "TargetFrame=",
        "Resource=0",
        "Referer=",
        "Mode=HTML",
LAST);
我把他注释掉就没问题了,差不多没次录制的时候都回出现GalButtonFeed3这个,不知道是什么东西?只要有GalButtonFeed3都报Error -32999: Invalid scheme (not "http:" / "https:") in URL="about:blank"  这个错误!

不知道有没人也遇到我这样的问题
作者: shanxi    时间: 2007-5-3 11:41
你做的是本地服务器 http://localhost:1080/MercuryWebTours/上这个示例的测试吗?
如果是为什么会在这个示例上出现URL=http://g.msn.com/8SEZHCN030000TBR/GalButtonFeed3 这样的请求,都不知道你怎么去解决问题?

实际上现在你用浏览器打开这个URL是访问不到资源。

如果你录制的时候自己没有用手去打开这个URL,请一定确保录制的时候机器是干净的,没毒没跟实验目的无关的其它配置和操作。


看我这贴给你的答复:http://bbs.51testing.com/viewthr ... mp;page=1#pid510369


Mercury支持网站上有段关于Error -32999这个错误的解答:
Problem ID: 47801

--------------------------------------------------------------------------------
Product: LoadRunner 8.x
Protocol(s): Web


Topics:
Vuser Script - Script development
Errors - General error and warning messages
General questions, problems - VuGen
OS: All Windows

Creation Date: 27 Nov 2006  
Last Modified Date:29 Nov 2006



--------------------------------------------------------------------------------

Problem Description: Error: "-32999: Invalid scheme (not "http:" / "https:") in URL"

The user is receiving the following error:

"Action.c(7): Error -32999: Invalid scheme (not "http:" / "https:") in URL="Please enter the initial URL here" [MsgId: MERR-32999]
Action.c(7): web_browser("Please enter the initial URL here") highest severity level was "ERROR" [MsgId: MMSG-26391]"

Diagnosis: This error generally occurs on the very first step of the Web script when the "Record Socket level data" checkbox is not selected under the Advanced recording options.



--------------------------------------------------------------------------------

Solution: Add the correct URL to the step or record the script again with the correct recording options

There are two possible solutions to address this.

1. Add the URL manually.
The step in the script that errors out would look like:

   web_browser("Please enter the initial URL here",
         DESCRIPTION,
         ACTION,
         "Navigate=Please enter the initial URL here",
         LAST);

After "Navigate=," enter the actual URL.

Example:
web_browser("Please enter the initial URL here",
      DESCRIPTION,
      ACTION,
      "Navigate=http://www.mercury.com",
      LAST);

Note:
Make sure that the URL is specified including "http://."


2. Rerecord the script.
Rerecord the script with the "Record Socket level data" checkbox selected under the Advanced recording options.

[ 本帖最后由 shanxi 于 2007-5-3 12:27 编辑 ]
作者: rting    时间: 2007-5-3 19:55
感谢
作者: toyfrog    时间: 2007-10-16 22:54
学习学习




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2