|
4#
楼主 |
发表于 2009-10-22 18:18:13
|
只看该作者
又渔岛新问题,脚本录制好后,想将其中的Dsid(服务端生成的)做个关联,可是怎么也关联不上,报错如下:
vuser_init.c(279): Error -26377: No match found for the requested parameter "DSId010". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 40960 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
vuser_init.c(279): Notify: Saving Parameter "DSId010 = "
vuser_init.c(279): web_concurrent_end highest severity level was "ERROR", 90306 body bytes, 1824 header bytes [MsgId: MMSG-26388]
部分脚本:
char outFlightParam[512];
web_reg_find("Text=????",
LAST);
web_url("index.htm",
"URL=http://192.168.100.233:8991/trms/index.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_url("history.css",
"URL=http://192.168.100.233:8991/trms/common/js/flex/history.css",
"Resource=1",
"RecContentType=text/css",
"Referer=http://192.168.100.233:8991/trms/index.htm",
"Snapshot=t2.inf",
LAST);
web_url("AC_OETags.js",
"URL=http://192.168.100.233:8991/trms/common/js/flex/AC_OETags.js",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/index.htm",
"Snapshot=t3.inf",
LAST);
web_url("history.js",
"URL=http://192.168.100.233:8991/trms/common/js/flex/history.js",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/index.htm",
"Snapshot=t4.inf",
LAST);
web_url("trmsForFlex.js",
"URL=http://192.168.100.233:8991/trms/common/js/rms/trmsForFlex.js",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/index.htm",
"Snapshot=t5.inf",
LAST);
web_concurrent_end(NULL);
web_add_header("x-flash-version",
"10,0,32,18");
web_set_max_html_param_len("40960");
web_concurrent_start(NULL);
web_url("trms.swf",
"URL=http://192.168.100.233:8991/trms/trms.swf",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/index.htm",
"Snapshot=t6.inf",
LAST);
web_add_header("x-flash-version",
"10,0,32,18");
web_url("mate-0.8.8.1.swf",
"URL=http://192.168.100.233:8991/trms/flex/libs/mate-0.8.8.1.swf",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/trms.swf",
"Snapshot=t7.inf",
LAST);
web_add_header("x-flash-version",
"10,0,32,18");
web_url("flexlib-bin-2.4.swf",
"URL=http://192.168.100.233:8991/trms/flex/libs/flexlib-bin-2.4.swf",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/trms.swf",
"Snapshot=t8.inf",
LAST);
web_add_header("x-flash-version",
"10,0,32,18");
web_url("flexmdi-1.1.swf",
"URL=http://192.168.100.233:8991/trms/flex/libs/flexmdi-1.1.swf",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/trms.swf",
"Snapshot=t9.inf",
LAST);
web_add_header("x-flash-version",
"10,0,32,18");
web_url("as3xls-1.0.swf",
"URL=http://192.168.100.233:8991/trms/flex/libs/as3xls-1.0.swf",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/trms.swf",
"Snapshot=t10.inf",
LAST);
web_add_header("x-flash-version",
"10,0,32,18");
web_url("osslib-6.5-SNAPSHOT.swf",
"URL=http://192.168.100.233:8991/trms/flex/libs/osslib-6.5-SNAPSHOT.swf",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/trms.swf",
"Snapshot=t11.inf",
LAST);
web_add_header("x-flash-version",
"10,0,32,18");
web_url("rmslib-6.5-20091012.062116-81.swf",
"URL=http://192.168.100.233:8991/trms/flex/libs/rmslib-6.5-20091012.062116-81.swf",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/trms.swf",
"Snapshot=t12.inf",
LAST);
web_add_header("x-flash-version",
"10,0,32,18");
web_url("gislib-6.5-20091012.061014-62.swf",
"URL=http://192.168.100.233:8991/trms/flex/libs/gislib-6.5-20091012.061014-62.swf",
"Resource=1",
"Referer=http://192.168.100.233:8991/trms/trms.swf",
"Snapshot=t13.inf",
LAST);
web_concurrent_end(NULL);
lr_think_time(5);
/* web_reg_save_param("jsessionid",
"LB/IC=JSESSIONID",
// "RB/IC=!-",
"Ord=1",
"Search=All",
"RelFrameId=1",
"SaveLen=52",
LAST);
*/
web_reg_save_param("DSId010",
"LB/IC=Dsid\x06I",
"RB/IC=\x05",
"Ord=1",
"Search=Body",
"RelFrameID=1",
LAST);
web_add_auto_header("x-flash-version", "10,0,32,18");
flex_amf_call("AMF3_call",
"Gateway=http://192.168.100.233:8991/trms/messagebroker/amf",
"Snapshot=t14.inf",
MESSAGE,
"Method=null",
"TargetObjectId=/1",
BEGIN_ARGUMENTS,
"<AMF3><object-externalizable-custom>"
"<flex.messaging.messages.CommandMessage>\n <destination></destination"
">\n <messageId>F8D09A99-217E-121E-85AA-751364F45D23</messageId>\n "
"<timestamp>0</timestamp>\n <timeToLive>0</timeToLive>\n <headers>\n "
" <entry>\n <string>DSId</string>\n <string>nil</string>\n "
" </entry>\n <entry>\n <string>DSMessagingVersion</string>\n "
" <int>1</int>\n </entry>\n </headers>\n <body class=\""
"flex.messaging.io.amf.ASObject\" serialization=\"custom\">\n "
"<unserializable-parents/>\n <map>\n <default>\n "
"<loadFactor>0.75</loadFactor>\n <threshold>12</threshold>\n "
" </default>\n <int>16</int>\n <int>0</int>\n </map>\n "
" <flex.messaging.io.amf.ASObject>\n <default>\n "
"<inHashCode>false</inHashCode>\n <inToString>false</inToString"
">\n </default>\n </flex.messaging.io.amf.ASObject>\n </body>"
"\n <correlationId></correlationId>\n <operation>5</operation>\n</"
"flex.messaging.messages.CommandMessage></object-externalizable-custom>"
"</AMF3>",
END_ARGUMENTS,
LAST);
flex_amf_call("AMF3_call_1",
"Gateway=http://192.168.100.233:8991/trms/messagebroker/amf;jsessionid="
"QTVMKp5CVfK8ydtDJ3TS8XL21nlfS7h2nXYMBmZGhcyYqNJc1yGs!-518624695",
"Snapshot=t15.inf",
MESSAGE,
"Method=null",
"TargetObjectId=/1",
BEGIN_ARGUMENTS,
"<AMF3><object-externalizable-custom>"
"<flex.messaging.messages.RemotingMessage>\n <destination"
">sysLocalCacheEventDest</destination>\n <messageId"
">8473460E-7601-B09A-F2B8-751364D5B5D4</messageId>\n <timestamp>0</"
"timestamp>\n <timeToLive>0</timeToLive>\n <headers>\n <entry>\n "
" <string>DSId</string>\n <string"
">{DSId010}</string>\n </entry>\n </"
"headers>\n <operation>invoke</operation>\n <parameters>\n <null/"
">\n <string>findValidSysLocalCacheEvent</string>\n </parameters>\n"
"</flex.messaging.messages.RemotingMessage></"
"object-externalizable-custom></AMF3>",
END_ARGUMENTS,
LAST); |
|