|
脚本如下
/* Registering parameter(s) from source task id 78
// {CSRule_2_UID46} = "0100000000"
// */
web_reg_save_param("CSRule_2_UID46",
"LB=javascript:url(\\x5C'",
"RB=\\x5C",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
/* Registering parameter(s) from source task id 81
// {CSRule_2_UID56} = "0"
。。。。。。。。。
web_url("TabShow.action",
"URL=http://192.168.0.16:8080/NetReportTc/TabShow.action?mode=0",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.16:8080/NetReportTc/Login.action;jsessionid={CSRule_1_UID2}",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
。。。。。。。。
web_url("TableShow.action",
"URL=http://{CSRule_2_UID57}92.{CSRule_2_UID57}68.{CSRule_2_UID56}.{CSRule_2_UID57}6:8{CSRule_2_UID56}8{CSRule_2_UID56}/NetReportTc/TableShow.action?ReportID=FM&UnitID={CSRule_2_UID46}&Uid=2&mode={CSRule_2_UID56}",
"Resource=0",
"RecContentType=text/html",
"Referer=http://{CSRule_2_UID57}92.{CSRule_2_UID57}68.{CSRule_2_UID56}.{CSRule_2_UID57}6:8{CSRule_2_UID56}8{CSRule_2_UID56}/NetReportTc/TabShow.action?mode={CSRule_2_UID56}",
"Snapshot=t9.inf",
"Mode=HTML",
LAST);
lr_think_time(7);
web_url("TabShow.action_2",
"URL=http://{CSRule_2_UID57}92.{CSRule_2_UID57}68.{CSRule_2_UID56}.{CSRule_2_UID57}6:8{CSRule_2_UID56}8{CSRule_2_UID56}/NetReportTc/TabShow.action?UnitID={CSRule_2_UID46}&nowpos={CSRule_2_UID56}&mode={CSRule_2_UID56}&TaskID=YB2{CSRule_2_UID56}{CSRule_2_UID56}9",
"Resource=0",
"RecContentType=text/html",
"Referer=http://{CSRule_2_UID57}92.{CSRule_2_UID57}68.{CSRule_2_UID56}.{CSRule_2_UID57}6:8{CSRule_2_UID56}8{CSRule_2_UID56}/NetReportTc/Login.action;jsessionid={CSRule_1_UID2}",
"Snapshot=t10.inf",
"Mode=HTML",
LAST);
web_url("TableShow.action_2",
"URL=http://{CSRule_2_UID57}92.{CSRule_2_UID57}68.{CSRule_2_UID56}.{CSRule_2_UID57}6:8{CSRule_2_UID56}8{CSRule_2_UID56}/NetReportTc/TableShow.action?ReportID=FM&UnitID={CSRule_2_UID46}&Uid=2&mode={CSRule_2_UID56}",
"Resource=0",
"RecContentType=text/html",
"Referer=http://{CSRule_2_UID57}92.{CSRule_2_UID57}68.{CSRule_2_UID56}.{CSRule_2_UID57}6:8{CSRule_2_UID56}8{CSRule_2_UID56}/NetReportTc/TabShow.action?UnitID={CSRule_2_UID46}&nowpos={CSRule_2_UID56}&mode={CSRule_2_UID56}&TaskID=YB2{CSRule_2_UID56}{CSRule_2_UID56}9",
"Snapshot=t11.inf",
"Mode=HTML",
LAST);
web_url("TableShow.action_3",
"URL=http://{CSRule_2_UID57}92.{CSRule_2_UID57}68.{CSRule_2_UID56}.{CSRule_2_UID57}6:8{CSRule_2_UID56}8{CSRule_2_UID56}/NetReportTc/TableShow.action?ReportID=T33{CSRule_2_UID56}&UnitID={CSRule_2_UID46}&Uid=2&mode={CSRule_2_UID56}",
"Resource=0",
"RecContentType=text/html",
"Referer=http://{CSRule_2_UID57}92.{CSRule_2_UID57}68.{CSRule_2_UID56}.{CSRule_2_UID57}6:8{CSRule_2_UID56}8{CSRule_2_UID56}/NetReportTc/TabShow.action?UnitID={CSRule_2_UID46}&nowpos={CSRule_2_UID56}&mode={CSRule_2_UID56}&TaskID=YB2{CSRule_2_UID56}{CSRule_2_UID56}9",
"Snapshot=t12.inf",
"Mode=HTML",
LAST);
lr_start_transaction("baocun");
lr_end_transaction("baocun",LR_AUTO);
。。。。。。
return 0;
}
日志错误
Action.c(56): Error -26377: No match found for the requested parameter "CSRule_2_UID46". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(56): web_url("UnitTree.action") highest severity level was "ERROR", 12638 body bytes, 1953 header bytes, 160 chunking overhead bytes [MsgId: MMSG-26387]
Ending action Action. |
|