VuGen -- 手动关联步骤
Manual Correlation Steps:
1. Play back the script with 'Data returned by server' setting and determine whether the error is due to correlation
2. Indentify the first step that gets the dynamic value.
3.Determine the value to correlate. (找到所需要value的位置,前面和后面的内容)
4. Create a parameter for the dynamic value by adding a web_reg_save_param function to the script.
5. Parameterize the dynamic value in the script every time it occurs
6. Verify correct execution.
例如
web_reg_save_param("Example_cookie",
"LB/IC=*sn=",
"RB/IC=;",
"Ord=1",
"Search=headers",
"RelFrameId=1",
LAST);
web_url("...");
web_submit_data("..."
"Name=sn", "Value={Example_cookie}", ENDITEM,
"..."
);
1. Play back the script with 'Data returned by server' setting and determine whether the error is due to correlation
2. Indentify the first step that gets the dynamic value.
3.Determine the value to correlate. (找到所需要value的位置,前面和后面的内容)
4. Create a parameter for the dynamic value by adding a web_reg_save_param function to the script.
5. Parameterize the dynamic value in the script every time it occurs
6. Verify correct execution.
例如
web_reg_save_param("Example_cookie",
"LB/IC=*sn=",
"RB/IC=;",
"Ord=1",
"Search=headers",
"RelFrameId=1",
LAST);
web_url("...");
web_submit_data("..."
"Name=sn", "Value={Example_cookie}", ENDITEM,
"..."
);
浙公网安备 33010602011771号