|
5#
楼主 |
发表于 2016-3-3 10:18:29
|
只看该作者
应该就出现在发帖事务中,日志显示正确,就是回放后论坛中没有新增一条帖子,这事action中的脚本,多谢看看:Action()
{
lr_start_transaction("发帖");
web_add_cookie("smile=1D1; DOMAIN=192.168.50.128");
//lr_think_time(16);
web_url("post.php",
"URL=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t7.inf",
"Mode=HTML",
EXTRARES,
"Url=images/common/editor.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/common/bigeditor.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/common/upload.swf?site=http://192.168.50.128/bbs/misc.php%3Ftype=image&type=image", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/common/upload.swf?site=http://192.168.50.128/bbs/misc.php", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/default/notice.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/tongue.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/smile.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/shy.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/titter.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/sad.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/cry.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/biggrin.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/huffy.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/shocked.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/sweat.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/lol.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/mad.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/loveliness.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/funk.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/hug.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/victory.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/handshake.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/curse.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/dizzy.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/kiss.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/sleepy.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/shutup.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/time.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=images/smilies/default/call.gif", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
"Url=pm.php?checknewpm=0.15277351135203188&inajax=1&ajaxtarget=myprompt_check", "Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3", ENDITEM,
LAST);
web_submit_data("post.php_2",
"Action=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&extra=&topicsubmit=yes",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.50.128/bbs/post.php?action=newthread&fid=3&referer=http%3A//192.168.50.128/bbs/forumdisplay.php%3Ffid%3D3",
"Snapshot=t8.inf",
"Mode=HTML",
ITEMDATA,
"Name=formhash", "Value=eac5807e", ENDITEM,
"Name=posttime", "Value=1456904761", ENDITEM,
"Name=wysiwyg", "Value=0", ENDITEM,
"Name=iconid", "Value=", ENDITEM,
"Name=subject", "Value=hello!", ENDITEM,
"Name=checkbox", "Value=0", ENDITEM,
"Name=message", "Value=1111111111!", ENDITEM,
"Name=tags", "Value=", ENDITEM,
"Name=addtags", "Value=+可用标签", ENDITEM,
"Name=attention_add", "Value=1", ENDITEM,
EXTRARES,
"Url=images/default/text_zoom.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/fastreply.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/repquote.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/addbuddy.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/edit.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/reply.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/ajaxaction.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/text_common.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/printpost.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
"Url=images/default/pmto.gif", "Referer=http://192.168.50.128/bbs/viewthread.php?tid=31&extra=", ENDITEM,
LAST);
lr_end_transaction("发帖",LR_AUTO);
return 0;
} |
|