loadrunner关联实例

脚本如下:

vsuer_init 部分:略

action部分如下:

Action()
{

web_concurrent_start(NULL);

web_url("pre.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordSelect/images/pre.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t113.inf", 
   LAST);

web_url("next.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordSelect/images/next.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t114.inf", 
   LAST);

web_url("btn_a_bg.gif_2", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordCss/images/btn_a_bg.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t115.inf", 
   LAST);

web_url("btn_a_bg.gif_3", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordCss/images/btn_a_bg.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t116.inf", 
   LAST);

web_url("box_sty_bg.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordToolTips/images/box_sty_bg.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t117.inf", 
   LAST);

web_concurrent_end(NULL)

--------------------------------------------

1. loadrunner脚本编辑最关键是建关联,那么关联前首先要先找到该脚本中有哪些是变值,也就是跟数据

交互时主键,准确找到主键有两种方法,1》找相关开发问呗。2》录制两个一样的脚本,然后两个脚本比对,找到不同处,一般这个值都是数值,每次脚本运行后,该值都会变,是个唯一的值。

找到主键后,要建关键,左边界与右边界值,这个值可以到loadrunner里生成的日志中查找,然后取该值的左边值:(P个S: 关键脚本中引号是结束符,假设左边界处有引号,那么在引号前要用\转换)

如:activityid\":{\"value\":\"",

找到边界值后,最后考虑该关联脚本摆放的位置,

这时要查看脚本的树目录菜单,查找第一次出现变值所在的custom ,一般交互性脚本都存放在custom Request:下。找到后,再退回到脚本页面找到custom Request后面带的名称前放入关联代码

   lr_output_message("========= activityid ========== %s", lr_eval_string("{activityid}"));

---------------------------

脚本回放后,输入出关联信息。用来检测关联是否成功。

--------------------------------------------

web_set_max_html_param_len("2048");

    /*相关参数参数化
    activityid

*/
web_reg_save_param("activityid", 
   "LB/IC=activityid\":{\"value\":\"", 
   "RB/IC=\"", 
   "Ord=1", 
   "Search=Body", 
   "RelFrameId=1", 
   LAST);

   web_reg_save_param("processid", 
   "LB/IC=processid\":{\"value\":\"", 
   "RB/IC=\"", 
   "Ord=2", 
   "Search=Body", 
   "RelFrameId=1", 
   LAST);
web_reg_save_param("casebh", 
   "LB/IC=casebh\":{\"value\":\"", 
   "RB/IC=\"", 
   "Ord=2", 
   "Search=Body", 
   "RelFrameId=1", 
   LAST);

web_custom_request("ajax.sword_3", 
   "URL=http://192.168.1.176/ajax.sword?r=0.4799302393238753", 
   "Method=POST", 
   "Resource=0", 
   "RecContentType=text/json", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t118.inf", 
   "Mode=HTTP", 
   "EncType=application/x-www-form-urlencoded; charset=utf-8", 
   "Body=postData={\"tid\":\"YwlzTaskBLH_queryTaskList\",\"ctrl\":\"\",\"page\":\"\",\"data\":[{\"name\":\"type\",\"value\":\"todo\",\"sword\":\"attr\"},{\"beanname\":\"com.zrar.main.ywcl.vo.YwlzVO\",\"sword\":\"SwordForm\",\"name\":\"ywlz\",\"data\":{\"kssj\":{\"value\":\"\"},\"jssj\":{\"value\":\"\"},\"caseywlb\":{\"value\":\"\"},\"caseywly\":{\"value\":\"\"},\"casebh\":{\"value\":\"\"},\"caseywnr\":{\"value\":\"{zxnr}\"}}}]}", 
   LAST);

   lr_output_message("========= activityid ========== %s", lr_eval_string("{activityid}"));
   lr_output_message("========= casebh ========== %s", lr_eval_string("{casebh}"));
   lr_output_message("========= processid ========== %s", lr_eval_string("{processid}"));


web_custom_request("ajax.sword_4", 
   "URL=http://192.168.1.176/ajax.sword?r=0.19058050495075351", 
   "Method=POST", 
   "Resource=0", 
   "RecContentType=text/json", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t119.inf", 
   "Mode=HTTP", 
   "EncType=application/x-www-form-urlencoded; charset=utf-8", 
   "Body=postData={\"tid\":\"YwlzTaskBLH_getActivityUrl?rwlb=todo#*^@^*#id={casebh}\",\"ctrl\":null,\"page\":null,\"data\":[]}", 
   LAST);

web_url("sword_4", 
   "URL=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   "Resource=0", 
   "RecContentType=text/html", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t120.inf", 
   "Mode=HTTP", 
   LAST);

web_url("ywcl.js", 
   "URL=http://192.168.1.176/zrarjs/main/ywcl/ywcl.js", 
   "Resource=1", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   "Snapshot=t121.inf", 
   LAST);

web_concurrent_start(NULL);

web_url("table_title_bg.png", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordGrid/images/table_title_bg.png", 
   "Resource=1", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   "Snapshot=t122.inf", 
   LAST);

web_url("submit.css_4", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordSubmit/submit.css", 
   "Resource=1", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   LAST);

web_concurrent_end(NULL);

lr_think_time(23);

web_custom_request("ajax.sword_5", 
   "URL=http://192.168.1.176/ajax.sword?r=0.8305945762254352", 
   "Method=POST", 
   "Resource=0", 
   "RecContentType=text/json", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   "Snapshot=t123.inf", 
   "Mode=HTTP", 
   "EncType=application/x-www-form-urlencoded; charset=utf-8", 
   "BodyBinary=postData={\"tid\":\"YwlzTaskBLH_acceptTask\",\"ctrl\":\"\",\"page\":\"\",\"data\":[{\"beanname\":null,\"sword\":\"SwordForm\",\"name\":\"zxcl\",\"data\":{\"caseclfs\":{\"value\":\"\"},\"casedqcljg\":{\"value\":\"\"},\"casedqclr\":{\"value\":\"\"},\"caseclyj\":{\"value\":\"\"},\"clrxm\":{\"value\":\"\"}}},{\"beanname\":\"com.zrar.main.ywcl.vo.YwclCaseVO\",\"sword\":\"SwordForm\",\"name\":\"ywclCaseVOFormId\",\"data\":{\"casebh\":{\"value\":\"{casebh}\"},\"casesfbm\":{\""
   "value\":\"0\"},\"casejjcd\":{\"value\":\"0803\"},\"caseblqx\":{\"value\":\"2010-08-12\"},\"caseywnr\":{\"value\":\"050娴佺\xA8\x8B鎺ㄩ\\x80佹祴璇\\x95\"},\"lfsj\":{\"value\":null},\"casethkssj\":{\"value\":\"2010-08-06 20:09:18\"},\"casethjssj\":{\"value\":\"\"},\"ldhm_view\":{\"value\":\"\"},\"casewjm\":{\"value\":\"褰曢煶鏂囦欢鍚\\x8D\"},\"ldrxm_view\":{\"value\":\"娴嬭瘯涓\\x80\"},\"ldrdh_view\":{\"value\":\"13957163960\"},\"ldrdz_view\":{\"value\":\"\"},\"ldrsfz_view\":{\"value\":\"\"},\""
   "ldrdw_view\":{\"value\":\"\"},\"ldrdzyx_view\":{\"value\":\"\"},\"casedjrxm\":{\"value\":\"050\"},\"casedjrq\":{\"value\":\"2010-08-06 20:10:32\"},\"caseywlb_view\":{\"value\":\"鍜ㄨ\xAF\xA2\"},\"caseywly_view\":{\"value\":\"鐢佃瘽\"},\"0301ywlx_view\":{\"value\":\"鍔炵\xA8\x8E娴佺\xA8\x8B->绋庡姟鐧昏\xAE\xB0->鍙樻洿绋庡姟鐧昏\xAE\xB0\"},\"0303ywlx\":{\"value\":\"12\"},\"0303xm\":{\"value\":null},\"0303dw\":{\"value\":null},\"0303dh\":{\"value\":null},\"0304ywlx\":{\"value\":\"17\"},\"0304xm\":{\""
   "value\":null},\"0304dw\":{\"value\":null},\"0304dh\":{\"value\":null},\"0305ywlx\":{\"value\":\"17\"},\"0305xm\":{\"value\":null},\"0305dw\":{\"value\":null},\"0305dh\":{\"value\":null},\"0306ywlx\":{\"value\":\"16\"},\"0307ywlx\":{\"value\":\"\"},\"caserwlb\":{\"value\":\"todo\"},\"processid\":{\"value\":\"{processid}\"},\"activityid\":{\"value\":\"{activityid}\"},\"casesfzc\":{\"value\":\"0\"},\"casezt\":{\"value\":\"0207\"},\""
   "casewfid\":{\"value\":\"{processid}\"},\"lastclry\":{\"value\":\"\"},\"bbh\":{\"value\":\"0\"},\"activitydefinitionid\":{\"value\":\"activity_gjzx\"},\"caselzfx\":{\"value\":\"\"},\"caseywlx\":{\"value\":\"100000000300102\"},\"caseywlx_view\":{\"value\":\"鍔炵\xA8\x8E娴佺\xA8\x8B->绋庡姟鐧昏\xAE\xB0->鍙樻洿绋庡姟鐧昏\xAE\xB0\"},\"casebjbbtsrxm\":{\"value\":\"\"},\"casebjbbtsrdw\":{\"value\":\"\"},\"casebjbbtsrdh\":{\"value\":\"\"},\"caseldhm\":{\"value\":\"\"},\"caseldrxm\""
   ":{\"value\":\"娴嬭瘯涓\\x80\"},\"caseldrdh\":{\"value\":\"13957163960\"},\"caseldrdz\":{\"value\":\"\"},\"caseldrsfz\":{\"value\":\"\"},\"caseldrdw\":{\"value\":\"\"},\"caseldrdzyx\":{\"value\":\"\"},\"caseywlb\":{\"value\":\"0301\"},\"caseywly\":{\"value\":\"0601\"}}}]}", 
   LAST);

  

web_concurrent_start(NULL);

web_url("title_bg_right.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/title_bg_right.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t124.inf", 
   LAST);

web_url("title_bg_left.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/title_bg_left.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t125.inf", 
   LAST);

web_url("title_bg_center.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/title_bg_center.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t126.inf", 
   LAST);

web_url("ico_close.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/ico_close.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t127.inf", 
   LAST);

web_url("win_r.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/win_r.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t128.inf", 
   LAST);

web_url("win_l.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/win_l.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t129.inf", 
   LAST);

web_url("win_lb.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/win_lb.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t130.inf", 
   LAST);

web_url("info.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/info.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t131.inf", 
   LAST);

web_url("win_rb.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/win_rb.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t132.inf", 
   LAST);

web_url("win_b.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/win_b.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t133.inf", 
   LAST);

web_url("btn_bg.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordPopUpBox/images/btn_bg.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=LoginCtrl_main&mainPage=zrarpages/main/frame2.jsp&jstlTree=true", 
   "Snapshot=t134.inf", 
   LAST);

web_concurrent_end(NULL);

lr_think_time(8);

web_custom_request("ajax.sword_6", 
   "URL=http://192.168.1.176/ajax.sword?r=0.09559681076251275", 
   "Method=POST", 
   "Resource=0", 
   "RecContentType=text/json", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   "Snapshot=t135.inf", 
   "Mode=HTTP", 
   "EncType=application/x-www-form-urlencoded; charset=utf-8", 
   "Body=postData={\"tid\":\"YwlzTaskBLH_getReceivedUnitSelect\",\"ctrl\":\"\",\"page\":\"\",\"data\":[{\"name\":\"ywlb\",\"value\":\"0301\",\"sword\":\"attr\"},{\"name\":\"caseclfs\",\"value\":\"gotoActivity_clr\",\"sword\":\"attr\"},{\"name\":\"casebh\",\"value\":\"{casebh}\",\"sword\":\"attr\"},{\"name\":\"activityid\",\"value\":\"{activityid}\",\"sword\":\"attr\"}]}", 
   LAST);

web_custom_request("ajax.sword_7", 
   "URL=http://192.168.1.176/ajax.sword?r=0.9147414462389489", 
   "Method=POST", 
   "Resource=0", 
   "RecContentType=text/json", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   "Snapshot=t136.inf", 
   "Mode=HTTP", 
   "EncType=application/x-www-form-urlencoded; charset=utf-8", 
   "Body=postData={\"tid\":\"YwlzTaskBLH_getReceivedUserSelect\",\"ctrl\":\"\",\"page\":\"\",\"data\":[{\"name\":\"ywlb\",\"value\":\"0301\",\"sword\":\"attr\"},{\"name\":\"caseclfs\",\"value\":\"gotoActivity_clr\",\"sword\":\"attr\"},{\"name\":\"casebh\",\"value\":\"{casebh}\",\"sword\":\"attr\"},{\"name\":\"casedqcljg\",\"value\":\"\",\"sword\":\"attr\"},{\"name\":\"caselzfx\",\"value\":\"1\",\"sword\":\"attr\"},{\"name\":\"activityid\",\"value\":\""
   "{activityid}\",\"sword\":\"attr\"}]}", 
   LAST);

lr_start_transaction("提交");

lr_think_time(20);

web_custom_request("ajax.sword_8", 
   "URL=http://192.168.1.176/ajax.sword?r=0.2526650202596566", 
   "Method=POST", 
   "Resource=0", 
   "RecContentType=text/json", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   "Snapshot=t137.inf", 
   "Mode=HTTP", 
   "EncType=application/x-www-form-urlencoded; charset=utf-8", 
   "BodyBinary=postData={\"tid\":\"YwlzTaskBLH_ywlzUpdate\",\"ctrl\":\"\",\"page\":\"\",\"data\":[{\"beanname\":null,\"sword\":\"SwordForm\",\"name\":\"zxcl\",\"data\":{\"caseclfs\":{\"value\":\"gotoActivity_clr\"},\"casedqcljg\":{\"value\":\"\"},\"casedqclr\":{\"value\":\"\"},\"caseclyj\":{\"value\":\"050鎰忚\xA7\x81\"},\"clrxm\":{\"value\":\"鍏ㄩ\\x80\\x89\"}}},{\"beanname\":\"com.zrar.main.ywcl.vo.YwclCaseVO\",\"sword\":\"SwordForm\",\"name\":\"ywclCaseVOFormId\",\"data\":{\"casebh\":{\"value\":\""
   "{casebh}\"},\"casesfbm\":{\"value\":\"0\"},\"casejjcd\":{\"value\":\"0803\"},\"caseblqx\":{\"value\":\"2010-08-12\"},\"caseywnr\":{\"value\":\"050娴佺\xA8\x8B鎺ㄩ\\x80佹祴璇\\x95\"},\"lfsj\":{\"value\":null},\"casethkssj\":{\"value\":\"2010-08-06 20:09:18\"},\"casethjssj\":{\"value\":\"\"},\"ldhm_view\":{\"value\":\"\"},\"casewjm\":{\"value\":\"褰曢煶鏂囦欢鍚\\x8D\"},\"ldrxm_view\":{\"value\":\"娴嬭瘯涓\\x80\"},\"ldrdh_view\":{\"value\":\"13957163960\"},\"ldrdz_view\":{\"value\":\"\"}"
   ",\"ldrsfz_view\":{\"value\":\"\"},\"ldrdw_view\":{\"value\":\"\"},\"ldrdzyx_view\":{\"value\":\"\"},\"casedjrxm\":{\"value\":\"050\"},\"casedjrq\":{\"value\":\"2010-08-06 20:10:32\"},\"caseywlb_view\":{\"value\":\"鍜ㄨ\xAF\xA2\"},\"caseywly_view\":{\"value\":\"鐢佃瘽\"},\"0301ywlx_view\":{\"value\":\"鍔炵\xA8\x8E娴佺\xA8\x8B->绋庡姟鐧昏\xAE\xB0->鍙樻洿绋庡姟鐧昏\xAE\xB0\"},\"0303ywlx\":{\"value\":\"12\"},\"0303xm\":{\"value\":null},\"0303dw\":{\"value\":null},\"0303dh\":{\"value\":null},\""
   "0304ywlx\":{\"value\":\"17\"},\"0304xm\":{\"value\":null},\"0304dw\":{\"value\":null},\"0304dh\":{\"value\":null},\"0305ywlx\":{\"value\":\"17\"},\"0305xm\":{\"value\":null},\"0305dw\":{\"value\":null},\"0305dh\":{\"value\":null},\"0306ywlx\":{\"value\":\"16\"},\"0307ywlx\":{\"value\":\"\"},\"caserwlb\":{\"value\":\"todo\"},\"processid\":{\"value\":\"{processid}\"},\"activityid\":{\"value\":\"{activityid}\"},\"casesfzc\":{\""
   "value\":\"0\"},\"casezt\":{\"value\":\"0207\"},\"casewfid\":{\"value\":\"{processid}\"},\"lastclry\":{\"value\":\"\"},\"bbh\":{\"value\":\"1\"},\"activitydefinitionid\":{\"value\":\"activity_gjzx\"},\"caselzfx\":{\"value\":\"1\"},\"caseywlx\":{\"value\":\"100000000300102\"},\"caseywlx_view\":{\"value\":\"鍔炵\xA8\x8E娴佺\xA8\x8B->绋庡姟鐧昏\xAE\xB0->鍙樻洿绋庡姟鐧昏\xAE\xB0\"},\"casebjbbtsrxm\":{\"value\":\"\"},\"casebjbbtsrdw\":{\"value\":\"\"},\"casebjbbtsrdh\":{\"value\""
   ":\"\"},\"caseldhm\":{\"value\":\"\"},\"caseldrxm\":{\"value\":\"娴嬭瘯涓\\x80\"},\"caseldrdh\":{\"value\":\"13957163960\"},\"caseldrdz\":{\"value\":\"\"},\"caseldrsfz\":{\"value\":\"\"},\"caseldrdw\":{\"value\":\"\"},\"caseldrdzyx\":{\"value\":\"\"},\"caseywlb\":{\"value\":\"0301\"},\"caseywly\":{\"value\":\"0601\"}}}]}", 
   LAST);

web_custom_request("ajax.sword_9", 
   "URL=http://192.168.1.176/ajax.sword?r=0.8804458808014341", 
   "Method=POST", 
   "Resource=0", 
   "RecContentType=text/json", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_gjzx.jsp?r=0.33552378091552565", 
   "Snapshot=t138.inf", 
   "Mode=HTTP", 
   "EncType=application/x-www-form-urlencoded; charset=utf-8", 
   "Body=postData={\"tid\":\"YwlzTaskBLH_getTaskList?type=todo\",\"ctrl\":null,\"page\":null,\"data\":[]}", 
   LAST);

web_url("sword_5", 
   "URL=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_tasklist.jsp?r=0.03197821366548009", 
   "Resource=0", 
   "RecContentType=text/html", 
   "Referer=http://192.168.1.176/sword?tid=YwlzTaskBLH_getTaskList&type=todo", 
   "Snapshot=t139.inf", 
   "Mode=HTTP", 
   LAST);

web_concurrent_start(NULL);

web_url("submit.css_5", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordSubmit/submit.css", 
   "Resource=1", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_tasklist.jsp?r=0.03197821366548009", 
   LAST);

web_url("dateBtn.gif", 
   "URL=http://192.168.1.176/swordweb/styles/SwordDefault8/SwordCalendar/images/dateBtn.gif", 
   "Resource=1", 
   "RecContentType=image/gif", 
   "Referer=http://192.168.1.176/sword?ctrl=SwordPage_redirect&pagename=zrarpages/main/ywcl/ywcl_tasklist.jsp?r=0.03197821366548009", 
   "Snapshot=t140.inf", 
   LAST);

web_concurrent_end(NULL);

lr_end_transaction("提交",LR_AUTO);

return 0;
}


原文链接:http://hi.baidu.com/%D7%EA%CA%AF%CB%E9%B2%A3%C1%A7/blog/item/9fca5cf478667063dcc474f6.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值