twinsczl 发表于 2010-6-7 14:42:26

LoadRunner录制回放失败

录制脚本如下:(蓝色)
web_url("Logon.aspx",
                "URL=http://172.16.11.76:8081/Logon.aspx?Action=Login&AppCode=%u0070%u006F%u0072%u0074%u0061%u006C&CurrentUrl="
                "%u0068%u0074%u0074%u0070%u003A%u002F%u002F%u0031%u0037%u0032%u002E%u0031%u0036%u002E%u0031%u0031%u002E%u0038%u0032%u002F%u005F%u006C%u0061%u0079%u006F%u0075%u0074%u0073%u002F%u0053%u0075%u006E%u0067%u0061%u0072%u0064%u0043%u0068%u0069%u006E%u0061%u0044%u0069%u0067%u0069%u0074%u0061%u006C%u0043%u0061%u006D%u0070%u0075%u0073%u002F%u006C%u006F%u0067%u0069%u006E%u002F%u006C%u006F%u0067%u0069%u006E%u002E%u0061%u0073%u0070%u0078%u003F%u0026%u0075%u0073%u0065%u0072%u004E%u0061%u006D%u0065%u003D%u0026%u00"
                "70%u0061%u0073%u0073%u0057%u006F%u0072%u0064%u003D&AppAttribute=&hasAppAttribute=true&ErrorMsg=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                LAST);

回放日志如下:(红色)
vuser_init.c(24): Found resource "http://172.16.11.76:8081/images/btn_login.jpg" in HTML "http://172.16.11.76:8081/Logon.aspx?Action=Login&AppCode=%u0070%u006F%u0072%u0074%u0061%u006C&CurrentUrl=%u0068%u0074%u0074%u0070%u003A%u002F%u002F%u0031%u0037%u0032%u002E%u0031%u0036%u002E%u0031%u0031%u002E%u0038%u0032%u002F%u005F%u006C%u0061%u0079%u006F%u0075%u0074%u0073%u002F%u0053%u0075%u006E%u0067%u0061%u0072%u0064%u0043%u0068%u0069%u006E%u0061%u0044%u0069%u0067%u0069%u0074%u0061%u006C%u0043%u0061%u006D%u0070%u0075%u0073%u002F%u006C%u006F%u0067%u0069%u006E%u002F%u006C%u006F%u0067%u0069%u006E%u002E%u0061%u0073%u0070%u0078%u003F%u0026%u0075%u0073%u0065%u0072%u004E%u0061%u006D%u0065%u003D%u0026%u0070%u0061%u0073%u0073%u0057%u006F%u0072%u0064%u003D&AppAttribute=&hasAppAttribute=true&ErrorMsg="       

vuser_init.c(24): Found resource "http://172.16.11.76:8081/javascript/lightbox.css" in HTML "http://172.16.11.76:8081/Logon.aspx?Action=Login&AppCode=%u0070%u006F%u0072%u0074%u0061%u006C&CurrentUrl=%u0068%u0074%u0074%u0070%u003A%u002F%u002F%u0031%u0037%u0032%u002E%u0031%u0036%u002E%u0031%u0031%u002E%u0038%u0032%u002F%u005F%u006C%u0061%u0079%u006F%u0075%u0074%u0073%u002F%u0053%u0075%u006E%u0067%u0061%u0072%u0064%u0043%u0068%u0069%u006E%u0061%u0044%u0069%u0067%u0069%u0074%u0061%u006C%u0043%u0061%u006D%u0070%u0075%u0073%u002F%u006C%u006F%u0067%u0069%u006E%u002F%u006C%u006F%u0067%u0069%u006E%u002E%u0061%u0073%u0070%u0078%u003F%u0026%u0075%u0073%u0065%u0072%u004E%u0061%u006D%u0065%u003D%u0026%u0070%u0061%u0073%u0073%u0057%u006F%u0072%u0064%u003D&AppAttribute=&hasAppAttribute=true&ErrorMsg="       

vuser_init.c(24): Found resource "http://172.16.11.76:8081/jquery/jquery-1.2.3.pack.js" in HTML "http://172.16.11.76:8081/Logon.aspx?Action=Login&AppCode=%u0070%u006F%u0072%u0074%u0061%u006C&CurrentUrl=%u0068%u0074%u0074%u0070%u003A%u002F%u002F%u0031%u0037%u0032%u002E%u0031%u0036%u002E%u0031%u0031%u002E%u0038%u0032%u002F%u005F%u006C%u0061%u0079%u006F%u0075%u0074%u0073%u002F%u0053%u0075%u006E%u0067%u0061%u0072%u0064%u0043%u0068%u0069%u006E%u0061%u0044%u0069%u0067%u0069%u0074%u0061%u006C%u0043%u0061%u006D%u0070%u0075%u0073%u002F%u006C%u006F%u0067%u0069%u006E%u002F%u006C%u006F%u0067%u0069%u006E%u002E%u0061%u0073%u0070%u0078%u003F%u0026%u0075%u0073%u0065%u0072%u004E%u0061%u006D%u0065%u003D%u0026%u0070%u0061%u0073%u0073%u0057%u006F%u0072%u0064%u003D&AppAttribute=&hasAppAttribute=true&ErrorMsg="       

vuser_init.c(24): Found resource "http://172.16.11.76:8081/javascript/lightbox.js" in HTML "http://172.16.11.76:8081/Logon.aspx?Action=Login&AppCode=%u0070%u006F%u0072%u0074%u0061%u006C&CurrentUrl=%u0068%u0074%u0074%u0070%u003A%u002F%u002F%u0031%u0037%u0032%u002E%u0031%u0036%u002E%u0031%u0031%u002E%u0038%u0032%u002F%u005F%u006C%u0061%u0079%u006F%u0075%u0074%u0073%u002F%u0053%u0075%u006E%u0067%u0061%u0072%u0064%u0043%u0068%u0069%u006E%u0061%u0044%u0069%u0067%u0069%u0074%u0061%u006C%u0043%u0061%u006D%u0070%u0075%u0073%u002F%u006C%u006F%u0067%u0069%u006E%u002F%u006C%u006F%u0067%u0069%u006E%u002E%u0061%u0073%u0070%u0078%u003F%u0026%u0075%u0073%u0065%u0072%u004E%u0061%u006D%u0065%u003D%u0026%u0070%u0061%u0073%u0073%u0057%u006F%u0072%u0064%u003D&AppAttribute=&hasAppAttribute=true&ErrorMsg="       

录制了相同的脚本,检查后没有需要关联的操作
大家帮帮忙找找问题所在!

[ 本帖最后由 twinsczl 于 2010-6-7 14:45 编辑 ]

msnshow 发表于 2010-6-7 19:59:24

红色部分没什么问题啊,只是提示找到资源而已

twinsczl 发表于 2010-6-8 13:50:26

原帖由 msnshow 于 2010-6-7 19:59 发表 http://bbs.51testing.com/images/common/back.gif
红色部分没什么问题啊,只是提示找到资源而已

恩,问题已经解决了!
页: [1]
查看完整版本: LoadRunner录制回放失败