|
本帖最后由 luxiuxiu1987 于 2011-6-21 17:26 编辑
填写登记人信息,录制脚本如下:
lr_start_transaction("添加登记人信息");
lr_think_time(21);
//提交登记人信息
web_submit_data("PlanePassager.ashx_2",
"Action=http://info.xxx.com/Ajax/PlanePassager.ashx",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://info.xxx.com/PlaneOrder.aspx",
"Snapshot=t23.inf",
"Mode=HTML",
ITEMDATA,
"Name=type", "Value=5", ENDITEM,
"Name=cname", "Value=香吉士", ENDITEM,
"Name=code", "Value=ns22145547", ENDITEM,
"Name=ctype", "Value=0", ENDITEM,
"Name=insurance", "Value=1", ENDITEM,
"Name=sex", "Value=1", ENDITEM,
"Name=birthday", "Value=1980-05-09", ENDITEM,
"Name=cttype", "Value=1", ENDITEM,
LAST);
//添加登记人信息列表
web_submit_data("PlanePassager.ashx_3",
"Action=http://info.xxx.com/Ajax/PlanePassager.ashx",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://info.xxx.com/PlaneOrder.aspx",
"Snapshot=t24.inf",
"Mode=HTML",
ITEMDATA,
"Name=type", "Value=4", ENDITEM,
LAST);
//计算总金额和人数
web_submit_data("PlanePassager.ashx_4",
"Action=http://info.xxx.com/Ajax/PlanePassager.ashx",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://info.xxx.com/PlaneOrder.aspx",
"Snapshot=t25.inf",
"Mode=HTML",
ITEMDATA,
"Name=type", "Value=9", ENDITEM,
LAST);
lr_end_transaction("添加登记人信息", LR_AUTO);
回放脚本报错,如下:
Action.c(263): Notify: Transaction "添加登记人信息" started.
Action.c(267): web_submit_data("PlanePassager.ashx_2") was successful, 1 body bytes, 219 header bytes [MsgId: MMSG-26386]
Action.c(285): web_submit_data("PlanePassager.ashx_3") was successful, 716 body bytes, 221 header bytes [MsgId: MMSG-26386]
Action.c(296): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://info.xxx.com/Ajax/PlanePassager.ashx" [MsgId: MERR-26612]
Action.c(296): web_submit_data("PlanePassager.ashx_4") highest severity level was "ERROR", 4325 body bytes, 240 header bytes [MsgId: MMSG-26388]
Action.c(296): Notify: Transaction "添加登记人信息" ended with "Fail" status (Duration: 0.5152 Wasted Time: 0.0106).
页面显示黄页
说是缺少对象实例之类的,不是很懂,还请高手指教,
之前查找相关的-26612错误都是说缺少关联,但是如何关联?还是有其他的解决方法? |
|