51Testing软件测试论坛
标题:
录制163邮箱登陆时,自动设置好了关联,设置了文本检查点,回放不成功。
[打印本页]
作者:
auuppp
时间:
2009-11-17 23:28
标题:
录制163邮箱登陆时,自动设置好了关联,设置了文本检查点,回放不成功。
Action()
{
web_url("main-pic.gif_2",
"URL=http://mimg.163.com/index/new_2008/pic/main-pic.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://mail.163.com/",
LAST);
web_add_cookie("Province=022; DOMAIN=reg.163.com");
web_add_cookie("City=022; DOMAIN=reg.163.com");
web_add_cookie("P_INFO=javalove@163.com|1258467762|0|mail163|11&20|1; DOMAIN=reg.163.com");
web_add_cookie("USERTRACK=60.29.151.224.1258465393803744; DOMAIN=reg.163.com");
web_submit_data("logins.jsp",
"Action=https://reg.163.com/logins.jsp?type=1&url=http://entry.mail.163.com/coremail/fcg/ntesdoor2?lightweight%3D1%26verifycookie%3D1%26language%3D-1%26style%3D-1",
"Method=POST",
"RecContentType=text/html",
"Referer=http://mail.163.com/",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=verifycookie", "Value=1", ENDITEM,
"Name=style", "Value=-1", ENDITEM,
"Name=product", "Value=mail163", ENDITEM,
"Name=savelogin", "Value=", ENDITEM,
"Name=username", "Value=javalove", ENDITEM,
"Name=password", "Value=qwerty", ENDITEM,
"Name=selType", "Value=-1", ENDITEM,
"Name=secure", "Value=on", ENDITEM,
"Name=?", "Value=", ENDITEM,
LAST);
web_add_cookie("logType=-1; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("nts_mail_user=javalove:-1:1; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("MAIL163_SSN=javalove; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("ntes_mail_firstpage=normal; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("Province=022; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("City=022; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("USERTRACK=60.29.151.224.1258465393803744; DOMAIN=cg6a49.mail.163.com");
// [WCSPARAM WCSParam_Diff1 32 ABfbhQOFYLbYRuTWxmFFrmhpEbeXUKRJ] Parameter {WCSParam_Diff1} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff1", "LB=sid=", "RB=\"", "Ord=All", "Search=Body", "RelFrameId=1", LAST );
web_url("ntesdoor2",
"URL=http://entry.mail.163.com/coremail/fcg/ntesdoor2?lightweight=1&verifycookie=1&language=-1&style=-1&username=javalove",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"URL=http://mimg.126.net/p/js31style/lib/0910121800/images/musicbox/mbox_mini.css", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid=ABfbhQOFYLbYRuTWxmFFrmhpEbeXUKRJ", ENDITEM,
"URL=http://mimg.126.net/p/js31style/lib/0910121800/cmcss/163_blue_s.css", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid=ABfbhQOFYLbYRuTWxmFFrmhpEbeXUKRJ", ENDITEM,
"URL=http://mimg.126.net/p/js31style/lib/0910121800/163blue/f2.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid=ABfbhQOFYLbYRuTWxmFFrmhpEbeXUKRJ", ENDITEM,
"URL=http://mimg.126.net/p/js31style/lib/0910121800/163blue/f1.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid=ABfbhQOFYLbYRuTWxmFFrmhpEbeXUKRJ", ENDITEM,
"URL=http://mimg.126.net/p/js31style/lib/0910121800/163blue/f1png.png", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid=ABfbhQOFYLbYRuTWxmFFrmhpEbeXUKRJ", ENDITEM,
"URL=http://mimg.126.net/p/js31style/lib/0910121800/163blue/ico.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid=ABfbhQOFYLbYRuTWxmFFrmhpEbeXUKRJ", ENDITEM,
"URL=http://img1.126.net/channel6/005281/ef091105_300260_163.swf", ENDITEM,
"URL=http://img1.126.net/channel6/005139/fang091117_13090.jpg", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid=ABfbhQOFYLbYRuTWxmFFrmhpEbeXUKRJ", ENDITEM,
"URL=http://mimg.126.net/tianqi/images/ico_weather.gif", "Referer=http://mimg.163.com/tianqi/city_js/091117/555/55591_wet_js.htm", ENDITEM,
LAST);
web_url("impservice.s",
"URL=http://marcus.youdao.com/imp/impservice.s?yauid=00086a6176616c6f76653136332e636f6d&posid=4&action=ehp&syndid=6&siteid=1",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_url("impservice.s_2",
"URL=http://marcus.youdao.com/imp/impservice.s?yauid=00086a6176616c6f76653136332e636f6d&posid=6&action=ehp&syndid=6&siteid=1",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);
web_url("163hottwo.html",
"URL=http://img1.126.net/mail/163/163hottwo.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t6.inf",
"Mode=HTML",
作者:
auuppp
时间:
2009-11-17 23:29
标题:
接上脚本
EXTRARES,
"URL=/channel6/mail/091116_wapmail_30x30.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=/channel6/005281/ef091116_1616_163.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
LAST);
web_add_cookie("Province=022; DOMAIN=news.163.com");
web_add_cookie("City=022; DOMAIN=news.163.com");
web_add_cookie("USERTRACK=60.29.151.224.1258465393803744; DOMAIN=news.163.com");
web_url("163mailnews.html",
"URL=http://news.163.com/special/0001127H/163mailnews.html?1254188753945",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
web_url("htmltool_js3_v1.htm",
"URL=http://cg6a49.mail.163.com/a/f/js3/editor/0910121800/htmltool_js3_v1.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"URL=http://mimg.126.net/p/js31style/js/0910121800/indexinit_v1.js", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://img1.126.net/channel6/005281/ef091105_300260_163.swf", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://mimg.126.net/js3style/images/wel_ico_safe.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://mimg.126.net/p/js31style/lib/images/editor/mtoolallbg11.gif", ENDITEM,
LAST);
web_add_cookie("Province=022; DOMAIN=blog.163.com");
web_add_cookie("City=022; DOMAIN=blog.163.com");
web_add_cookie("USERTRACK=60.29.151.224.1258465393803744; DOMAIN=blog.163.com");
web_url("blogmsg",
"URL=http://blog.163.com/blogentry/blogmsg/?uid=javalove@163.com&sid={WCSParam_Diff1}&action=new",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t9.inf",
"Mode=HTML",
EXTRARES,
"URL=http://mimg.126.net/js3style/images/wel_safeclose.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://img1.126.net/channel6/006401/wlj091117_3030.jpg", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://mimg.126.net/p/js31style/js/0910121800/engine1_v0.js", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://mimg.126.net/p/js31style/lib/0910121800/163blue/wel_2.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://mimg.126.net/p/js31style/js/0910121800/engine1_v16.js", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://mimg.126.net/p/js31style/js/0910121800/plugin.js", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
LAST);
web_add_cookie("mail_host=cg6a49.mail.163.com; DOMAIN=blog.163.com");
web_url("blogmusic.s",
"URL=http://blog.163.com/common/blogmusic.s?sid={WCSParam_Diff1}&uid=javalove@163.com&op=m_album_gs&event=MM.welcome.music.callBack&t=1258467831093&extend={\"op\":\"getList\",\"call\":\"init\"}&from=163.com",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t10.inf",
"Mode=HTML",
LAST);
web_add_cookie("mail_style=js3; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("mail_uid=javalove@163.com; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("wmsvr_domain=cg6a49.mail.163.com; DOMAIN=cg6a49.mail.163.com");
web_add_cookie("mail_host=cg6a49.mail.163.com; DOMAIN=cg6a49.mail.163.com");
web_url("queryinmbox",
"URL=http://cg6a49.mail.163.com/jifen/servlet/queryinmbox?username=javalove&domain=163&r=0.10442614708728198",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t11.inf",
"Mode=HTML",
EXTRARES,
"URL=http://mimg.126.net/p/js31style/js/0910121800/engine2_v0.js", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://mimg.126.net/musicbox/images/mbox_mini.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
LAST);
web_custom_request("s",
"URL=http://cg6a49.mail.163.com/a/s?sid={WCSParam_Diff1}&func=global:sequential",
"Method=POST",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"EncType=application/xml",
"Body=<?xml version=\"1.0\"?><object><array name=\"items\"><object><string name=\"func\">pab:searchContacts</string><object name=\"var\"><array name=\"order\"><object><string name=\"field\">FN</string><boolean name=\"ignoreCase\">true</boolean></object></array></object></object><object><string name=\"func\">user:getSignatures</string></object><object><string name=\"func\">pab:getAllGroups</string></object></array></object>",
LAST);
web_url("blogmusic.s_2",
"URL=http://blog.163.com/common/blogmusic.s?sid={WCSParam_Diff1}&uid=javalove@163.com&op=m_gsi&event=MM.welcome.music.callBack&t=1258467831671&circle=1&extend={\"op\":\"getMusic\",\"id\":\"0\",\"call\":\"play\",\"data\":{\"group\":0},\"first\":true}&albumId=0&from=163.com",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t12.inf",
"Mode=HTML",
EXTRARES,
"URL=http://mimg.126.net/musicbox/images/ie6_pcs.gif", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
"URL=http://mimg.126.net/p/js31style/js/0910121800/engine2_v3.js", "Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}", ENDITEM,
LAST);
web_url("setcookie.jsp",
"URL=http://reg.youdao.com/setcookie.jsp?loginCookie=yNhJi61yrpdXv3a2XN7IrJcj2AMY.ukCK3Op2jJvMnYwpRC9Lp_Cck21Dsfnqos_Wsja1vy43xmp2pvzCzyXyzQpgi2Y1HUfZLnVCoZ_1Bi59&domain=youdao.com&username=javalove@163.com",
"Resource=0",
"RecContentType=text/html",
"Referer=http://cg6a49.mail.163.com/a/j/js3/index.jsp?sid={WCSParam_Diff1}",
"Snapshot=t13.inf",
"Mode=HTML",
LAST);
web_find("web_find",
"What=您有",
LAST);
return 0;
}
作者:
auuppp
时间:
2009-11-17 23:30
标题:
为啥登陆不成功
非法请求啊
作者:
auuppp
时间:
2009-11-18 10:14
标题:
怎么没人回答呢
怎么没人回答呢
作者:
浪少
时间:
2009-11-18 10:42
人家163会让你这样反复施压?
作者:
auuppp
时间:
2009-11-18 11:14
标题:
我就一个用户登陆啊
我就一个用户登陆啊
作者:
多米尼克
时间:
2009-11-18 11:14
你确定sid用的都是同一个参数吗?
左右边界是不是对的,会不会取到别的东西
将order=all 改成order=1试试
[
本帖最后由 多米尼克 于 2009-11-18 11:15 编辑
]
作者:
auuppp
时间:
2009-11-18 18:21
标题:
改成all也不行
改成all也不行。你录制一下试试
作者:
gnixougil
时间:
2009-11-18 22:40
呵呵做个板凳看卡
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2