51Testing软件测试论坛
标题:
session timeout 超时问题
[打印本页]
作者:
suiyingliunian
时间:
2008-6-12 11:48
标题:
session timeout 超时问题
录制一个登录事务,在Run-Time Viewer中查看发现登录后的操作步骤为submit data
显示为超时,未正常登录。该如何解决,是关联问题?参数化问题?还是程序问题呢?
角本如下:
Action()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 3
// {OracleAppJSESSIONID3} = "4D395AE4EF444BEC84FC6C96DDD1AE1C"
// */
web_reg_save_param("OracleAppJSESSIONID3",
"LB/IC=JSESSIONID=",
"RB/IC=;",
"Ord=1",
"RelFrameId=1",
LAST);
// [WCSPARAM WCSParam_Diff1 32 4D395AE4EF444BEC84FC6C96DDD1AE1C] Parameter {WCSParam_Diff1} created by Correlation Studio
web_reg_save_param("WCSParam_Diff1",
"LB=jsessionid=",
"RB=\"",
"Ord=1",
"RelFrameId=1",
"Search=Body",
"IgnoreRedirections=Yes",
LAST);
web_url("onlineExamLogin.zul",
"URL=http://192.168.0.10:8082/DTT/netschool/onlineExamLogin.zul",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"URL=../zkau/web/_zver6E/_zcbzk.ald/js/zul/wnd.js;jsessionid={OracleAppJSESSIONID3}", ENDITEM,
"URL=../zkau/web/_zver6E/_zcbzk.ald/js/zul/zul.js;jsessionid={OracleAppJSESSIONID3}", ENDITEM,
"URL=../zkau/web/_zver6E/_zcbzk.ald/js/zul/widget.js;jsessionid={OracleAppJSESSIONID3}", ENDITEM,
"URL=../zkau/web/_zver6E/_zcbzk.ald/js/zul/vd.js;jsessionid={OracleAppJSESSIONID3}", ENDITEM,
"URL=../zkau/web/_zver6E/_zcbzk.ald/js/zul/lang/msgzul*.js;jsessionid={OracleAppJSESSIONID3}", ENDITEM,
"URL=../zkau/web/zk/img/progress.gif;jsessionid={OracleAppJSESSIONID3}", ENDITEM,
LAST);
lr_think_time(14);
web_submit_data("zkau;jsessionid={WCSParam_Diff1}",
"Action=http://192.168.0.10:8082/DTT/zkau;jsessionid={OracleAppJSESSIONID3}",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://192.168.0.10:8082/DTT/netschool/onlineExamLogin.zul",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=dtid", "Value=gjdm1", ENDITEM,
"Name=cmd.0", "Value=onChange", ENDITEM,
"Name=uuid.0", "Value=z_jd_c1", ENDITEM,
"Name=data.0", "Value={usename}", ENDITEM,
"Name=cmd.1", "Value=onChange", ENDITEM,
"Name=uuid.1", "Value=z_jd_n1", ENDITEM,
"Name=data.1", "Value={password}", ENDITEM,
"Name=cmd.2", "Value=onClick", ENDITEM,
"Name=uuid.2", "Value=z_jd_t1", ENDITEM,
"Name=data.2", "Value=17", ENDITEM,
"Name=data.2", "Value=9", ENDITEM,
"Name=data.2", "Value=", ENDITEM,
LAST);
web_url("beforeOnLineTest.jsp",
"URL=http://192.168.0.10:8082/DTT/frame/beforeOnLineTest.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
web_url("onLineTest.jsp",
"URL=http://192.168.0.10:8082/DTT/frame/onLineTest.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_submit_data("zkau;jsessionid={WCSParam_Diff1}_2",
"Action=http://192.168.0.10:8082/DTT/zkau;jsessionid={OracleAppJSESSIONID3}",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://192.168.0.10:8082/DTT/netschool/onlineExamLogin.zul",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
LAST);
return 0;
}
帮忙看看!
[
本帖最后由 suiyingliunian 于 2008-6-13 10:41 编辑
]
作者:
iori
时间:
2008-6-12 13:09
楼主贴出脚本来看看
作者:
suiyingliunian
时间:
2008-6-12 14:55
标题:
回复 2# 的帖子
角本己贴出,帮忙看一下!
作者:
ccq613
时间:
2008-6-12 16:55
学习中
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2