51Testing软件测试论坛
标题:
T_commit_order执行了多次,数据库表更新次数和执行次数不一致?
[打印本页]
作者:
meibaocai
时间:
2011-1-28 14:50
标题:
T_commit_order执行了多次,数据库表更新次数和执行次数不一致?
/*点击提交按钮*/
web_submit_data("insertOrder.action",
"Action=http://172.16.11.203:8080/order/insertOrder.action",
"Method=POST",
"Referer=http://172.16.11.203:8080/order/getAddOrderJsp.action?custId=",
"Snapshot=t36.inf",
"Mode=HTML",
ITEMDATA,
"Name=orders.orderedByFk", "Value=", ENDITEM,
"Name=orders.tenantId", "Value=2011011300000006", ENDITEM,
"Name=orders.orderNO", "Value={NewParam_2}", ENDITEM,
"Name=orders.status", "Value=2", ENDITEM,
"Name=orders.sendToName", "Value=name1", ENDITEM,
"Name=orders.sendToPhoneNumber", "Value=13675153448", ENDITEM,
"Name=orders.sendToZipCode", "Value=211516", ENDITEM,
"Name=orders.sendToAddress1", "Value=鍗椾含 闆ㄨ姳", ENDITEM,
"Name=orders.totalPrice", "Value=", ENDITEM,
"Name=orders.additionalChargeStr", "Value=", ENDITEM,
"Name=orders.additionalCharge", "Value=", ENDITEM,
"Name=orders.discountPrice", "Value=", ENDITEM,
"Name=orders.comment", "Value=", ENDITEM,
"Name=orders.additionalChargeInfo", "Value=", ENDITEM,
"Name=orders.discountDesc", "Value=", ENDITEM,
"Name=orders.metaDataCateFk", "Value=2011011300000025", ENDITEM,
"Name=extJson", "Value=[]", ENDITEM,
LAST);
web_url("orderMain.action",
"URL=http://172.16.11.203:8080/order/orderMain.action",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.16.11.203:8080/main/main.action",
"Snapshot=t37.inf",
"Mode=HTML",
LAST);
web_submit_data("getSameLevelMenuName.action_2",
"Action=http://172.16.11.203:8080/main/getSameLevelMenuName.action",
"Method=POST",
"Referer=http://172.16.11.203:8080/order/orderMain.action",
"Snapshot=t38.inf",
"Mode=HTML",
ITEMDATA,
"Name=menuid", "Value=sc_orderManage", ENDITEM,
LAST);
web_submit_data("getSameLevelMenu.action_3",
"Action=http://172.16.11.203:8080/main/getSameLevelMenu.action",
"Method=POST",
"Referer=http://172.16.11.203:8080/order/orderMain.action",
"Snapshot=t39.inf",
"Mode=HTML",
ITEMDATA,
"Name=supercode", "Value=sc_orderManage", ENDITEM,
LAST);
web_submit_data("getSameLevelMenu.action_4",
"Action=http://172.16.11.203:8080/main/getSameLevelMenu.action",
"Method=POST",
"Referer=http://172.16.11.203:8080/order/orderMain.action",
"Snapshot=t40.inf",
"Mode=HTML",
ITEMDATA,
"Name=supercode", "Value=0", ENDITEM,
LAST);
web_submit_data("queryOrderList.action",
"Action=http://172.16.11.203:8080/order/queryOrderList.action",
"Method=POST",
"RecContentType=text/html",
"Referer=http://172.16.11.203:8080/order/orderMain.action",
"Snapshot=t41.inf",
"Mode=HTML",
ITEMDATA,
"Name=page.pageSize", "Value=8", ENDITEM,
"Name=page.currentPage", "Value=1", ENDITEM,
"Name=order.propertyName", "Value=SENDTO_NAME", ENDITEM,
"Name=order.ascending", "Value=false", ENDITEM,
"Name=orders.sendToName", "Value=", ENDITEM,
"Name=orders.status", "Value=", ENDITEM,
"Name=orders.sendToPhoneNumber", "Value=", ENDITEM,
"Name=orders.staffFk", "Value=", ENDITEM,
LAST);
lr_end_transaction("T_commit_order",LR_AUTO);
/*提交成功*/
return 0;
作者:
meibaocai
时间:
2011-1-28 14:51
并发10个用户。。T_commit_order 事务 pass 了20 ,但是数据表只插入了5条(或者更少),请大侠帮忙分析
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2