sxxj 发表于 2009-4-29 15:56:16

请教: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;

问题在哪里啊?

Zee 发表于 2009-4-29 16:29:16

提示很显然,你的事务没有结束。

蟑螂 发表于 2009-4-29 16:34:05

“嫌疑人新增”事务缺少结束:lr_end_transaction("嫌疑人新增",LR_AUTO);

“嫌疑人修改”事务缺少开始:lr_start_transaction("嫌疑人修改");

sxxj 发表于 2009-4-29 20:34:02

::ysssn:::
是这样的 问题解决了

蟑螂 发表于 2009-4-29 22:18:18

楼上的,问题怎么解决的?是不是我说的那样啊?

sxxj 发表于 2009-5-6 15:11:54

回复 5# 的帖子

是的 “嫌疑人新增”事务缺少结束:lr_end_transaction("嫌疑人新增",LR_AUTO);

yang591561950 发表于 2012-11-5 10:56:54

怎么解决的,,我现在也遇到了
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'.

yang591561950 发表于 2012-11-5 10:59:48

是不是事务开始和结束的名称要一样啊,,这样就没报错了

ffwithvv 发表于 2012-11-5 14:50:41

开始和结束事务都是成对出现的,名称必须一样

鹰眼 发表于 2012-11-5 15:01:05

事物没有开始,加个事物开始就ok了

delightyyl 发表于 2013-7-3 10:49:30

呵呵,是不是事务名称写错了啊,开始事务的时候,名称是“嫌疑人新增”,结束事务的时候确是“嫌疑人修改”,开始和结束事务的事务名称不匹配,就报错了??

Broly 发表于 2016-6-1 15:31:44

我也遇到了这样的问题。
页: [1]
查看完整版本: 请教:Error: Failed to end Transaction "嫌疑人修改" (by name).