TA的每日心情 | 奋斗 2017-4-10 10:13 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
登录
本帖最后由 rxain 于 2017-4-10 14:42 编辑
- ActionDL()
- {
- web_set_max_html_param_len("1024");
- web_url("picinfo.ini",
- "URL=http://se.360.cn/cloud/picinfo.ini",
- "TargetFrame=",
- "Resource=1",
- "RecContentType=application/octet-stream",
- "Referer=",
- "Snapshot=t1.inf",
- LAST);
- // web_add_cookie("CNZZDATA1254046670=1710710057-1491368334-%7C1491368334; DOMAIN=test.lndxpt.com");
- // web_add_cookie("UM_distinctid=15b3ca07cf7e7d-0106a39880d561-6d247a13-15f900-15b3ca07cf8deb; DOMAIN=test.lndxpt.com");
- /* Registering parameter(s) from source task id 7
- // {JSESSIONID3} = "jrt39txdore6"
- // */
- web_reg_save_param("JSESSIONID3",
- "LB/IC=jsessionid=",
- "RB/IC=\"",
- "Ord=1",
- "RelFrameId=1",
- "Search=body",
- LAST);
- web_url("lndxreg!toReg.do",
- "URL=http://test.lndxpt.com/lndx1/lndxreg!toReg.do?compCode=tjlndx",
- "TargetFrame=",
- "Resource=0",
- "RecContentType=text/html",
- "Referer=",
- "Snapshot=t2.inf",
- "Mode=HTML",
- EXTRARES,
- "URL=images/bg.png", "Referer=http://test.lndxpt.com/lndx1/lndxreg!toReg.do?compCode=tjlndx", ENDITEM,
- "URL=images/icon_x.png", "Referer=http://test.lndxpt.com/lndx1/lndxreg!toReg.do?compCode=tjlndx", ENDITEM,
- "URL=http://c.cnzz.com/core.php?web_id=1254046670&t=z", "Referer=http://test.lndxpt.com/lndx1/lndxreg!toReg.do?compCode=tjlndx", ENDITEM,
- "URL=http://z11.cnzz.com/stat.htm?id=1254046670&r=&lg=zh-cn&ntime=none&cnzz_eid=1710710057-1491368334-&showp=1600x900&t=%E5%A4%A9%E6%B4%A5%E5%B8%82%E8%80%81%E5%B9%B4%E4%BA%BA%E5%A4%A7%E5%AD%A6&umuuid=15b3ca07cf7e7d-0106a39880d561-6d247a13-15f900-15b3ca07cf8deb&h=1&rnd=1054212925", "Referer=http://test.lndxpt.com/lndx1/lndxreg!toReg.do?compCode=tjlndx", ENDITEM,
- LAST);
- lr_think_time(17);
- lr_start_transaction("登录");
- lr_rendezvous("登录");
- web_reg_save_param("sid",
- "LB=<a href=\"lndxreg!toleave.do?compCode=tjlndx&sid=",
- "RB=\">我要请假",
- "Ord=1",
- "RelFrameId=1",
- LAST);
- web_reg_save_param("sessionloginkey",
- "LB=sessionloginkey=",
- "RB=\">回首页</a>",
- "Ord=1",
- "RelFrameId=1",
- LAST);
- web_submit_data("lndxreg!checkCard.do;jsessionid=jrt39txdore6",
- "Action=http://test.lndxpt.com/lndx1/lndxreg!checkCard.do;jsessionid={JSESSIONID3}",
- "Method=POST",
- "TargetFrame=",
- "RecContentType=text/html",
- "Referer=http://test.lndxpt.com/lndx1/lndxreg!toReg.do?compCode=tjlndx",
- "Snapshot=t3.inf",
- "Mode=HTML",
- ITEMDATA,
- "Name=sname", "Value={SNAME}", ENDITEM,
- "Name=idCard", "Value={IDCARD}", ENDITEM,
- "Name=schoolname", "Value=天津市老年人大学", ENDITEM,
- "Name=compCode", "Value=tjlndx", ENDITEM,
- "Name=log", "Value=", ENDITEM,
- EXTRARES,
- "URL=images/nav_icon.png", ENDITEM,
- "URL=http://z11.cnzz.com/stat.htm?id=1254046670&r=http%3A%2F%2Ftest.lndxpt.com%2Flndx1%2Flndxreg!toReg.do%3FcompCode%3Dtjlndx&lg=zh-cn&ntime=1491368334&cnzz_eid=1710710057-1491368334-&showp=1600x900&t=%E5%A4%A9%E6%B4%A5%E5%B8%82%E8%80%81%E5%B9%B4%E4%BA%BA%E5%A4%A7%E5%AD%A6&umuuid=15b3ca07cf7e7d-0106a39880d561-6d247a13-15f900-15b3ca07cf8deb&h=1&rnd=518854306", ENDITEM,
- LAST);
- lr_end_transaction("登录", LR_AUTO);
- //lr_output_message("username = %s,idCard = %s", lr_eval_string("{SNAME}"), lr_eval_string("{IDCARD}"));
-
- return 0;
- }
复制代码
|
|