51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

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

[求助] Loadrunner如何确认录制是否成功

[复制链接]
  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2016-5-17 09:06:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    以下是我录制百度查询12306的脚本,我不知道该如何 验证是否录制成功了,因为录制下来的快照都是乱码的,有得设置是连快照都没有,这让我这新手很纠结,因为我不知道该如何验证是否成功录制,请各位指教,以下是录制的百度查询12306的代码和快照截图:
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2017-10-27 14:21
  • 签到天数: 306 天

    连续签到: 1 天

    [LV.8]测试军长

    推荐
    发表于 2016-5-17 10:43:27 | 只看该作者
    你可以设置一个文本检查点或者图片检查点试试!通过成功界面区别于其他界面的标识来判断是否成功!其实你应该验证的不是录制是否成功,而是回放是否能够成功,只要随着你的操作,在录制的过程中events一直在增加应该就是录制上了!

    评分

    参与人数 1测试积点 +10 收起 理由
    lsekfe + 10 积极回复获得测试积点10

    查看全部评分

    回复 支持 1 反对 0

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
     楼主| 发表于 2016-5-17 09:07:26 | 只看该作者
    Action()
    {

            web_add_cookie("BD_UPN=1123314351; DOMAIN=www.baidu.com");

            web_add_cookie("H_PS_645EC=83a13n6Mkxv6WKexa2oP2T81z5OM9ML6MmjTPbxCO7jREPgBo3c0OZR%2BscE; DOMAIN=www.baidu.com");

            web_add_cookie("ispeed_lsm=16; DOMAIN=www.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=www.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=www.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=www.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss3.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss3.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=ss3.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss0.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss0.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=ss0.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss1.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss1.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=ss1.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss2.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss2.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=ss2.baidu.com");

            web_url("www.baidu.com",
                    "URL=http://www.baidu.com/",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t1.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://www.baidu.com/img/bd_logo1.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://www.baidu.com/img/baidu_jgylogo3.gif", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/zbios_62c636fe.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/every_cookie_aa168cb4.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_0e814c16.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/nuomi_510f7472.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/js/all_async_search_7f9d7c36.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/js/nu_instant_search_ebeb5baa.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/quickdelete_9c14b01a.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/sug/js/bdsug_async_dac7ea02.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/baiduia/baiduia_b45d552b.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://www.baidu.com/his?wd=&from=pc_web&rf=3&hisdata=&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=0&cb=jQuery110208550371302816654_1463446731813&_=1463446731814", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/env_beb83b45.swf", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/baiduia/JSocket_9a52fc3e.swf?0.05", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss3.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735511", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss2.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://www.baidu.com/his?wd=&from=pc_web&rf=3&hisdata=&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&sc=eb&csor=0&cb=jQuery110208550371302816654_1463446731813&_=1463446731815", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

           
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    3#
     楼主| 发表于 2016-5-17 09:07:38 | 只看该作者
    web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp0.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp0.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp0.baidu.com");

            web_url("s",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=2&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=2&pstg=5&_cr1=22911",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t2.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=1&cb=jQuery110208550371302816654_1463446731816&_=1463446731817", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=2&pwd=1&cb=jQuery110208550371302816654_1463446731813&_=1463446731818", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/sugbg_d24a0811.gif", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_2",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=123&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=3&rsv_sug1=2&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=5&_cr1=25015",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t3.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=123&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=3&pwd=12&cb=jQuery110208550371302816654_1463446731813&_=1463446731819", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_3",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=25115",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t4.inf",
                    "Mode=HTML",
                    LAST);

            web_add_cookie("BDSVRTM=14; DOMAIN=www.baidu.com");

            web_url("s_4",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=28919",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t5.inf",
                    "Mode=HTML",
                    LAST);

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp1.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp1.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp1.baidu.com");

            web_url("s_5",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=1230&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=5&_cr1=27223",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t6.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1230&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=4&pwd=123&cb=jQuery110208550371302816654_1463446731813&_=1463446731820", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=1230&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=1230&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446741890", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12306&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=5&pwd=1230&cb=jQuery110208550371302816654_1463446731813&_=1463446731821", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=12306&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=12306&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446742447", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_6",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=5&rsv_sug1=4&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=1&_cr1=29651",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t7.inf",
                    "Mode=HTML",
                    LAST);

            web_add_cookie("BDSVRTM=15; DOMAIN=www.baidu.com");

            web_url("s_7",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=5&pstg=1&_cr1=29654",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t8.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/rightHintIcon_4db55de5.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/aladdin/img/tools/tools-5.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/cache/global/img/aladdinIcon-1.0.gif", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/9foIbT3kAMgDnd_/c.gif?t=0&q=12306&p=0&pn=1", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_add_cookie("H_PS_645EC=4bd9k13vYKPLAJ1TXDh881VNoYLhOADqX2Qr9ojcUguyc7G50QsPrl61BGc; DOMAIN=www.baidu.com");

            web_url("s_8",
                    "URL=https://www.baidu.com/s?ie=utf-8&csq=1&pstg=1&mod=2&cqid=d7233e6d00167979&istc=7748&ver=QN-xHwBWPL4ajeyhpKvX639X1bF8WCuOCYm&chk=573a6cbe&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&f4s=1&_ck=1201.1.140.21.18.958.241&rsv_isid=1463_19037_17948_19568_19559_19842_15228_11446&isnop=1&rsv_stat=-2&rsv_bp=1",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190",
                    "Snapshot=t9.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/clean_2ebde478.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/cache/fpid/ielib_0108.js", "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190", ENDITEM,
                    "Url=/cache/fpid/o_0108.swf", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp3.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp3.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp3.baidu.com");

            web_url("ps_fp.htm",
                    "URL=https://sp3.baidu.com/-0U_dTmfKgQFm2e88IuM_a/ps_fp.htm?pid=ps&fp=91D54A452F1DACEC875D9FA01A8A1AC5&im=0&wf=1&br=1&qid=d7233e6d00167979&bi=10CD15634B9C822E1A406B0701F73456:FG=1&psid=10CD15634B9C822E1A406B0701F73456",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t10.inf",
                    "Mode=HTML",
                    LAST);

            return 0;
    }
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    4#
     楼主| 发表于 2016-5-17 09:08:08 | 只看该作者
    web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp0.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp0.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp0.baidu.com");

            web_url("s",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=2&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=2&pstg=5&_cr1=22911",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t2.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=1&cb=jQuery110208550371302816654_1463446731816&_=1463446731817", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=2&pwd=1&cb=jQuery110208550371302816654_1463446731813&_=1463446731818", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/sugbg_d24a0811.gif", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_2",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=123&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=3&rsv_sug1=2&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=5&_cr1=25015",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t3.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=123&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=3&pwd=12&cb=jQuery110208550371302816654_1463446731813&_=1463446731819", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_3",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=25115",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t4.inf",
                    "Mode=HTML",
                    LAST);

            web_add_cookie("BDSVRTM=14; DOMAIN=www.baidu.com");

            web_url("s_4",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=28919",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t5.inf",
                    "Mode=HTML",
                    LAST);

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp1.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp1.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp1.baidu.com");

            web_url("s_5",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=1230&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=5&_cr1=27223",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t6.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1230&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=4&pwd=123&cb=jQuery110208550371302816654_1463446731813&_=1463446731820", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=1230&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=1230&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446741890", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12306&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=5&pwd=1230&cb=jQuery110208550371302816654_1463446731813&_=1463446731821", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=12306&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=12306&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446742447", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_6",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=5&rsv_sug1=4&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=1&_cr1=29651",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t7.inf",
                    "Mode=HTML",
                    LAST);

            web_add_cookie("BDSVRTM=15; DOMAIN=www.baidu.com");

            web_url("s_7",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=5&pstg=1&_cr1=29654",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t8.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/rightHintIcon_4db55de5.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/aladdin/img/tools/tools-5.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/cache/global/img/aladdinIcon-1.0.gif", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/9foIbT3kAMgDnd_/c.gif?t=0&q=12306&p=0&pn=1", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_add_cookie("H_PS_645EC=4bd9k13vYKPLAJ1TXDh881VNoYLhOADqX2Qr9ojcUguyc7G50QsPrl61BGc; DOMAIN=www.baidu.com");

            web_url("s_8",
                    "URL=https://www.baidu.com/s?ie=utf-8&csq=1&pstg=1&mod=2&cqid=d7233e6d00167979&istc=7748&ver=QN-xHwBWPL4ajeyhpKvX639X1bF8WCuOCYm&chk=573a6cbe&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&f4s=1&_ck=1201.1.140.21.18.958.241&rsv_isid=1463_19037_17948_19568_19559_19842_15228_11446&isnop=1&rsv_stat=-2&rsv_bp=1",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190",
                    "Snapshot=t9.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/clean_2ebde478.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/cache/fpid/ielib_0108.js", "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190", ENDITEM,
                    "Url=/cache/fpid/o_0108.swf", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp3.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp3.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp3.baidu.com");

            web_url("ps_fp.htm",
                    "URL=https://sp3.baidu.com/-0U_dTmfKgQFm2e88IuM_a/ps_fp.htm?pid=ps&fp=91D54A452F1DACEC875D9FA01A8A1AC5&im=0&wf=1&br=1&qid=d7233e6d00167979&bi=10CD15634B9C822E1A406B0701F73456:FG=1&psid=10CD15634B9C822E1A406B0701F73456",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t10.inf",
                    "Mode=HTML",
                    LAST);

            return 0;
    }
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    5#
     楼主| 发表于 2016-5-17 09:09:41 | 只看该作者
    重新发一次代码,请给位指导下啊,谢谢!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    6#
     楼主| 发表于 2016-5-17 09:11:38 | 只看该作者
    Action()
    {

            web_add_cookie("BD_UPN=1123314351; DOMAIN=www.baidu.com");

            web_add_cookie("H_PS_645EC=83a13n6Mkxv6WKexa2oP2T81z5OM9ML6MmjTPbxCO7jREPgBo3c0OZR%2BscE; DOMAIN=www.baidu.com");

            web_add_cookie("ispeed_lsm=16; DOMAIN=www.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=www.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=www.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=www.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss3.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss3.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=ss3.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss0.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss0.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=ss0.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss1.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss1.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=ss1.baidu.com");

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss2.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss2.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=ss2.baidu.com");

            web_url("www.baidu.com",
                    "URL=http://www.baidu.com/",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t1.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://www.baidu.com/img/bd_logo1.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://www.baidu.com/img/baidu_jgylogo3.gif", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/zbios_62c636fe.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/every_cookie_aa168cb4.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_0e814c16.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/nuomi_510f7472.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/js/all_async_search_7f9d7c36.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/js/nu_instant_search_ebeb5baa.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/quickdelete_9c14b01a.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/sug/js/bdsug_async_dac7ea02.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/baiduia/baiduia_b45d552b.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://www.baidu.com/his?wd=&from=pc_web&rf=3&hisdata=&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=0&cb=jQuery110208550371302816654_1463446731813&_=1463446731814", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/env_beb83b45.swf", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/baiduia/JSocket_9a52fc3e.swf?0.05", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss3.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735511", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss2.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://www.baidu.com/his?wd=&from=pc_web&rf=3&hisdata=&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&sc=eb&csor=0&cb=jQuery110208550371302816654_1463446731813&_=1463446731815", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp0.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp0.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp0.baidu.com");

            web_url("s",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=2&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=2&pstg=5&_cr1=22911",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t2.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=1&cb=jQuery110208550371302816654_1463446731816&_=1463446731817", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=2&pwd=1&cb=jQuery110208550371302816654_1463446731813&_=1463446731818", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/sugbg_d24a0811.gif", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_2",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=123&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=3&rsv_sug1=2&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=5&_cr1=25015",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t3.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=123&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=3&pwd=12&cb=jQuery110208550371302816654_1463446731813&_=1463446731819", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_3",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=25115",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t4.inf",
                    "Mode=HTML",
                    LAST);

            web_add_cookie("BDSVRTM=14; DOMAIN=www.baidu.com");

            web_url("s_4",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=28919",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t5.inf",
                    "Mode=HTML",
                    LAST);
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    7#
     楼主| 发表于 2016-5-17 09:12:19 | 只看该作者
    承接上面的代码:
    web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp1.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp1.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp1.baidu.com");

            web_url("s_5",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=1230&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=5&_cr1=27223",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t6.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1230&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=4&pwd=123&cb=jQuery110208550371302816654_1463446731813&_=1463446731820", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=1230&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=1230&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446741890", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12306&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=5&pwd=1230&cb=jQuery110208550371302816654_1463446731813&_=1463446731821", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=12306&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=12306&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446742447", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_url("s_6",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=5&rsv_sug1=4&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=1&_cr1=29651",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t7.inf",
                    "Mode=HTML",
                    LAST);

            web_add_cookie("BDSVRTM=15; DOMAIN=www.baidu.com");

            web_url("s_7",
                    "URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=5&pstg=1&_cr1=29654",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t8.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/rightHintIcon_4db55de5.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/aladdin/img/tools/tools-5.png", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/cache/global/img/aladdinIcon-1.0.gif", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=https://sp0.baidu.com/9foIbT3kAMgDnd_/c.gif?t=0&q=12306&p=0&pn=1", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_add_cookie("H_PS_645EC=4bd9k13vYKPLAJ1TXDh881VNoYLhOADqX2Qr9ojcUguyc7G50QsPrl61BGc; DOMAIN=www.baidu.com");

            web_url("s_8",
                    "URL=https://www.baidu.com/s?ie=utf-8&csq=1&pstg=1&mod=2&cqid=d7233e6d00167979&istc=7748&ver=QN-xHwBWPL4ajeyhpKvX639X1bF8WCuOCYm&chk=573a6cbe&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&f4s=1&_ck=1201.1.140.21.18.958.241&rsv_isid=1463_19037_17948_19568_19559_19842_15228_11446&isnop=1&rsv_stat=-2&rsv_bp=1",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190",
                    "Snapshot=t9.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/clean_2ebde478.js", "Referer=https://www.baidu.com/", ENDITEM,
                    "Url=/cache/fpid/ielib_0108.js", "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190", ENDITEM,
                    "Url=/cache/fpid/o_0108.swf", "Referer=https://www.baidu.com/", ENDITEM,
                    LAST);

            web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp3.baidu.com");

            web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp3.baidu.com");

            web_add_cookie("PSTM=1463446360; DOMAIN=sp3.baidu.com");

            web_url("ps_fp.htm",
                    "URL=https://sp3.baidu.com/-0U_dTmfKgQFm2e88IuM_a/ps_fp.htm?pid=ps&fp=91D54A452F1DACEC875D9FA01A8A1AC5&im=0&wf=1&br=1&qid=d7233e6d00167979&bi=10CD15634B9C822E1A406B0701F73456:FG=1&psid=10CD15634B9C822E1A406B0701F73456",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=https://www.baidu.com/",
                    "Snapshot=t10.inf",
                    "Mode=HTML",
                    LAST);

            return 0;
    }
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    8#
     楼主| 发表于 2016-5-17 09:13:17 | 只看该作者
    我还是发附件吧!请各位给点指导,一直达不到领导要求,我感觉我这工作有点玄乎,现在还在试用期!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    9#
     楼主| 发表于 2016-5-17 09:15:00 | 只看该作者
    百度录制12306代码,请帮我看看啊!

    本帖子中包含更多资源

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

    x
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-3-11 10:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    10#
     楼主| 发表于 2016-5-17 09:15:49 | 只看该作者
    请帮苦逼的我看一看,现在还在试用期的我,一直达不到领导的要求,感觉这份工作有点玄乎了!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2018-8-27 15:56
  • 签到天数: 322 天

    连续签到: 1 天

    [LV.8]测试军长

    11#
    发表于 2016-5-17 10:26:39 | 只看该作者
    额。。。感觉楼主没找到问题的重点所在啊,你发一堆脚本没用的。。。。
    有没有成功,你看日志有没有成功响应不就知道了吗
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    昨天 07:23
  • 签到天数: 2819 天

    连续签到: 1 天

    [LV.Master]测试大本营

    13#
    发表于 2016-5-17 14:03:51 | 只看该作者
    录制完成后,运行一下,看一下服务返回判断脚本
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-11-26 01:52 , Processed in 0.074101 second(s), 25 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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