vickiren 发表于 2009-8-18 11:48:37

关于JSESSIONID关联的问题,怎么也找不到到这个值

参见原始代码

Recorder Version   : 1008
   ------------------------------------------------------------------------------- */

vuser_init()
{

        web_set_max_html_param_len("1024");

        /* Registering parameter(s) from source task id 3
        // {CSRule_1_UID2} = "C1F4003C32A85142F836DFBA12396D82"
        // */

        web_reg_save_param("CSRule_1_UID2",
                "LB=jsessionid=",
                "RB=\"",
                "Ord=1",
                "Search=Body",
                "RelFrameId=1",
                LAST);

        web_url("login.zul",
                "URL=http://192.168.1.15:8080/cablegis/login.zul",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=zkau/web/zul/img/button/z-btn-trendy-corner.gif", ENDITEM,
                "Url=zkau/web/zul/img/button/z-btn-trendy-x.gif", ENDITEM,
                "Url=zkau/web/zul/img/button/z-btn-trendy-y.gif", ENDITEM,
                "Url=zkau/web/zul/img/button/z-btn-trendy-ctr.gif", ENDITEM,
                "Url=zkau/web/zul/img/grid/text-bg.gif", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-0/js/zul/wnd2.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-1/js/zul/vd.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-2/js/zul/btn.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-3/js/zul/zul.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-4/js/zul/lang/msgzul*.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                LAST);

        lr_think_time(5);

        web_submit_data("zkau;jsessionid=C1F4003C32A85142F836DFBA12396D82",
                "Action=http://192.168.1.15:8080/cablegis/zkau;jsessionid={CSRule_1_UID2}?dtid=gggf&cmd.0=onClick&uuid.0=z_gg_v1&data.0=24&data.0=14&data.0=",
                "Method=POST",
                "RecContentType=text/xml",
                "Referer=http://192.168.1.15:8080/cablegis/login.zul",
                "Snapshot=t2.inf",
                "Mode=HTML",
                ITEMDATA,
                LAST);

        web_url("index.zul",
                "URL=http://192.168.1.15:8080/cablegis/index.zul",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t3.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=zkau/web/zul/img/button/tb-bg.png", ENDITEM,
                "Url=zkau/web/zul/img/button/tb-btn-arrow.gif", ENDITEM,
                "Url=zkau/web/zul/img/menu2/pp-bg.gif", ENDITEM,
                "Url=img/comm/DateReportForm.gif", ENDITEM,
                "Url=img/themeZk/tab-strip-bg.png", ENDITEM,
                "Url=zkau/web/zul/img/button/combobtn.gif", ENDITEM,
                "Url=img/themeZk/splt-v.png", ENDITEM,
                "Url=img/themeZk/splt-h.png", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-0/js/zul/wnd2.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-1/js/zkex/zul/borderlayout.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-4/js/zul/menu2.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-2/js/zul/widget.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/_zcbzk.ald-3/js/dojoz/dojo.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-5/js/zul/grid.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-6/js/zul/cb.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-7/js/zul/btn.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-8/js/zkmax/zul/portallayout.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-9/js/zul/tab2.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-10/js/zul/zul.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-12/js/zul/vd.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/_zcbzk.ald-11/js/ext/dojo/dojo.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-13/js/zul/lang/msgzul*.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/FisheyeList.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/__package__.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/xml/Parse.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Widget.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/lang/declare.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/ns.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Manager.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/a11y.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/uri/__package__.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Parse.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/DomWidget.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/HtmlWidget.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/html/util.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/lfx/toggle.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/html/selection.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/templates/images/tab_close.gif", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/templates/FisheyeList.css", ENDITEM,
                "Url=img/shortcut/logout.bmp", ENDITEM,
                "Url=img/themeZk/wtp-r.png", ENDITEM,
                "Url=img/themeZk/wtp-m.png", ENDITEM,
                "Url=img/themeZk/panel-tb.png", ENDITEM,
                "Url=img/themeZk/tool-btn.gif", ENDITEM,
                LAST);

        web_submit_data("zkau;jsessionid=C1F4003C32A85142F836DFBA12396D82_2",
                "Action=http://192.168.1.15:8080/cablegis/zkau;jsessionid={CSRule_1_UID2}?dtid=gggf&cmd.0=rmDesktop",
                "Method=POST",
                "RecContentType=text/xml",
                "Referer=http://192.168.1.15:8080/cablegis/login.zul",
                "Snapshot=t4.inf",
                "Mode=HTML",
                ITEMDATA,
                LAST);

        return 0;

vickiren 发表于 2009-8-18 11:57:33

我在前面增加一个 打印response 的函数 出来的结果也为空

web_set_max_html_param_len("2048");
web_reg_save_param("str",
                "LB/IC=<html>",
                "RB/IC=</html>",
                "ord=ALL",
                LAST);

lr_output_message("the response is: %s", lr_eval_string("{str}"));

        web_url("login.zul",
                "URL=http://192.168.1.15:8080/cablegis/login.zul",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",


日志结果

vuser_init.c(12): web_set_max_html_param_len was successful       
vuser_init.c(19): web_set_max_html_param_len was successful       
vuser_init.c(20): Registering web_reg_save_param was successful       

vuser_init.c(26): the response is: {str}   这里怎么显示str 呢?

泊涯 发表于 2009-8-18 12:05:59

web_reg_save_param("str",
                "LB/IC=<html>",
                "RB/IC=</html>",
                "ord=ALL",
                LAST);
你把左右边界弄长点

vickiren 发表于 2009-8-18 13:03:00

原帖由 泊涯 于 2009-8-18 12:05 发表 http://bbs.51testing.com/images/common/back.gif
web_reg_save_param("str",
                "LB/IC=",
                "RB/IC=",
                "ord=ALL",
                LAST);
你把左右边界弄长点


都已经是html了,就是整个部分了,这还应该怎么扩大呢?

iori 发表于 2009-8-18 13:11:48

web_submit_data("zkau;jsessionid=C1F4003C32A85142F836DFBA12396D82",
web_submit_data("zkau;jsessionid=C1F4003C32A85142F836DFBA12396D82_2",
这2个地方为什么不关联呢

vickiren 发表于 2009-8-18 13:57:37

原帖由 iori 于 2009-8-18 13:11 发表 http://bbs.51testing.com/images/common/back.gif
web_submit_data("zkau;jsessionid=C1F4003C32A85142F836DFBA12396D82",
web_submit_data("zkau;jsessionid=C1F4003C32A85142F836DFBA12396D82_2",
这2个地方为什么不关联呢
我自己关联了,但是还是不行,

我觉得是自己没有取到要关联的东西的结果。

vickiren 发表于 2009-8-18 14:02:53

下面我自己自动关联了一下,

/* -------------------------------------------------------------------------------
        Script Title       :
        Script Description :
                        
                        
        Recorder Version   : 1008
   ------------------------------------------------------------------------------- */

vuser_init()
{

        web_set_max_html_param_len("1024");

        /* Registering parameter(s) from source task id 3
        // {CSRule_1_UID2} = "C1F4003C32A85142F836DFBA12396D82"
    char str;
      
*/
web_set_max_html_param_len("2048");
web_reg_save_param("str",
                "LB/IC=<html>",
                "RB/IC=</html>",
                "ord=ALL",
                LAST);

lr_output_message("the response is: %s", lr_eval_string("{str}"));

        // Parameter {WCSParam_Diff1} created by Correlation Studio
        web_reg_save_param( "WCSParam_Diff1", "LB=jsessionid=", "RB=\"", "Ord=1", "Search=Body", "RelFrameId=1", LAST );
        // Parameter {WCSParam_Diff2} created by Correlation Studio
lr_output_message("the response is: %s", lr_eval_string("{WCSParam_Diff1}"));

        web_reg_save_param( "WCSParam_Diff2", "LB= z.dtid=\"", "RB=\"", "Ord=1", "Search=Body", "RelFrameId=1", LAST );
lr_output_message("the response is: %s", lr_eval_string("{WCSParam_Diff2}"));

        web_url("login.zul",
                "URL=http://192.168.1.15:8080/cablegis/login.zul",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=zkau/web/zul/img/button/z-btn-trendy-corner.gif", ENDITEM,
                "Url=zkau/web/zul/img/button/z-btn-trendy-x.gif", ENDITEM,
                "Url=zkau/web/zul/img/button/z-btn-trendy-y.gif", ENDITEM,
                "Url=zkau/web/zul/img/button/z-btn-trendy-ctr.gif", ENDITEM,
                "Url=zkau/web/zul/img/grid/text-bg.gif", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-0/js/zul/wnd2.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-1/js/zul/vd.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-2/js/zul/btn.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-3/js/zul/zul.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-4/js/zul/lang/msgzul*.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                LAST);

        lr_think_time(5);

        web_submit_data("zkau;jsessionid={WCSParam_Diff1}",
                "Action=http://192.168.1.15:8080/cablegis/zkau;jsessionid={CSRule_1_UID2}?dtid={WCSParam_Diff2}&cmd.0=onClick&uuid.0=z_gg_v1&data.0=24&data.0=14&data.0=",
                "Method=POST",
                "RecContentType=text/xml",
                "Referer=http://192.168.1.15:8080/cablegis/login.zul",
                "Snapshot=t2.inf",
                "Mode=HTML",
                ITEMDATA,
                LAST);

        web_url("index.zul",
                "URL=http://192.168.1.15:8080/cablegis/index.zul",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t3.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=zkau/web/zul/img/button/tb-bg.png", ENDITEM,
                "Url=zkau/web/zul/img/button/tb-btn-arrow.gif", ENDITEM,
                "Url=zkau/web/zul/img/menu2/pp-bg.gif", ENDITEM,
                "Url=img/comm/DateReportForm.gif", ENDITEM,
                "Url=img/themeZk/tab-strip-bg.png", ENDITEM,
                "Url=zkau/web/zul/img/button/combobtn.gif", ENDITEM,
                "Url=img/themeZk/splt-v.png", ENDITEM,
                "Url=img/themeZk/splt-h.png", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-0/js/zul/wnd2.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-1/js/zkex/zul/borderlayout.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-4/js/zul/menu2.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-2/js/zul/widget.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/_zcbzk.ald-3/js/dojoz/dojo.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-5/js/zul/grid.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-6/js/zul/cb.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-7/js/zul/btn.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-8/js/zkmax/zul/portallayout.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-9/js/zul/tab2.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-10/js/zul/zul.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-12/js/zul/vd.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/_zcbzk.ald-11/js/ext/dojo/dojo.js", ENDITEM,
                "Url=zkau/web/_zv08120909/_zcbzk.ald-13/js/zul/lang/msgzul*.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/FisheyeList.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/__package__.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/xml/Parse.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Widget.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/lang/declare.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/ns.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Manager.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/a11y.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/uri/__package__.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Parse.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/DomWidget.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/HtmlWidget.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/html/util.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/lfx/toggle.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/html/selection.js", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/templates/images/tab_close.gif", ENDITEM,
                "Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/templates/FisheyeList.css", ENDITEM,
                "Url=img/shortcut/logout.bmp", ENDITEM,
                "Url=img/themeZk/wtp-r.png", ENDITEM,
                "Url=img/themeZk/wtp-m.png", ENDITEM,
                "Url=img/themeZk/panel-tb.png", ENDITEM,
                "Url=img/themeZk/tool-btn.gif", ENDITEM,
                LAST);

        web_submit_data("zkau;jsessionid={WCSParam_Diff1}_2",
                "Action=http://192.168.1.15:8080/cablegis/zkau;jsessionid={CSRule_1_UID2}?dtid={WCSParam_Diff2}&cmd.0=rmDesktop",
                "Method=POST",
                "RecContentType=text/xml",
                "Referer=http://192.168.1.15:8080/cablegis/login.zul",
                "Snapshot=t4.inf",
                "Mode=HTML",
                ITEMDATA,
                LAST);

        return 0;
}

vickiren 发表于 2009-8-18 14:08:03

这个是 结果日志 中的的信息、


vuser_init.c(12): web_set_max_html_param_len was successful       
vuser_init.c(19): web_set_max_html_param_len was successful       
vuser_init.c(20): Registering web_reg_save_param was successful       
vuser_init.c(26): the response is: {str}
vuser_init.c(29): Registering web_reg_save_param was successful       
vuser_init.c(31): the response is: {WCSParam_Diff1}
vuser_init.c(33): Registering web_reg_save_param was successful       
vuser_init.c(34): the response is: {WCSParam_Diff2}

vuser_init.c(36): Warning -26627: HTTP Status-Code=404 (/cablegis/img/login/img/login/login_14.png) for "http://192.168.1.15:8080/cablegis/img/login/img/login/login_14.png"       
vuser_init.c(36): Warning -26373: Parameter "str" saved from a resource (URL="http://192.168.1.15:8080/cablegis/img/login/img/login/login_14.png")       
vuser_init.c(36): web_url("login.zul") highest severity level was "warning", 192244 body bytes, 8520 header bytes       
vuser_init.c(58): web_submit_data("zkau;jsessionid={WCSParam_Diff1}") was successful, 63 body bytes, 166 header bytes       
user_init.c(68): Downloading resource "http://192.168.1.15:8080/cablegis/img/themeZk/tool-btn.gif" (specified by argument number 95)       
vuser_init.c(68): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.1.15:8080/cablegis/index.zul"       
vuser_init.c(68): web_url("index.zul") highest severity level was "ERROR", 128313 body bytes, 10386 header bytes       

iori 发表于 2009-8-18 14:23:44

打印语句位置错误,往后放

[ 本帖最后由 iori 于 2009-8-18 14:26 编辑 ]

隐形人 发表于 2009-8-18 14:35:50

根据你web_url("login.zul",函数的server response,CSRule_1_UID2的左右边界有点问题。你改成:
        web_reg_save_param("CSRule_1_UID2",
                "LB=JSESSIONID=",
                "RB=\;",
                "Ord=1",
                "Search=Body",
                "RelFrameId=1",
                LAST);


然后在web_url("login.zul",函数的后面,加上lr_output_message打印一下结果,注意,一定是要在web_url("login.zul",函数的后面的后面打印,在前面打印肯定会是空的

vickiren 发表于 2009-8-18 14:40:44

vuser_init()
{

        web_set_max_html_param_len("1024");

/* Registering parameter(s) from source task id 3
        // {CSRule_1_UID2} = "C1F4003C32A85142F836DFBA12396D82"
    char str;
      
*/
        web_set_max_html_param_len("2048");
        web_reg_save_param("str",
                "LB/IC=<html>",
                "RB/IC=</html>",
                "Ord=ALL",
                LAST);

       

        // Parameter {WCSParam_Diff1} created by Correlation Studio
        web_reg_save_param("WCSParam_Diff1",
               "LB=jsessionid=",
                "RB=\"",
                "Ord=1",
                "RelFrameId=1",
                "Search=Body",
                LAST);
        // Parameter {WCSParam_Diff2} created by Correlation Studio
       

        web_reg_save_param("WCSParam_Diff2",
                "LB=jsessionid=",
                "RB=\"",
                "Ord=1",
                "Search=Body",
                "RelFrameId=1",
                LAST);
       

        web_url("login.zul",
                "URL=http://192.168.1.15:8080/cablegis/login.zul",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "URL=zkau/web/zul/img/button/z-btn-trendy-corner.gif", ENDITEM,
                "URL=zkau/web/zul/img/button/z-btn-trendy-x.gif", ENDITEM,
                "URL=zkau/web/zul/img/button/z-btn-trendy-y.gif", ENDITEM,
                "URL=zkau/web/zul/img/button/z-btn-trendy-ctr.gif", ENDITEM,
                "URL=zkau/web/zul/img/grid/text-bg.gif", ENDITEM,
                "URL=zkau/web/_zv08120909/_zcbzk.ald-0/js/zul/wnd2.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "URL=zkau/web/_zv08120909/_zcbzk.ald-1/js/zul/vd.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "URL=zkau/web/_zv08120909/_zcbzk.ald-2/js/zul/btn.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "URL=zkau/web/_zv08120909/_zcbzk.ald-3/js/zul/zul.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                "URL=zkau/web/_zv08120909/_zcbzk.ald-4/js/zul/lang/msgzul*.js;jsessionid={CSRule_1_UID2}", ENDITEM,
                LAST);
        lr_think_time(5);

        web_submit_data("zkau;jsessionid={WCSParam_Diff1}",
                "Action=http://192.168.1.15:8080/cablegis/zkau;jsessionid={CSRule_1_UID2}?dtid={WCSParam_Diff2}&cmd.0=onClick&uuid.0=z_gg_v1&data.0=24&data.0=14&data.0=",
                "Method=POST",
                "RecContentType=text/xml",
                "Referer=http://192.168.1.15:8080/cablegis/login.zul",
                "Snapshot=t2.inf",
                "Mode=HTML",
                ITEMDATA,
                LAST);
lr_output_message("the response is: %s", lr_eval_string("{str}"));
lr_output_message("the response is: %s", lr_eval_string("{WCSParam_Diff1}"));
lr_output_message("the response is: %s", lr_eval_string("{WCSParam_Diff2}"));
        web_url("index.zul",
                "URL=http://192.168.1.15:8080/cablegis/index.zul",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t3.inf",
                "Mode=HTML",
                EXTRARES,
我放到后面了,但是那个第一个还是么有取到东西

这个是日志

vuser_init.c(48): web_url("login.zul") highest severity level was "warnin
vuser_init.c(69): web_submit_data("zkau;jsessionid={WCSParam_Diff1}") was
vuser_init.c(78): the response is: {str}
vuser_init.c(79): the response is: 1EFE66AC9E6891A9D89CE937DE1477CA
vuser_init.c(80): the response is: 1EFE66AC9E6891A9D89CE937DE1477CA
vuser_init.c(81): Downloading resource "http://192.168.1.15:8080/cablegis

iori 发表于 2009-8-18 14:48:32

因为你第一个没有任何关联

vickiren 发表于 2009-8-18 15:01:26

原帖由 iori 于 2009-8-18 14:48 发表 http://bbs.51testing.com/images/common/back.gif
因为你第一个没有任何关联


我的目的是想打印出来整个response 看看 为什么打印不出来

chistlyb 发表于 2009-8-31 13:21:49

打印位置不对

OpenTest 发表于 2009-8-31 15:32:09

遇到同样的问题,期待能有个已解决案例可供参考。

OpenTest 发表于 2009-8-31 17:27:57

楼主,这个问题已经解决了嘛?能否出来晒一下啊。
页: [1]
查看完整版本: 关于JSESSIONID关联的问题,怎么也找不到到这个值