标题: Failed to end Transaction "login" (by name). [打印本页] 作者: wang_shi_huan 时间: 2008-12-17 15:00 标题: Failed to end Transaction "login" (by name). lr_output_message("The current username is %s",lr_eval_string("{username}"));
lr_output_message("The current password is %s",lr_eval_string("{password}"));
Failed to end Transaction "login" (by name). Please check that you made a call to start transaction operation.麻烦大家帮忙看看作者: archonwang 时间: 2008-12-17 15:11
事务定义语句不匹配。
缺少Lr_start_transaction()函数。作者: wang_shi_huan 时间: 2008-12-17 15:54
我迭代执行的,参数化了两个用户名,分别为longgy d111,密码分别为654123 6541234,
第一次执行的结果是正确的:Action.c(20): web_submit_data("login") was successful, 76888 body bytes, 3421 header bytes, 65 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(39): The current username is longgy888
Action.c(41): The current password is 654123
Action.c(45): Notify: Transaction "login" ended with "Pass" status (Duration: 2.0163 Wasted Time: 0.0004).
Action.c(53): login事务耗时 0.019677 秒
Action.c(65): login successful
Ending action Action.
第二次执行的结果是错误的:Action.c(39): The current username is d111
Action.c(41): The current password is 6541234
Action.c(45): Notify: Transaction "login" ended with "Pass" status (Duration: 1.5387 Wasted Time: 0.0001).
Action.c(53): login事务耗时 0.008038 秒
Action.c(61): Error: login failed
Action.c(69): Error: Failed to end Transaction "login" (by name). Please check that you made a call to start transaction operation.
Action.c(72): Notify: Transaction "logout" started.