51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 9815|回复: 12
打印 上一主题 下一主题

[求助] LoadRunner 错误27979 找不到请求表单

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-1-21 17:44:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式


LoadRunner 错误27979 找不到请求表单,请问如何解决?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

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

使用道具 举报

  • TA的每日心情
    郁闷
    2015-6-16 14:29
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
    发表于 2008-1-21 17:50:35 | 只看该作者
    能否贴出此处的脚本代码?看脚本的24行,是什么操作?或者这个action是干什么用的?在24行代码附近都有什么操作。再分析
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    3#
     楼主| 发表于 2008-1-22 09:19:46 | 只看该作者
    Action()
    {


            web_url("Pop_upAction.do",
                    "URL=http://localhost:8088/rebis/Pop_upAction.do",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t6.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "URL=jsp/sound/msg_new.mp3", ENDITEM,
                    LAST);
            lr_think_time(7);


            web_url("selectTab.do",
                    "URL=http://localhost:8088/rebis/selectTab.do?workplaceName=培训审批&workplaceId=132",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp",
                    "Snapshot=t7.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "URL=jsp/include/emerald-img/navbg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/include/emerald-img/navbg2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/image/treeView/ftv2folderopen.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/image/treeView/ftv2mlastnode.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/image/treeView/ftv2blank.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/image/treeView/ftv2folderclosed.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/image/treeView/ftv2lastnode.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/image/treeView/ftv2plastnode.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/image/treeView/table.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/images/down.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/images/up.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/include/emerald-img/bcltop2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/include/emerald-img/bcbg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/include/emerald-img/bctop2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    "URL=jsp/include/emerald-img/bon_bg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=132", ENDITEM,
                    LAST);
            lr_think_time(4);


            web_url("table.do",
                    "URL=http://localhost:8088/rebis/table.do?action=createRecord&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t8.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "URL=jsp/images/up.gif", "Referer=http://localhost:8088/rebis/table.do?action=createRecord&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/images/down.gif", "Referer=http://localhost:8088/rebis/table.do?action=createRecord&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/include/emerald-img/bcltop2.gif", "Referer=http://localhost:8088/rebis/table.do?action=createRecord&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/include/emerald-img/bctop2.gif", "Referer=http://localhost:8088/rebis/table.do?action=createRecord&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/include/emerald-img/bcbg.gif", "Referer=http://localhost:8088/rebis/table.do?action=createRecord&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/include/emerald-img/bon_bg.gif", "Referer=http://localhost:8088/rebis/table.do?action=createRecord&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    LAST);
            lr_think_time(5);

            web_submit_form("createRecord.do",
                    "Snapshot=t9.inf",
                    ITEMDATA,
                    "Name=TITLETXT", "Value=asdfa", ENDITEM,
                    "Name=CONTENTTXT", "Value=asdfas", ENDITEM,
                    "Name=REASONTXT", "Value=fasf", ENDITEM,
                    "Name=UNITTXT", "Value=asfasdf", ENDITEM,
                    "Name=INSTRUCTIONTIMEDAT", "Value=2008-01-21", ENDITEM,
                    "Name=NOTETXT", "Value=asdfasdf", ENDITEM,
                    "Name=action", "Value=保存", ENDITEM,
                    LAST);


            web_url("table.do_2",
                    "URL=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=http://localhost:8088/rebis/jsp/workplace/Middle_new.jsp",
                    "Snapshot=t10.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "URL=jsp/include/emerald-img/navbg.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/include/emerald-img/navbg2.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/image/treeView/ftv2folderopen.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/image/treeView/ftv2mlastnode.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/image/treeView/ftv2blank.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/image/treeView/ftv2folderclosed.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/image/treeView/ftv2plastnode.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/image/treeView/ftv2lastnode.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    "URL=jsp/image/treeView/table.gif", "Referer=http://localhost:8088/rebis/table.do?action=showTable&tablename=LECTURE_APPROV_INSTRUCTIONS&filter=&operaterType=1&flag=PUB&selectedcomm=6&muti=", ENDITEM,
                    LAST);


            return 0;
    }
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2015-6-16 14:29
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    4#
    发表于 2008-1-22 09:30:25 | 只看该作者
    web_url("selectTab.do",
                    "URL=http://localhost:8088/rebis/selectTab.do?workplaceName=培训审批&workplaceId=132",
    这是多少行?
    把Resource=0改为Resource=1试试,另外你实际上需请求的表单是什么?是不是确实存在?也就是功能是不是正确的?
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    5#
     楼主| 发表于 2008-1-22 12:44:38 | 只看该作者


    改成Resource=1 后就成这个 错误了, Resource=0全部改成 Resource=1也一样



    /* -------------------------------------------------------------------------------
            Script Title       :
            Script Description :
                            
                            
            Recorder Version   : 1196
       ------------------------------------------------------------------------------- */

    vuser_init()
    {

            web_set_max_html_param_len("1024");

            /* Registering parameter(s) from source task id 3
            // {JSESSIONID3} = "D7F8C098E4938EABCAD3A3D3FA977F45"
            // */

            web_reg_save_param("JSESSIONID3",
                    "LB/IC=jsessionid=",
                    "RB/IC=\"",
                    "Ord=1",
                    "Search=body",
                    "RelFrameId=1",
                    LAST);

            web_url("logon.do",
                    "URL=http://localhost:8088/rebis/logon.do",
                    "Resource=1",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t1.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=jsp/include/blue-img/bon_bg.gif", ENDITEM,
                    LAST);

            lr_think_time(4);

            web_submit_form("logon.do;jsessionid=D7F8C098E4938EABCAD3A3D3FA977F45",
                    "Snapshot=t2.inf",
                    ITEMDATA,
                    "Name=username", "Value=de_pxzxxxyf", ENDITEM,
                    "Name=password", "Value=123", ENDITEM,
                    "Name=action", "Value=?", ENDITEM,
                    LAST);

            web_url("Top.jsp",
                    "URL=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=培训中心信息员",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=http://localhost:8088/rebis/logon.do;jsessionid={JSESSIONID3}",
                    "Snapshot=t3.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=../include/blue-img/bottom1.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Bottom.jsp", ENDITEM,
                    "Url=../include/blue-img/bottom2.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Bottom.jsp", ENDITEM,
                    "Url=../include/blue-img/top_01.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
                    "Url=../include/blue-img/top_02.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
                    "Url=../include/blue-img/top_03.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
                    "Url=../include/blue-img/top_04.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
                    "Url=../include/blue-img/top_05.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
                    "Url=../include/blue-img/top_06.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
                    "Url=../include/blue-img/title--top-left.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
                    "Url=../include/blue-img/title-top.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
                    "Url=../include/blue-img/title--top-right.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
                    "Url=../sound/msg_rcv.mp3", "Referer=", ENDITEM,
                    LAST);

            web_submit_data("Pop_upListenerAction.do",
                    "Action=http://localhost:8088/rebis/Pop_upListenerAction.do",
                    "Method=POST",
                    "RecContentType=text/xml",
                    "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98",
                    "Snapshot=t4.inf",
                    "Mode=HTML",
                    ITEMDATA,
                    EXTRARES,
                    "Url=jsp/sound/msg_rd.mp3", "Referer=", ENDITEM,
                    "Url=jsp/sound/msg_rcv.mp3", "Referer=", ENDITEM,
                    "Url=jsp/sound/msg_new.mp3", "Referer=", ENDITEM,
                    "Url=jsp/include/blue-img/title-bg-left.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
                    "Url=jsp/include/blue-img/title-bg-right.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
                    "Url=jsp/include/blue-img/title--bottom-left.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
                    "Url=jsp/include/blue-img/title-bottom.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
                    "Url=jsp/include/blue-img/title--bottom-right.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
                    LAST);

            web_url("Pop_upAction.do",
                    "URL=http://localhost:8088/rebis/Pop_upAction.do",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t5.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=jsp/sound/msg_new.mp3", "Referer=", ENDITEM,
                    LAST);

            web_submit_data("NoteletListenerAction.do",
                    "Action=http://localhost:8088/rebis/NoteletListenerAction.do",
                    "Method=POST",
                    "RecContentType=text/xml",
                    "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp",
                    "Snapshot=t6.inf",
                    "Mode=HTML",
                    ITEMDATA,
                    LAST);

            lr_think_time(4);

            web_url("selectTab.do",
                    "URL=http://localhost:8088/rebis/selectTab.do?workplaceName=培训审批&workplaceId=63",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp",
                    "Snapshot=t7.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=jsp/include/blue-img/navbg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/include/blue-img/navbg2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/image/treeView/ftv2folderopen.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/image/treeView/ftv2blank.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/image/treeView/table.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/image/treeView/ftv2mlastnode.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/image/treeView/ftv2lastnode.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/images/up.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/images/down.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/include/blue-img/bcltop2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/include/blue-img/bcbg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/include/blue-img/bctop2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    "Url=jsp/include/blue-img/bon_bg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
                    LAST);

            return 0;
    }

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

    x
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2015-6-16 14:29
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    6#
    发表于 2008-1-22 13:10:59 | 只看该作者
    不能全改的!!只能是针对性的,如果用到iframe才可能有效。另外看你红色标志处,应该用关联吧?
    有可能是每次生成的sessionid不一致,导致权限验证不通过而找不到表单,所以,看看sessionid是否需要用关联。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    7#
     楼主| 发表于 2008-1-22 13:20:37 | 只看该作者
    怎么关联 sessionid???
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    8#
    发表于 2009-7-24 15:46:23 | 只看该作者
    呵呵好早的问题了,不过我刚刚知道怎么弄了,和以后搜寻这类问题的朋友分享一下,
    这个问题是脚本中没有录制到你要录制的那个空间,什么原因呢,可能是空间不是标准控件,也可能是选择太多,还有其他原因,不清楚。如果是网页试的系统,你可以右键查看源代码,之后找到你没有录制的那个脚本代号,填进去就可以了。
    一般开发人员喜欢用 数字01 或字母ABC之类的。看看是什么就可以了。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    9#
    发表于 2009-7-27 13:58:12 | 只看该作者
    这里真是高手如云啦,以后向大家多多学习!
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    10#
    发表于 2012-8-24 15:58:41 | 只看该作者
    LoadRunner请求无法找到:在录制Web协议脚本回放脚本的过程中,会出现请求无法找到的现象,而导致脚本运行停止。

          错误现象:Action.c(41): Error -27979: Requested form. not found [MsgId: MERR-27979]

          Action.c(41): web_submit_form. highest severity level was "ERROR",0 body bytes, 0 header bytes [MsgId: MMSG-27178]"

          这时在tree view中看不到此组件的相关URL。

          错误分析:所选择的录制脚本模式不正确,通常情况下,基于浏览器的Web应用会使用“HTML-based scrīpt”模式来录制脚本;而没有基于浏览器的Web应用、Web应用中包含了与服务器进行交互的Java Applet、基于浏览器的应用中包含了向服务器进行通信的Javascrīpt/VBscrīpt代码、基于浏览器的应用中使用HTTPS安全协议,这时则使用“URL-based scrīpt”模式进行录制。

          解决办法:打开录制选项配置对话框进行设置,在“Recording Options”的“Internet Protocol”选项里的“Recording”中选择“Recording Level”为“HTML-based scrīpt”,单击“HTML Advanced”,选择“scrīpt Type”为“A scrīpt containing explicit”。然后再选择使用“URL-based scrīpt”模式来录制脚本。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    11#
    发表于 2012-8-24 15:58:51 | 只看该作者
    LoadRunner请求无法找到:在录制Web协议脚本回放脚本的过程中,会出现请求无法找到的现象,而导致脚本运行停止。

          错误现象:Action.c(41): Error -27979: Requested form. not found [MsgId: MERR-27979]

          Action.c(41): web_submit_form. highest severity level was "ERROR",0 body bytes, 0 header bytes [MsgId: MMSG-27178]"

          这时在tree view中看不到此组件的相关URL。

          错误分析:所选择的录制脚本模式不正确,通常情况下,基于浏览器的Web应用会使用“HTML-based scrīpt”模式来录制脚本;而没有基于浏览器的Web应用、Web应用中包含了与服务器进行交互的Java Applet、基于浏览器的应用中包含了向服务器进行通信的Javascrīpt/VBscrīpt代码、基于浏览器的应用中使用HTTPS安全协议,这时则使用“URL-based scrīpt”模式进行录制。

          解决办法:打开录制选项配置对话框进行设置,在“Recording Options”的“Internet Protocol”选项里的“Recording”中选择“Recording Level”为“HTML-based scrīpt”,单击“HTML Advanced”,选择“scrīpt Type”为“A scrīpt containing explicit”。然后再选择使用“URL-based scrīpt”模式来录制脚本。
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    2020-2-2 12:43
  • 签到天数: 630 天

    连续签到: 1 天

    [LV.9]测试副司令

    12#
    发表于 2013-9-12 14:28:14 | 只看该作者
    回复 11# lagula800


        试过了,可以的,谢谢!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2015-5-29 11:16
  • 签到天数: 32 天

    连续签到: 1 天

    [LV.5]测试团长

    13#
    发表于 2015-4-24 15:49:50 | 只看该作者
    lagula800 发表于 2012-8-24 15:58
    LoadRunner请求无法找到:在录制Web协议脚本回放脚本的过程中,会出现请求无法找到的现象,而导致脚本运行 ...

    但是,为什么呢?
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-11-27 07:53 , Processed in 0.081074 second(s), 28 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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