TA的每日心情 | 郁闷 2014-12-1 09:32 |
---|
签到天数: 2 天 连续签到: 1 天 [LV.1]测试小兵
|
Action()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 11
// {PeopleSoftJSessionID2} = "86FCDD8C58123AC80CD0CAA2E3B62A39"
// */
web_reg_save_param("PeopleSoftJSessionID2",
"LB/IC=jsessionid=",
"RB/IC=?",
"Ord=1",
"Search=Body",
LAST);
web_url("itsm",
"URL=http://211.149.226.37:8080/itsm",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_submit_data("loginAnn.action",
"Action=http://211.149.226.37:8080/portal//loginAnn.action?callbackparam=success_jsonpCallback",
"Method=POST",
"RecContentType=text/x-json",
"Referer=http://211.149.226.37:8080/cas/login?service=http%3A%2F%2F211.149.226.37%3A8080%2Fitsm",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
LAST);
web_submit_data("login;jsessionid=86FCDD8C58123AC80CD0CAA2E3B62A39",
"Action=http://211.149.226.37:8080/cas/login;jsessionid={PeopleSoftJSessionID2}?service=http%3A%2F%2F211.149.226.37%3A8080%2Fitsm",
"Method=POST",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/cas/login?service=http%3A%2F%2F211.149.226.37%3A8080%2Fitsm",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=root", ENDITEM,
"Name=password", "Value=1", ENDITEM,
"Name=submit", "Value=鐧诲綍", ENDITEM,
"Name=lt", "Value=LT-3-amhqFA9Rv63bd3qlBmJ9cTLGsXgNvM-cas01.example.org", ENDITEM,
"Name=execution", "Value=e1s1", ENDITEM,
"Name=_eventId", "Value=submit", ENDITEM,
LAST);
lr_start_transaction("首页加载");
web_url("My97DatePicker.htm",
"URL=http://211.149.226.37:8080/js/DatePicker/My97DatePicker.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/itsm",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=skin/default/datepicker.css", ENDITEM,
"Url=lang/zh-cn.js", ENDITEM,
"Url=skin/default/img.gif", "Referer=http://211.149.226.37:8080/js/DatePicker/skin/default/datepicker.css", ENDITEM,
LAST);
web_url("Home.do",
"URL=http://211.149.226.37:8080/Home.do",
"Resource=0",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/itsm",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"Url=/img/sprite1.png", "Referer=http://211.149.226.37:8080/css/style_index.css", ENDITEM,
"Url=/api/event/calendarQuery?start=1414339200&end=1417968000&_=1416370938960", ENDITEM,
"Url=/images/loading.gif", ENDITEM,
LAST);
web_submit_data("Home!getCurDoneList.do",
"Action=http://211.149.226.37:8080/Home!getCurDoneList.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/Home.do",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
LAST);
web_submit_data("Home!getKnowledgeList.do",
"Action=http://211.149.226.37:8080/Home!getKnowledgeList.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/Home.do",
"Snapshot=t7.inf",
"Mode=HTML",
ITEMDATA,
LAST);
web_submit_data("Home!getCount.do",
"Action=http://211.149.226.37:8080/Home!getCount.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/Home.do",
"Snapshot=t8.inf",
"Mode=HTML",
ITEMDATA,
LAST);
web_submit_data("Home!getToDoItemList.do",
"Action=http://211.149.226.37:8080/Home!getToDoItemList.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/Home.do",
"Snapshot=t9.inf",
"Mode=HTML",
ITEMDATA,
LAST);
lr_end_transaction("首页加载",LR_AUTO);
lr_start_transaction("切换tab");
lr_think_time(6);
web_url("MainFrame.do",
"URL=http://211.149.226.37:8080/MainFrame.do?menuId=4028eb163d426cec013d42734f010002",
"Resource=0",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/itsm",
"Snapshot=t10.inf",
"Mode=HTML",
EXTRARES,
"Url=/images/commons/middle_bg.png", "Referer=http://211.149.226.37:8080/Main/Control.jsp", ENDITEM,
LAST);
web_submit_data("Left!menu.do",
"Action=http://211.149.226.37:8080/Left!menu.do?parentId=4028eb163d426cec013d42734f010002",
"Method=POST",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/itsm",
"Snapshot=t11.inf",
"Mode=HTML",
ITEMDATA,
EXTRARES,
"Url=/LeftTree!list.do?parentId=4028eb163d426cec013d42734f010002&deep=2&random=0.529823739162709&_=1416370956738", "Referer=http://211.149.226.37:8080/LeftTree.do?parentId=4028eb163d426cec013d42734f010002", ENDITEM,
"Url=/css/zTreeStyle/img/zTreeStandard.png", "Referer=http://211.149.226.37:8080/css/zTreeStyle/zTreeStyle.css", ENDITEM,
"Url=/css/zTreeStyle/img/line_conn.gif", "Referer=http://211.149.226.37:8080/css/zTreeStyle/zTreeStyle.css", ENDITEM,
LAST);
lr_end_transaction("切换tab",LR_AUTO);
lr_start_transaction("打开报表");
web_add_cookie("JSESSIONID=7E0F95B63F971ECB359FCB252AD3DCEB; DOMAIN=211.149.226.37");
web_url("report_showreport.action",
"URL=http://211.149.226.37:8080/portal/background/report_showreport.action?id=14",
"Resource=0",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/LeftTree.do?parentId=4028eb163d426cec013d42734f010002",
"Snapshot=t12.inf",
"Mode=HTML",
EXTRARES,
"Url=../js/echarts/chart/bar.js", "Referer=http://211.149.226.37:8080/portal/background/report_showreport.action?id=14", ENDITEM,
"Url=../js/echarts/chart/pie.js", "Referer=http://211.149.226.37:8080/portal/background/report_showreport.action?id=14", ENDITEM,
"Url=../js/echarts/chart/line.js", "Referer=http://211.149.226.37:8080/portal/background/report_showreport.action?id=14", ENDITEM,
"Url=../js/showloading/img/loading.gif", "Referer=http://211.149.226.37:8080/portal/js/showloading/showLoading.css", ENDITEM,
"Url=../js/echarts/chart/gauge.js", "Referer=http://211.149.226.37:8080/portal/background/report_showreport.action?id=14", ENDITEM,
LAST);
web_custom_request("display_displayReport.action",
"URL=http://211.149.226.37:8080/portal/background/display_displayReport.action?displayid=14",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://211.149.226.37:8080/portal/background/report_showreport.action?id=14",
"Snapshot=t13.inf",
"Mode=HTML",
"EncType=",
LAST);
lr_end_transaction("打开报表",LR_AUTO);
return 0;
}
报错:
Action.c(17): Error -26377: No match found for the requested parameter "PeopleSoftJSessionID2". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 10000 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(17): Error -26374: The above "not found" error(s) may be explained by header and body byte counts being 0 and 0, respectively. [MsgId: MERR-26374]
Action.c(17): web_url("itsm") highest severity level was "ERROR", 0 body bytes, 0 header bytes |
|