|
我录制了示例网站订票系统的进行三次迭代,用户名,密码,出发地,到达,位置都用参数形式。日志里面看到outboundFlight会产生三个不同的值:
010;723;
011;644;
012;684;
用自动关联会关联前面两个值,但是第三个关联不上去,
要怎么样才能把第三个012;684;也关联上:
web_reg_save_param_ex(
"ParamName=CorrelationParameter_1",
"LB=outboundFlight value=",
"RB=;10",
SEARCH_FILTERS,
"Scope=Body",
"RequestUrl=*/reservations.pl*",
LAST);
web_submit_form("reservations.pl_2",
"Snapshot=t5.inf",
ITEMDATA,
"Name=outboundFlight", "Value={CorrelationParameter_1};10/13/2011", ENDITEM,
"Name=reserveFlights.x", "Value=61", ENDITEM,
"Name=reserveFlights.y", "Value=5", ENDITEM,
LAST); |
|