TA的每日心情 | 奋斗 2014-12-9 09:46 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
2#
楼主 |
发表于 2009-4-16 16:24:38
|
只看该作者
脚本如下,在login事物中,只录制到一个web_add_auto_header("x-flash-version","10,0,22,87"),那提交用户名和密码信息是在什么地方呢?
哪位朋友指导我一下呢,谢谢了!
Action()
{
web_url("main.html",
"URL=http://10.180.222.111/pmm/flex/main.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_url("AC_OETags.js",
"URL=http://10.180.222.111/pmm/flex/AC_OETags.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://10.180.222.111/pmm/flex/main.html",
"Snapshot=t2.inf",
LAST);
web_url("history.css",
"URL=http://10.180.222.111/pmm/flex/history/history.css",
"Resource=1",
"RecContentType=text/css",
"Referer=http://10.180.222.111/pmm/flex/main.html",
"Snapshot=t3.inf",
LAST);
web_url("history.js",
"URL=http://10.180.222.111/pmm/flex/history/history.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://10.180.222.111/pmm/flex/main.html",
"Snapshot=t4.inf",
LAST);
web_concurrent_end(NULL);
web_add_header("x-flash-version",
"10,0,22,87");
lr_think_time(5);
web_url("main.swf",
"URL=http://10.180.222.111/pmm/flex/main.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://10.180.222.111/pmm/flex/main.html",
"Snapshot=t5.inf",
LAST);
web_url("historyFrame.html",
"URL=http://10.180.222.111/pmm/flex/history/historyFrame.html?",
"Resource=0",
"RecContentType=text/html",
"Referer=http://10.180.222.111/pmm/flex/main.html",
"Snapshot=t6.inf",
"Mode=HTTP",
LAST);
web_url("favicon.ico",
"URL=http://10.180.222.111/favicon.ico",
"Resource=1",
"Referer=",
"Snapshot=t7.inf",
LAST);
lr_start_transaction("login");
web_add_auto_header("x-flash-version",
"10,0,22,87");
lr_end_transaction("login", LR_AUTO);
lr_start_transaction("logout");
lr_end_transaction("logout",LR_AUTO);
return 0;
} |
|