|
5#
楼主 |
发表于 2008-9-3 15:22:41
|
只看该作者
回复 4# 的帖子
谢谢云层老师回复
以下是我的全部脚本信息 是用URL方式录的
我对LR刚刚接触,请多指教
Action()
{
web_url("192.168.0.110",
"URL=http://192.168.0.110/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_url("AuthorizeMeetingRoom.aspx",
"URL=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=鍟嗗姟瀹?&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=鎺堟潈浼氳\xAE\xAE瀹?&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=鎴愬憳2&UserType=User&IsAuth=True&UserSex=Man",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_url("prototype.js",
"URL=http://192.168.0.110/js/prototype.js",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
LAST);
web_url("master.css",
"URL=http://192.168.0.110/css/master.css",
"Resource=1",
"RecContentType=text/css",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
LAST);
web_concurrent_end(NULL);
web_url("hys_r10_c1.jpg",
"URL=http://192.168.0.110/img/hys_r10_c1.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
LAST);
web_url("hys_r2_c8.jpg",
"URL=http://192.168.0.110/img/hys_r2_c8.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
LAST);
web_concurrent_start(NULL);
web_concurrent_end(NULL);
web_submit_data("ServerAction.ashx",
"Action=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Mode=HTTP",
ITEMDATA,
"Name=ACT", "Value=GetNewMsg", ENDITEM,
"Name=UserId", "Value={xincan}", ENDITEM,
"Name=RoomId", "Value=1", ENDITEM,
"Name=SendTime", "Value=0", ENDITEM,
LAST);
web_url("ServerPush.aspx",
"URL=http://192.168.0.110/ServerPush.aspx?RoomId=1&RoomName=%u5546%u52A1%u5BA41&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=%u6388%u6743%u4F1A%u8BAE%u5BA41&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=%u6210%u54582&IsAuth=True&UserType=User&UserSex=Man",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Snapshot=t3.inf",
"Mode=HTTP",
LAST);
web_submit_data("ServerAction.ashx_2",
"Action=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Snapshot=t4.inf",
"Mode=HTTP",
ITEMDATA,
"Name=ACT", "Value=UpdateOnlineUser", ENDITEM,
"Name=roomid", "Value=1", ENDITEM,
LAST);
lr_think_time(10);
web_custom_request("ServerAction.ashx_3",
"URL=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Snapshot=t5.inf",
"Mode=HTTP",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"Body=ACT=SendMessage&message=%E4%BD%A0%E5%A5%BD%E3%80%82%0D%0A&roomid=1&ReceiveUserName=%20%E6%89%80%E6%9C%89%E4%BA%BA&SendUserId={xincan}&SendUserName=%E6%88%90%E5%91%982",
LAST);
web_custom_request("ServerAction.ashx_4",
"URL=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Snapshot=t6.inf",
"Mode=HTTP",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"Body=ACT=GetNewMsg&UserId=2&RoomId=1&SendTime=2008-09-03%2010%3A31%3A39.578",
LAST);
lr_think_time(5);
web_custom_request("ServerAction.ashx_5",
"URL=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Snapshot=t7.inf",
"Mode=HTTP",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"Body=ACT=SendMessage&message=%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE&roomid=1&ReceiveUserName=%20%E6%89%80%E6%9C%89%E4%BA%BA&SendUserId={xincan}&SendUserName=%E6%88%90%E5%91%982",
LAST);
web_custom_request("ServerAction.ashx_6",
"URL=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Snapshot=t8.inf",
"Mode=HTTP",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"Body=ACT=GetNewMsg&UserId=2&RoomId=1&SendTime=2008-09-03%2010%3A31%3A45.515",
LAST);
lr_think_time(7);
web_custom_request("ServerAction.ashx_7",
"URL=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Snapshot=t9.inf",
"Mode=HTTP",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"Body=ACT=SendMessage&message=%E4%B8%8D%E8%A6%81%E7%90%86%E4%BC%9A%E3%80%82&roomid=1&ReceiveUserName=%20%E6%89%80%E6%9C%89%E4%BA%BA&SendUserId={xincan}&SendUserName=%E6%88%90%E5%91%982",
LAST);
web_custom_request("ServerAction.ashx_8",
"URL=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man",
"Snapshot=t10.inf",
"Mode=HTTP",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"Body=ACT=GetNewMsg&UserId=2&RoomId=1&SendTime=2008-09-03%2010%3A31%3A53.062",
LAST);
web_submit_data("ServerAction.ashx_9",
"Action=http://192.168.0.110/ServerAction.ashx",
"Method=POST",
"Referer=http://192.168.0.110/AuthorizeMeetingRoom.aspx?RoomId=1&RoomName=阿萨1&RoomType=BizRoom&MeetingRoomId=1&MeetingRoomName=撒大厦的1&MeetingRoomType=AuthorizedMeetingRoom&UserId={xincan}&UserName=成员2&UserType=User&IsAuth=True&UserSex=Man#",
"Mode=HTTP",
ITEMDATA,
"Name=ACT", "Value=ExitMeet", ENDITEM,
"Name=RoomId", "Value=1", ENDITEM,
LAST);
lr_log_message("消息文本%d",lr_eval_string("{xincan}"));
return 0;
} |
|