//定義返回結果是否正確變量
int result;
//取得IMSI號碼
char *V_imsi=lr_eval_string ("{IMSI}");
//設置頁面接收最大的字節數,該設置應大于服務器返回內容的大小
web_set_max_html_param_len("20000");
//取得服務器返回內容
web_reg_save_param("filecontent",
"LB=",
"RB=",
"Search=Body",
LAST);
//發送請求
web_submit_data("login",
"Action=http://host:port/autonavit/search?cmd=clientlogin&termver=5&termcode=30001&termdbver=3 ",
"Method=POST",
"RecContentType=text/html",
"Referer=",
"Snapshot=t9.inf",
"Mode=HTTP",
ITEMDATA,
延伸閱讀
文章來源于領測軟件測試網 http://www.kjueaiud.com/