|
Action()
{
lr_think_time(17);
lr_rendezvous("start_go");
lr_start_transaction("start");
web_submit_data("login.do",
"Action=http://10.20.101.7:9081/GLQZ/login.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.20.101.7:9081/GLQZ/",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=userName", "Value={name_1}", ENDITEM,
"Name=passWord", "Value=111111", ENDITEM,
EXTRARES,
"Url=images/mu01.jpg", "Referer=http://10.20.101.7:9081/GLQZ/page/frame/menu.jsp", ENDITEM,
"Url=images/c6.gif", "Referer=http://10.20.101.7:9081/GLQZ/page/frame/tree.jsp", ENDITEM,
"Url=images/news_logo_01.gif", "Referer=http://10.20.101.7:9081/GLQZ/page/frame/tree.jsp", ENDITEM,
LAST);
lr_end_transaction("start", LR_AUTO);
lr_log_message("用户名, %s",lr_eval_string("{name_1}"));
return 0;
} |
|