|
6#
楼主 |
发表于 2009-6-7 15:36:16
|
只看该作者
Action()
{
lr_start_transaction("sy");
web_url("index.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/index.aspx",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
lr_end_transaction("sy", LR_AUTO);
lr_start_transaction("login");
web_url("s_login.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/Score/s_login.aspx?identity=2",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_concurrent_start(NULL);
web_reg_save_param("sid",
"LB=sid=",
"RB=>",
LAST);
web_submit_data("login_check.aspx",
"Action=http://www.mcampus.net:8080/JWProject/wap/Score/login_check.aspx?identity=2",
"Method=POST",
"RecContentType=text/vnd.wap.wml",
"Referer=",
"Mode=HTTP",
ITEMDATA,
"Name=userName", "Value=200836651012", ENDITEM,
"Name=password", "Value=123456", ENDITEM,
LAST);
web_concurrent_end(NULL);
web_url("stud.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/Score/stud.aspx?sid={sid}&select=1",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
lr_output_message("--->%s", lr_eval_string("{sid}"));
lr_end_transaction("login", LR_AUTO);
lr_start_transaction("cj");
web_url("query.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/Score/query.aspx?sid={sid}&select=3",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
lr_end_transaction("cj", LR_AUTO);
web_concurrent_start(NULL);
web_url("stud.aspx_3",
"URL=http://www.mcampus.net:8080/JWProject/wap/Score/stud.aspx?sid={sid}&select=3",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
lr_start_transaction("xk");
web_url("xuanke.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/xuanke.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
lr_output_message("====>",lr_eval_string("{sid}"));
web_url("school_logo.gif",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/picture/school_logo.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/index.aspx?sid={sid}",
LAST);
web_url("Xuanke.ico",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/picture/Xuanke.ico",
"Resource=1",
"RecContentType=image/x-icon",
"Referer=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/index.aspx?sid={sid}",
LAST);
web_url("Search.gif",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/picture/Search.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/index.aspx?sid={sid}",
LAST);
web_url("Search.ico",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/picture/Search.ico",
"Resource=1",
"RecContentType=image/x-icon",
"Referer=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/index.aspx?sid={sid}",
LAST);
web_url("tongxuanke.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/tongxuanke.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("morelessons.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/morelessons.aspx?c=0&sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("class.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/class.aspx?class_id=000003&sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("lesson_detail.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/lesson_detail.aspx?lesson_id=000003&sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("teacher.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/teacher.aspx?teacher_id=000001&sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("select.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/select.aspx?class_id=000003&sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("stu_infor.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/stu_infor.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("tuixuan.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/WAP_xuanke/tuixuan.aspx?class_id=000003&sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
lr_end_transaction("xk", LR_AUTO);
lr_start_transaction("kb");
web_url("select.aspx_2",
"URL=http://www.mcampus.net:8080/JWProject/wap/kebiao/select.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("displayclass.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/kebiao/displayclass.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_concurrent_end(NULL);
web_submit_data("displaybj.aspx",
"Action=http://www.mcampus.net:8080/JWProject/wap/kebiao/displaybj.aspx?pid=0&sid={sid}",
"Method=POST",
"RecContentType=text/vnd.wap.wml",
"Referer=",
"Mode=HTTP",
ITEMDATA,
"Name=cxxq", "Value=08092", ENDITEM,
"Name=bjbh", "Value=2005cs003", ENDITEM,
LAST);
web_url("displayfree.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/kebiao/displayfree.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_submit_data("displaykx.aspx",
"Action=http://www.mcampus.net:8080/JWProject/wap/kebiao/displaykx.aspx?pid=0&sid={sid}",
"Method=POST",
"RecContentType=text/vnd.wap.wml",
"Referer=",
"Mode=HTTP",
ITEMDATA,
"Name=cxxq", "Value=08092", ENDITEM,
"Name=jxl", "Value=", ENDITEM,
"Name=bjf", "Value=gt", ENDITEM,
"Name=rl", "Value=", ENDITEM,
"Name=sjd1", "Value=鏄熸湡涓\x80锛\x881锛\x8C2锛\x89", ENDITEM,
"Name=sjd2", "Value=0", ENDITEM,
"Name=sjd3", "Value=0", ENDITEM,
"Name=sjd4", "Value=0", ENDITEM,
LAST);
web_url("displaynone.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/kebiao/displaynone.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_submit_data("displayxz.aspx",
"Action=http://www.mcampus.net:8080/JWProject/wap/kebiao/displayxz.aspx?pid=0&sid={sid}",
"Method=POST",
"RecContentType=text/vnd.wap.wml",
"Referer=",
"Mode=HTTP",
ITEMDATA,
"Name=cxxq", "Value=08092", ENDITEM,
"Name=jxl", "Value=", ENDITEM,
"Name=bjf", "Value=gt", ENDITEM,
"Name=rl", "Value=", ENDITEM,
LAST);
web_url("displaytea.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/kebiao/displaytea.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_submit_data("displayjs.aspx",
"Action=http://www.mcampus.net:8080/JWProject/wap/kebiao/displayjs.aspx?pid=0&sid={sid}",
"Method=POST",
"RecContentType=text/vnd.wap.wml",
"Referer=",
"Mode=HTTP",
ITEMDATA,
"Name=cxxq", "Value=08092", ENDITEM,
"Name=jsbh", "Value=teacher001", ENDITEM,
LAST);
lr_end_transaction("kb", LR_AUTO);
web_concurrent_start(NULL);
web_url("index.aspx_2",
"URL=http://www.mcampus.net:8080/JWProject/wap/index.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
lr_start_transaction("qt");
web_url("news.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/news.aspx?id=10&sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("more.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/more.aspx?page=0&sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("index.aspx_3",
"URL=http://www.mcampus.net:8080/JWProject/wap/index.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
web_url("help.aspx",
"URL=http://www.mcampus.net:8080/JWProject/wap/help.aspx?sid={sid}",
"Resource=1",
"RecContentType=text/vnd.wap.wml",
"Referer=",
LAST);
lr_end_transaction("qt", LR_AUTO);
web_concurrent_end(NULL);
return 0;
} |
|