|
我在用LR8.0测试批量提交,在Controller中运行完成后,到数据库中查找发现数据库中没有增加数据,LR没有执行提交操作,且也没有报出任何错误
是不是关联得问题,请大家帮帮忙分析一下
脚本调试的时候也没有报任何错误。
有人说是没有做关联,但是我看过很多资料,关联好像都是用在sessionid一类的地方,我这里没有这样的数据呀
很是郁闷,请各位大侠分析一下,指导一下!
Action()
{
web_url("jit",
"URL=https://10.98.158.16/jit/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
LAST);
web_link("批量申请",
"Text=批量申请",
"Snapshot=t2.inf",
EXTRARES,
"Url=/web2/menuback.gif", "Referer=https://10.98.158.16/BatchApplyAction.do?action=apply", ENDITEM,
LAST);
web_submit_form("BatchApplyAction.do",
"Snapshot=t3.inf",
ITEMDATA,
"Name=xmlData", "Value=/batchfile/A411.xml", ENDITEM,
EXTRARES,
"Url=/web2/menuback.gif", ENDITEM,
LAST);
web_submit_data("BatchApplyAction.do_2",
"Action=https://10.98.158.16/BatchApplyAction.do",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/html",
"Referer=https://10.98.158.16/BatchApplyAction.do",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
EXTRARES,
"Url=/web2/menuback.gif", ENDITEM,
LAST);
return 0;
} |
|