51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1937|回复: 3
打印 上一主题 下一主题

[原创] 刚学loadrunner 测试遇到问题 求帮忙

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-7-13 17:46:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
错误提示:
Action.c(139): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://passport-office.urgamer.com/AccountCenter/index.aspx"          [MsgId: MERR-26612]

Action.c(139): web_submit_data("index.aspx") highest severity level was "ERROR", 2907 body bytes, 240 header bytes          [MsgId: MMSG-26388]

脚本代码:
Action()
{

        web_add_cookie("__utma=58995314.784157784.1277951991.1278394656.1278571496.21; DOMAIN=passport-office.urgamer.com");

        web_add_cookie("__utmz=58995314.1278064206.12.2.utmcsr=news.urgamer.com|utmccn=(referral)|utmcmd=referral|utmcct=/; DOMAIN=passport-office.urgamer.com");

        web_set_max_html_param_len("1024");

        /* Registering parameter(s) from source task id 5
        // {Siebel_Analytic_ViewState2} = "/wEPDwULLTEwMTcyOTQzOTdkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBQhidG5Mb2dpbnNTDRAxfcccTol9rUlTMTBR6+MJ"
        // */

        web_reg_save_param("Siebel_Analytic_ViewState2",
                "LB/IC=ViewState\" value=\"",
                "RB/IC=\"",
                "Ord=1",
                "Search=Body",
                "RelFrameId=1",
                LAST);

        web_url("passport-office.urgamer.com",
                "URL=http://passport-office.urgamer.com/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=http://www.google-analytics.com/ga.js", ENDITEM,
                "Url=/App_Themes/images/news_01.jpg", ENDITEM,
                "Url=/App_Themes/images/news_14.jpg", ENDITEM,
                "Url=/App_Themes/images/login_bg.jpg", ENDITEM,
                "Url=/App_Themes/images/uppop_01.jpg", ENDITEM,
                "Url=/App_Themes/images/uppop_02.jpg", ENDITEM,
                "Url=/HomePageCaptCha.aspx?1279011201945", ENDITEM,
                LAST);

        web_submit_data("check_outchain.php",
                "Action=http://qurl.f.360.cn/check_outchain.php",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/xml",
                "Referer=",
                "Snapshot=t2.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=urls", "Value=64a800ab75a2def67a170db42e154c40|65e6d726e8f9bfbc7d481eba49b785bb|3be28ddff7206ee2e25e54e0ed6517ff\tnUE0pQbiY3Oup3Ajo3W0YJ9zMzywMF51pzquoJIlYzAioF8=\n", ENDITEM,
                "Name=src", "Value=addrbar", ENDITEM,
                "Name=product", "Value=wd", ENDITEM,
                "Name=combo", "Value=urlproc", ENDITEM,
                "Name=v", "Value=1", ENDITEM,
                "Name=vk", "Value=cc53dc70", ENDITEM,
                "Name=mid", "Value=b005881eca5965d282590c2d86f3b84f", ENDITEM,
                LAST);

        web_url("nav_01.png",
                "URL=http://passport-office.urgamer.com/images/nav/nav_01.png",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t3.inf",
                "Mode=HTML",
                LAST);

        /* Registering parameter(s) from source task id 62
        // {Siebel_Analytic_ViewState6} = "/wEPDwUKMTkxMjMwMjYyMg9kFgJmD2QWAgIBD2QWBgIBDxYCHgVzdHlsZQUNZGlzcGxheTpub25lO2QCAw8WAh8ABQ5kaXNwbGF5OmJsb2NrOxYCAgEPFgIeCWlubmVyaHRtbAUJc2hlbnFpb25nZAIFD2QWFgIBDxYEHwAFDGNvbG9yOkdyZWVuOx8BBQnlt7Lorr7nva5kAgMPFgIfAAUNZGlzcGxheTpub25lO2QCBQ8WBB8ABQxjb2xvcjpHcmVlbjsfAQUJ5bey57uR5a6aZAIHDxYCHwEFDOmCrueuseino+e7kWQCCQ8WBB8ABQxjb2xvcjpHcmVlbjsfAQUJ5bey6aqM6K+BZAILDxYEHwAFDGNvbG9yOkdyZWVuOx8BBQnlt7LlrozlloRkAg0PFgIfAQUJc2hlbnFpb25nZAIPDw8WAh4EVGV4dAUP56ys5LiA5qyh55m75b2VZGQCEQ8WAh8BBRLmnKrnmbvpmYbov4fmuLjmiI9kAhMPDxYCHwIFBjQwNTg1MWRkAhUPFgIeA3NyYwUlLi4vQXBwX1RoZW1lcy9pbWFnZXMvaWNvbi9pY29uXzc4LmpwZ2QYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFD2N0bDAwJGJ0bkxvZ291dHtpMIFl5tVxadRymEmcXzsQLAPZ"
        // */

        web_reg_save_param("Siebel_Analytic_ViewState6",
                "LB/IC=ViewState\" value=\"",
                "RB/IC=\"",
                "Ord=1",
                "Search=Body",
                "RelFrameId=1",
                LAST);

        web_submit_data("login.aspx",
                "Action=http://passport-office.urgamer.com/login.aspx",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://passport-office.urgamer.com/",
                "Snapshot=t4.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState2}", ENDITEM,
                "Name=__EVENTVALIDATION", "Value=/wEWBQKasMToDAKUj8fhDAK1qbSRCwKu9tTtBQKC3IeGDKqj+JHf1gpPbhZUHtjDs5GkJFec", ENDITEM,
                "Name=txtAccount", "Value=shenqiong", ENDITEM,
                "Name=txtPassword", "Value=shen1990", ENDITEM,
                "Name=txtValidate", "Value=7094", ENDITEM,
                "Name=btnLogin.x", "Value=51", ENDITEM,
                "Name=btnLogin.y", "Value=20", ENDITEM,
                EXTRARES,
                "Url=/App_Themes/images/left_08.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/left_11.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/left_09.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/left_12.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/news_10.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/login_15.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/login_14.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/icon/but_01.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/Captcha.aspx?no=1382337499", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/icon/leftMenu29_02.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                LAST);

        web_url("nav_01.png_2",
                "URL=http://passport-office.urgamer.com/images/nav/nav_01.png",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t5.inf",
                "Mode=HTML",
                LAST);

        web_custom_request("GetCaptchaImageTwo",
                "URL=http://passport-office.urgamer.com/WebService/LoginWebService.asmx/GetCaptchaImageTwo",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/json",
                "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx",
                "Snapshot=t6.inf",
                "Mode=HTML",
                "EncType=application/json;utf-8",
                "Body={}",
                LAST);

        web_custom_request("GetCaptchaImage",
                "URL=http://passport-office.urgamer.com/WebService/LoginWebService.asmx/GetCaptchaImage",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/json",
                "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx",
                "Snapshot=t7.inf",
                "Mode=HTML",
                "EncType=application/json;utf-8",
                "Body={}",
                LAST);

        web_submit_data("index.aspx",
                "Action=http://passport-office.urgamer.com/AccountCenter/index.aspx",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx",
                "Snapshot=t8.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState6}", ENDITEM,
                "Name=__EVENTVALIDATION", "Value=/wEWAgL6jPZNAr6dhroKLJr1AEjZFozbOO2dYVtYc9oCMzo=", ENDITEM,
                "Name=txtAccount", "Value=", ENDITEM,
                "Name=txtPassword", "Value=", ENDITEM,
                "Name=txtValidate", "Value=", ENDITEM,
                "Name=ctl00$btnLogout.x", "Value=55", ENDITEM,
                "Name=ctl00$btnLogout.y", "Value=16", ENDITEM,
                EXTRARES,
                "Url=../HomePageCaptCha.aspx?1279011218117", "Referer=http://passport-office.urgamer.com/login.aspx", ENDITEM,
                "Url=../App_Themes/images/nav/nav04_02.jpg", "Referer=http://passport-office.urgamer.com/login.aspx", ENDITEM,
                LAST);

        web_url("nav_01.png_3",
                "URL=http://passport-office.urgamer.com/images/nav/nav_01.png",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t9.inf",
                "Mode=HTML",
                LAST);

        return 0;
}
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2010-7-13 17:47:07 | 只看该作者
在回放的时候 快照有区别   密码框都没有填写进去
回复 支持 反对

使用道具 举报

  • TA的每日心情
    奋斗
    2022-5-8 19:23
  • 签到天数: 137 天

    连续签到: 1 天

    [LV.7]测试师长

    3#
    发表于 2010-7-13 20:46:53 | 只看该作者
    是登陆不成功,所以报500错么
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    4#
    发表于 2010-7-14 08:56:54 | 只看该作者
    不好说原因,和系统架构可能有关系
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-11-14 10:08 , Processed in 0.081132 second(s), 28 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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