loadrunner analysis 事务平均响应时间右键看不到web page diagnostics,controller中该设置的都设置了

wang22hong 2016-10-28 08:21:25

不知道还要设置什么,是不是和我的脚本有关啊,脚本如下。
	lr_start_transaction("申请提交");

web_submit_data("performOrder.action",
"Action=http://ip:端口/espot_front/front/app/mgr/trade/order/performOrder.action?0.27429866684249",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://ip:端口/espot_front/front/app/mgr/trade/order/getFirstCategory.action",
"Snapshot=t31.inf",
"Mode=HTML",
ITEMDATA,
"Name=imagePath", "Value=", ENDITEM,
"Name=entity.bsFlag", "Value=S", ENDITEM,
"Name=entity.pledgeFlag", "Value=0", ENDITEM,
"Name=entity.stockID", "Value=", ENDITEM,
"Name=entity.categoryID", "Value=1001", ENDITEM,
"Name=entity.belongtoBreed.breedID", "Value=1000", ENDITEM,
"Name=entity.orderTitle", "Value=PMtest", ENDITEM,
"Name=fileName", "Value=", "File=yes", ENDITEM,
"Name=goodsPropertys[0].propertyName", "Value=other", ENDITEM,
"Name=goodsPropertys[0].propertyTypeID", "Value=1", ENDITEM,
"Name=goodsPropertys[0].propertyValue", "Value=", ENDITEM,
"Name=entity.price", "Value=1", ENDITEM,
"Name=entity.unit", "Value=kg", ENDITEM,
"Name=entity.quantity", "Value=1", ENDITEM,
"Name=entity.minTradeQty", "Value=1", ENDITEM,
"Name=entity.tradeUnit", "Value=1", ENDITEM,
"Name=entity.tradePreHoure", "Value=2", ENDITEM,
"Name=entity.tradeMargin_B", "Value=1000.00", ENDITEM,
"Name=entity.tradeMargin_S", "Value=1000.00", ENDITEM,
"Name=tradeWay", "Value=2", ENDITEM,
"Name=entity.isPayMargin", "Value=N", ENDITEM,
"Name=entity.validHoure", "Value=24", ENDITEM,
"Name=validHourech", "Value=1", ENDITEM,
"Name=entity.tradeType", "Value=0", ENDITEM,
"Name=entity.payType", "Value=0", ENDITEM,
"Name=entity.deliveryType", "Value=1", ENDITEM,
"Name=warehouseIDD", "Value=", ENDITEM,
"Name=warehouseID", "Value=1001", ENDITEM,
"Name=entity.deliveryAddress", "Value=", ENDITEM,
"Name=entity.deliveryDayType", "Value=0", ENDITEM,
"Name=entity.deliveryPreHoure", "Value=5", ENDITEM,
"Name=entity.deliveryMargin_B", "Value=0.20", ENDITEM,
"Name=entity.deliveryMargin_S", "Value=0.20", ENDITEM,
"Name=entity.remark", "Value=", ENDITEM,
"Name=marketNote", "Value=on", ENDITEM,
LAST);

web_custom_request("progress.action",
"URL=http://ip:端口/espot_front/ajaxcheck/progress.action",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/json",
"Referer=http://ip:端口/espot_front/front/app/mgr/trade/order/getFirstCategory.action",
"Snapshot=t33.inf",
"Mode=HTML",
"EncType=",
EXTRARES,
"URL=../front/app/espot/image/progressbar/progressbg_orange.gif", "Referer=http://ip:端口/espot_front/front/app/mgr/trade/order/getFirstCategory.action", ENDITEM,
"URL=../front/app/espot/image/progressbar/progressbg_black.gif", "Referer=http://ip:端口/espot_front/front/app/mgr/trade/order/getFirstCategory.action", ENDITEM,
"URL=../front/app/espot/image/progressbar/progressbg_green.gif", "Referer=http://ip:端口/espot_front/front/app/mgr/trade/order/getFirstCategory.action", ENDITEM,
"URL=../front/app/espot/image/progressbar/progressbg_yellow.gif", "Referer=http://ip:端口/espot_front/front/app/mgr/trade/order/getFirstCategory.action", ENDITEM,
LAST);

lr_end_transaction("申请提交", LR_AUTO);
...全文
1405 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
wang22hong 2016-11-02
  • 打赏
  • 举报
回复
是因为run-time-setting→preference→advanced 中勾选了Winlet reply instead of sockets;把这一项勾选掉就可以了

25,985

社区成员

发帖
与我相关
我的任务
社区描述
高性能WEB开发
社区管理员
  • 高性能WEB开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧