51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 7323|回复: 15
打印 上一主题 下一主题

[原创] Action Transaction fail

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-12-11 15:00:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
录制的是hao123上的邮箱登陆。在action,中录制了些操作。结果在analysis中action transaction总是fail,请问是什么缘故?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2006-12-11 16:43:50 | 只看该作者
只看这个图,好象看不出是什么原因出错的...
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2006-12-11 17:24:53 | 只看该作者
首先要保证脚本录制后的运行是可以通过的.
另外,在场景中,不是有error吗,你可以看到错误的原因.
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2006-12-12 09:54:13 | 只看该作者
10个虚拟用户,vuser_end_transaction中failed 3个,那按我的推理pass 应该7个啊,咋会是0啊?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

该用户从未签到

5#
 楼主| 发表于 2006-12-12 10:03:20 | 只看该作者
error:
Action.c(6): Error -27791: Server "172.17.18.80" has shut down the connection prematurely
vuser_end.c(55): Error -27727: Step download timeout (120 seconds) has expired when downloading resource(s). Set the "Resource Page Timeout is a Warning" Run-Time Setting to Yes/No to have this message as a warning/error, respectively
自从我学loadrunner,在action中录制的操作,在分析时总是failed。因为init、end从没进行过操作
所以是passed。为什么啊?sdlkfj9
回复 支持 反对

使用道具 举报

该用户从未签到

6#
发表于 2006-12-12 11:04:57 | 只看该作者
设置runt time setting中的internet protocol-preferences中的advaced区域有一个winlnet replay instead of sockets选项
回复 支持 反对

使用道具 举报

该用户从未签到

7#
 楼主| 发表于 2006-12-12 11:45:20 | 只看该作者

回复 #6 wyscorpion 的帖子

Error: Your current test is set to run in WinInet mode. In this mode, Modem Emulation and IP-Spoofing are not available. You can use these features if you are able to set the test's Run-time Setting option "Run Vuser as a process"
Error: The Vuser protocol or the current test settings do not support threads.

不行,有错。一个虚拟用户都没运行。
回复 支持 反对

使用道具 举报

该用户从未签到

8#
发表于 2006-12-14 00:22:46 | 只看该作者
楼上的,按照错误提示修改。
回复 支持 反对

使用道具 举报

该用户从未签到

9#
发表于 2006-12-14 09:41:34 | 只看该作者
一个都没成功,把错误信息贴出来吧。
回复 支持 反对

使用道具 举报

该用户从未签到

10#
 楼主| 发表于 2006-12-14 11:31:11 | 只看该作者
是在回放脚本时的错误:
vuser_end.c(376): web_url was successful, 7521 body bytes, 1040 header bytes          [MsgId: MMSG-27176]
Error: Vuser started transaction 登陆, and never reached a corresponding end transaction statement. The transaction was automatically ended with a fail status.
Notify: Transaction 登陆 ended with Fail status (Duration: 178.1487).
Ending action vuser_end.
Vuser Terminated.
在controller中的错误:
Action.c(6): Error -27791: Server "172.17.18.80" has shut down the connection prematurely
下图:是在analysis中只自动生成图1
回复 支持 反对

使用道具 举报

该用户从未签到

11#
 楼主| 发表于 2006-12-14 11:39:08 | 只看该作者
在analysis中只自动生成图1

[ 本帖最后由 xxxx124 于 2006-12-14 16:32 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

该用户从未签到

12#
发表于 2006-12-14 14:30:37 | 只看该作者
Error: Vuser started transaction 登陆, and never reached a corresponding end transaction statement. The transaction was automatically ended with a fail status.
事务的结束点没加上。
回复 支持 反对

使用道具 举报

该用户从未签到

13#
 楼主| 发表于 2006-12-14 16:10:09 | 只看该作者

回复 #12 beiyu95 的帖子

谢谢!
我在脚本中加了lr_end_transaction("登陆", LR_AUTO);回放也没错。在controller中也没错。如图1:

在analysis中,却只生成了了俩个图。如图2:

[ 本帖最后由 xxxx124 于 2006-12-14 16:31 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

该用户从未签到

14#
发表于 2008-12-9 14:24:01 | 只看该作者

回复 5# 的帖子

你要选中一个地方就OK了,runtime settings--internet protocol--preferences---advaced下有第一项
回复 支持 反对

使用道具 举报

该用户从未签到

15#
发表于 2016-4-15 15:09:04 | 只看该作者
xxxx124 发表于 2006-12-12 11:45
Error: Your current test is set to run in WinInet mode. In this mode, Modem Emulation and IP-Spoofin ...

Error: The Vuser protocol or the current test settings do not support threads.
我在录制的过程中也报了这个错,请问是怎么解决的?
回复 支持 反对

使用道具 举报

该用户从未签到

16#
发表于 2016-4-15 15:09:12 | 只看该作者
xxxx124 发表于 2006-12-12 11:45
Error: Your current test is set to run in WinInet mode. In this mode, Modem Emulation and IP-Spoofin ...

Error: The Vuser protocol or the current test settings do not support threads.
我在录制的过程中也报了这个错,请问是怎么解决的?
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-10-4 04:27 , Processed in 0.088229 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表