51Testing软件测试论坛
标题:
LR参数化(------请进!)
[打印本页]
作者:
超越自我
时间:
2008-12-30 15:57
标题:
LR参数化(------请进!)
Action()
{
web_add_cookie("
REF=ID=18258fb0a36ed94d:NW=1:TM=1230622703
M=1230622703:S=Ll0mrDNY6_Sqk4tU; DOMAIN=www.google.com");
web_url("addurl",
"URL=http://www.google.com/addurl/?hl=zh-CN&continue=/addurl",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_think_time(30);
web_submit_form("Captcha",
"Snapshot=t2.inf",
ITEMDATA,
"Name=q", "Value=网址", ENDITEM,
"Name=dq", "Value=评论", ENDITEM,
"Name=captcha", "Value=", ENDITEM,
"Name=submit", "Value=娣诲姞缃戝潃", ENDITEM,
LAST);
return 0;
}
上面是google提交网址的录制..想批量提交网址到google上,怎样实现参数化,提交网址不是全部提交,欺骗IP地址..
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2