|
2#
楼主 |
发表于 2016-6-30 06:10:12
|
只看该作者
本帖最后由 ppchar 于 2016-6-30 06:22 编辑
目前遇到的问题
脚本参数化
之后,会报错
Action.c(69): Error -27979: Requested form not found [MsgId: MERR-27979]
Action.c(69): web_submit_form("reservations.pl_2") highest severity level was "ERROR", 0 body bytes, 0 header bytes [MsgId: MMSG-26388]
但是加了事务之后,发现,其实参数化的模块本省已经执行pass了
如下
Notify: Transaction "depart" ended with "Pass" status (Duration: 0.3526 Wasted Time: 0.0023).
请教是什么原因?
lr_start_transaction("depart");
web_submit_form("reservations.pl",
"Snapshot=t4.inf",
ITEMDATA,
"Name=depart", "Value={depart}", ENDITEM,
"Name=departDate", "Value=06/30/2016", ENDITEM,
"Name=arrive", "Value=Sydney", ENDITEM,
"Name=returnDate", "Value=07/01/2016", ENDITEM,
"Name=numPassengers", "Value=1", ENDITEM,
"Name=roundtrip", "Value=<OFF>", ENDITEM,
"Name=seatPref", "Value=None", ENDITEM,
"Name=seatType", "Value=Coach", ENDITEM,
"Name=findFlights.x", "Value=37", ENDITEM,
"Name=findFlights.y", "Value=8", ENDITEM,
LAST);
lr_end_transaction("depart", LR_AUTO);
|
|