51Testing软件测试论坛
标题:
LR回放出现的问题
[打印本页]
作者:
2009_tlp
时间:
2008-12-2 16:51
标题:
LR回放出现的问题
出现的问题如下:
Action.c(423): 错误 -26612: 对于“
http://121.14.59.234:8055/logined.aspx
”,HTTP 状态代码=500 (Internal Server Error) [MsgId: MERR-26612]
Action.c(423): web_submit_data("logined.aspx") 最高严重级别为“ERROR”,7295 个正文字节,241 个标头字节 [MsgId: MMS
我网上看了相关的帖子 试了好几次还是错~~
[attach]47216[/attach]
请高手赐教~~~ 谢谢!!
[
本帖最后由 2009_tlp 于 2008-12-2 16:53 编辑
]
作者:
archonwang
时间:
2008-12-2 17:04
把脚本和配置拿来看下。可能有关联配置导致。
作者:
2009_tlp
时间:
2008-12-2 18:22
标题:
在LR中,我做了注册——激活区域,总是有错误
Action()
{
web_add_cookie("dm46f72a2f20276=104%7C1228209224%7C1%7C121.14.59.234%3A8055%7C%2Fmypassport.aspx; DOMAIN=121.14.59.234");
web_set_max_html_param_len("2112");
web_url("login.aspx",
"URL=http://121.14.59.234:8055/login.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL)
web_url("05zc1.gif",
"URL=http://121.14.59.234:8055/img1/05zc1.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/login.aspx",
LAST);
web_url("spacer.gif",
"URL=http://121.14.59.234:8055/img1/spacer.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/login.aspx",
LAST);
web_url("log2.gif",
"URL=http://121.14.59.234:8055/img1/log2.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/login.aspx",
LAST);
web_url("05zc.gif",
"URL=http://121.14.59.234:8055/img1/05zc.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/login.aspx",
LAST);
web_concurrent_end(NULL);
web_url("_mt.gif_2",
"URL=http://s1.datamaster.com.cn/_mt.gif?AF%81",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/mypassport.aspx",
LAST);
lr_think_time(6);
web_custom_request("HandleRequest.aspx",
"URL=http://121.14.59.234:8055/HandleRequest.aspx?type=2¶=wr0001&count=1",
"Method=POST",
"Resource=1",
"Referer=http://121.14.59.234:8055/mypassport.aspx",
"EncType=",
LAST);
lr_think_time(22);
web_custom_request("HandleRequest.aspx_2",
"URL=http://121.14.59.234:8055/HandleRequest.aspx?type=0¶=612522198511261917&count=2",
"Method=POST",
"Resource=1",
"Referer=http://121.14.59.234:8055/mypassport.aspx",
"EncType=",
LAST);
web_reg_save_param("Siebel_Analytic_ViewState6",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
lr_rendezvous("02");
lr_start_transaction("01");
web_submit_data("mypassport.aspx",
"Action=http://121.14.59.234:8055/mypassport.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://121.14.59.234:8055/mypassport.aspx",
"Snapshot=t3.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState3}", ENDITEM,
"Name=txtCheckCode", "Value=", ENDITEM,
"Name=txtAccount", "Value={NewParam_1}", ENDITEM,
"Name=txtPwd", "Value={NewParam_2}", ENDITEM,
"Name=txtConfirmPwd", "Value={NewParam_2}", ENDITEM,
"Name=txtRealName", "Value=好人", ENDITEM,
"Name=txtIdCard", "Value=612522198511261917", ENDITEM,
"Name=txtSpreader", "Value=", ENDITEM,
"Name=chkAgree", "Value=YES", ENDITEM,
"Name=imgRegister.x", "Value=67", ENDITEM,
"Name=imgRegister.y", "Value=14", ENDITEM,
LAST);
lr_end_transaction("01", LR_AUTO);
web_concurrent_start(NULL);
web_url("dma.js_3",
"URL=http://s1.datamaster.com.cn/dma.js?46f72a2f20276",
"Resource=1",
"Referer=http://121.14.59.234:8055/Reglogined.aspx",
LAST);
web_url("bt_1.gif",
"URL=http://121.14.59.234:8055/img1/bt_1.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/Reglogined.aspx",
LAST);
web_url("bt_2.gif",
"URL=http://121.14.59.234:8055/img1/bt_2.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/Reglogined.aspx",
LAST);
web_url("bt_4.gif",
"URL=http://121.14.59.234:8055/img1/bt_4.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/Reglogined.aspx",
LAST);
web_url("bt_3.gif",
"URL=http://121.14.59.234:8055/img1/bt_3.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/Reglogined.aspx",
LAST);
web_url("_mt.gif_4",
"URL=http://s1.datamaster.com.cn/_mt.gif?
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/logined.aspx",
LAST);
web_add_cookie("dmt46f72a2f20276=4%7C1; DOMAIN=121.14.59.234");
web_submit_data("logined.aspx",
"Action=http://121.14.59.234:8055/logined.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://121.14.59.234:8055/logined.aspx",
"Snapshot=t6.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState8}", ENDITEM,
"Name=Repeater1:_ctl0:hiddenLocked", "Value=False", ENDITEM,
"Name=Repeater1:_ctl0:hiddenCode", "Value=10", ENDITEM,
"Name=Repeater1:_ctl1:hiddenLocked", "Value=False", ENDITEM,
"Name=Repeater1:_ctl1:hiddenCode", "Value=11", ENDITEM,
"Name=Repeater1:_ctl2:hiddenLocked", "Value=False", ENDITEM,
"Name=Repeater1:_ctl2:hiddenCode", "Value=12", ENDITEM,
"Name=Repeater1:_ctl3:hiddenLocked", "Value=False", ENDITEM,
"Name=Repeater1:_ctl3:hiddenCode", "Value=13", ENDITEM,
"Name=Repeater1:_ctl4:hiddenLocked", "Value=False", ENDITEM,
"Name=Repeater1:_ctl4:hiddenCode", "Value=3", ENDITEM,
"Name=Repeater1:_ctl5:hiddenLocked", "Value=False", ENDITEM,
"Name=Repeater1:_ctl5:hiddenCode", "Value=9", ENDITEM,
"Name=Repeater1:_ctl6:hiddenLocked", "Value=False", ENDITEM,
"Name=Repeater1:_ctl6:hiddenCode", "Value=6", ENDITEM,
"Name=Repeater1:_ctl7:hiddenLocked", "Value=False", ENDITEM,
"Name=Repeater1:_ctl7:hiddenCode", "Value=1", ENDITEM,
"Name=txtNick", "Value=激活", ENDITEM,
"Name=txtPhone", "Value=", ENDITEM,
"Name=txtSpreader", "Value=", ENDITEM,
"Name=Left11:imgExit.x", "Value=59", ENDITEM,
"Name=Left11:imgExit.y", "Value=14", ENDITEM,
LAST);
web_concurrent_start(NULL);
web_url("dma.js_5",
"URL=http://s1.datamaster.com.cn/dma.js?46f72a2f20276",
"Resource=1",
"Referer=http://121.14.59.234:8055/login.aspx",
LAST);
web_url("keystoke.gif",
"URL=http://121.14.59.234:8055/img1/keystoke.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/login.aspx",
LAST);
web_concurrent_end(NULL);
web_url("_mt.gif_5",
"URL=http://s1.datamaster.com.cn/_mt.gif?AF%81",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://121.14.59.234:8055/login.aspx",
LAST);
return 0;
}
在数据库里可以查到注册数据 但是激活区域的数据为空
我已经做了关联,就是不对
请高手赐教
谢谢
作者:
jingdouyun
时间:
2008-12-3 09:53
标题:
录制和回放有不同的地方,通过工具可以查看一下
录制和回放有不同的地方,通过工具可以查看一下
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2