请教:Error: Failed to end Transaction "嫌疑人修改" (by name).
Action.c(353): Error: Failed to end Transaction "嫌疑人修改" (by name). Please check that you made a call to start transaction operation.Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Error: Vuser started transaction "嫌疑人新增", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'.
Notify: Transaction "嫌疑人新增" ended with "Fail" status (Duration: 5.5465).
Ending action vuser_end.
Vuser Terminated.
脚本:
lr_end_transaction("嫌疑人修改",LR_AUTO);
return 0;
问题在哪里啊? 提示很显然,你的事务没有结束。 “嫌疑人新增”事务缺少结束:lr_end_transaction("嫌疑人新增",LR_AUTO);
“嫌疑人修改”事务缺少开始:lr_start_transaction("嫌疑人修改"); ::ysssn:::
是这样的 问题解决了 楼上的,问题怎么解决的?是不是我说的那样啊?
回复 5# 的帖子
是的 “嫌疑人新增”事务缺少结束:lr_end_transaction("嫌疑人新增",LR_AUTO); 怎么解决的,,我现在也遇到了Action.c(96): Error: Failed to end Transaction "end" (by name). Please check that you made a call to start transaction operation.
Error: Vuser started transaction "start", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'. 是不是事务开始和结束的名称要一样啊,,这样就没报错了 开始和结束事务都是成对出现的,名称必须一样 事物没有开始,加个事物开始就ok了 呵呵,是不是事务名称写错了啊,开始事务的时候,名称是“嫌疑人新增”,结束事务的时候确是“嫌疑人修改”,开始和结束事务的事务名称不匹配,就报错了?? 我也遇到了这样的问题。
页:
[1]