51Testing软件测试论坛

标题: 在loadrunner录制过程中出现不知道时什么作用的代码 [打印本页]

作者: hr200618051    时间: 2010-9-9 09:42
标题: 在loadrunner录制过程中出现不知道时什么作用的代码
web_submit_form("Login.aspx",
                "Snapshot=t2.inf",
                ITEMDATA,
                "Name=txtUserName", "Value=admin", ENDITEM,
                "Name=txtPwd", "Value=123", ENDITEM,
                "Name=btnLogin", "Value=纭\xAE   瀹\x9A", ENDITEM,
                EXTRARES,
                "Url=My97DatePicker/skin/WdatePicker.css", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=WebResource.axd?d=3hES4PbNG0i4GbsMEQDgCw2&t=634171297740156250", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=WebResource.axd?d=PGWuirS3DVigZGTC_uRe2g2&t=634171297740156250", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/084088GLN_01.gif", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/084088GLN_03.gif", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/084088GLN_02.gif", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=WebResource.axd?d=yPhMKJIELbBGVwLD9erihg2&t=634171297740156250", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/a001.gif", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=WebResource.axd?d=5p3WczOPUB6lVYU14rOwRY6dNkCCjrCjRGuPw70Ipus1&t=634171297740156250", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=WebResource.axd?d=0S-Bjh11UTgHubvNn5TdAhSbJIzPXPMpvFxEI9cVtZw1&t=634171297740156250", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/tool.jpg", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/bg.jpg", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/004.gif", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/001.gif", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                "Url=Images/002.gif", "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx", ENDITEM,
                LAST);

        web_url("My97DatePicker.htm",
                "URL=http://192.168.0.0/BKXCProject/My97DatePicker/My97DatePicker.htm",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx",
                "Snapshot=t3.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=lang/zh-cn.js", ENDITEM,
                "Url=skin/default/datepicker.css", ENDITEM,
                "Url=skin/whyGreen/datepicker.css", ENDITEM,
                "Url=skin/default/img.gif", ENDITEM,
                LAST);

        web_url("ListNotice.aspx",
                "URL=http://192.168.0.0/BKXCProject/WebPages/ListNotice.aspx",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.0/BKXCProject/WebPages/ListBKXC.aspx",
                "Snapshot=t4.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../My97DatePicker/skin/datePicker.gif", ENDITEM,
                LAST);

        web_url("My97DatePicker.htm_2",
                "URL=http://192.168.0.0/BKXCProject/My97DatePicker/My97DatePicker.htm",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.0/BKXCProject/WebPages/ListNotice.aspx",
                "Snapshot=t5.inf",
                "Mode=HTML",
                LAST);

        return 0;
红色部分为不知道的代码

[ 本帖最后由 hr200618051 于 2010-9-9 09:44 编辑 ]
作者: TIB    时间: 2010-9-9 22:13
用HTTPWatch等工具跟踪一下整个页面请求过程都发送了哪些请求
作者: hr200618051    时间: 2010-9-10 11:40
标题: 回复 2# 的帖子
谢啦!




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