|
5#
楼主 |
发表于 2008-1-22 12:44:38
|
只看该作者
改成Resource=1 后就成这个 错误了, Resource=0全部改成 Resource=1也一样
/* -------------------------------------------------------------------------------
Script Title :
Script Description :
Recorder Version : 1196
------------------------------------------------------------------------------- */
vuser_init()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 3
// {JSESSIONID3} = "D7F8C098E4938EABCAD3A3D3FA977F45"
// */
web_reg_save_param("JSESSIONID3",
"LB/IC=jsessionid=",
"RB/IC=\"",
"Ord=1",
"Search=body",
"RelFrameId=1",
LAST);
web_url("logon.do",
"URL=http://localhost:8088/rebis/logon.do",
"Resource=1",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=jsp/include/blue-img/bon_bg.gif", ENDITEM,
LAST);
lr_think_time(4);
web_submit_form("logon.do;jsessionid=D7F8C098E4938EABCAD3A3D3FA977F45",
"Snapshot=t2.inf",
ITEMDATA,
"Name=username", "Value=de_pxzxxxyf", ENDITEM,
"Name=password", "Value=123", ENDITEM,
"Name=action", "Value=?", ENDITEM,
LAST);
web_url("Top.jsp",
"URL=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=培训中心信息员",
"Resource=0",
"RecContentType=text/html",
"Referer=http://localhost:8088/rebis/logon.do;jsessionid={JSESSIONID3}",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=../include/blue-img/bottom1.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Bottom.jsp", ENDITEM,
"Url=../include/blue-img/bottom2.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Bottom.jsp", ENDITEM,
"Url=../include/blue-img/top_01.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
"Url=../include/blue-img/top_02.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
"Url=../include/blue-img/top_03.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
"Url=../include/blue-img/top_04.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
"Url=../include/blue-img/top_05.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
"Url=../include/blue-img/top_06.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98", ENDITEM,
"Url=../include/blue-img/title--top-left.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
"Url=../include/blue-img/title-top.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
"Url=../include/blue-img/title--top-right.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
"Url=../sound/msg_rcv.mp3", "Referer=", ENDITEM,
LAST);
web_submit_data("Pop_upListenerAction.do",
"Action=http://localhost:8088/rebis/Pop_upListenerAction.do",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://localhost:8088/rebis/jsp/workplace/Top.jsp?username=鍩硅\xAE\xAD涓\xAD\xE5績淇\xA1\xE6伅鍛\x98",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
EXTRARES,
"Url=jsp/sound/msg_rd.mp3", "Referer=", ENDITEM,
"Url=jsp/sound/msg_rcv.mp3", "Referer=", ENDITEM,
"Url=jsp/sound/msg_new.mp3", "Referer=", ENDITEM,
"Url=jsp/include/blue-img/title-bg-left.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
"Url=jsp/include/blue-img/title-bg-right.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
"Url=jsp/include/blue-img/title--bottom-left.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
"Url=jsp/include/blue-img/title-bottom.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
"Url=jsp/include/blue-img/title--bottom-right.gif", "Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp", ENDITEM,
LAST);
web_url("Pop_upAction.do",
"URL=http://localhost:8088/rebis/Pop_upAction.do",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"Url=jsp/sound/msg_new.mp3", "Referer=", ENDITEM,
LAST);
web_submit_data("NoteletListenerAction.do",
"Action=http://localhost:8088/rebis/NoteletListenerAction.do",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
LAST);
lr_think_time(4);
web_url("selectTab.do",
"URL=http://localhost:8088/rebis/selectTab.do?workplaceName=培训审批&workplaceId=63",
"Resource=0",
"RecContentType=text/html",
"Referer=http://localhost:8088/rebis/jsp/workplace/main_new.jsp",
"Snapshot=t7.inf",
"Mode=HTML",
EXTRARES,
"Url=jsp/include/blue-img/navbg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/include/blue-img/navbg2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/image/treeView/ftv2folderopen.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/image/treeView/ftv2blank.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/image/treeView/table.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/image/treeView/ftv2mlastnode.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/image/treeView/ftv2lastnode.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/images/up.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/images/down.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/include/blue-img/bcltop2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/include/blue-img/bcbg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/include/blue-img/bctop2.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
"Url=jsp/include/blue-img/bon_bg.gif", "Referer=http://localhost:8088/rebis/selectTab.do?workplaceName=鍩硅\xAE\xAD瀹\xA1\xE6壒&workplaceId=63", ENDITEM,
LAST);
return 0;
} |
|