51Testing软件测试论坛

标题: Action Transaction fail [打印本页]

作者: xxxx124    时间: 2006-12-11 15:00
标题: Action Transaction fail
录制的是hao123上的邮箱登陆。在action,中录制了些操作。结果在analysis中action transaction总是fail,请问是什么缘故?
作者: wuhuawu09    时间: 2006-12-11 16:43
只看这个图,好象看不出是什么原因出错的...
作者: 0709ready    时间: 2006-12-11 17:24
首先要保证脚本录制后的运行是可以通过的.
另外,在场景中,不是有error吗,你可以看到错误的原因.
作者: xxxx124    时间: 2006-12-12 09:54
10个虚拟用户,vuser_end_transaction中failed 3个,那按我的推理pass 应该7个啊,咋会是0啊?
作者: xxxx124    时间: 2006-12-12 10:03
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
作者: wyscorpion    时间: 2006-12-12 11:04
设置runt time setting中的internet protocol-preferences中的advaced区域有一个winlnet replay instead of sockets选项
作者: xxxx124    时间: 2006-12-12 11:45
标题: 回复 #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.

不行,有错。一个虚拟用户都没运行。
作者: ready0709    时间: 2006-12-14 00:22
楼上的,按照错误提示修改。
作者: beiyu95    时间: 2006-12-14 09:41
一个都没成功,把错误信息贴出来吧。
作者: xxxx124    时间: 2006-12-14 11:31
是在回放脚本时的错误:
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
作者: xxxx124    时间: 2006-12-14 11:39
在analysis中只自动生成图1

[ 本帖最后由 xxxx124 于 2006-12-14 16:32 编辑 ]
作者: beiyu95    时间: 2006-12-14 14:30
Error: Vuser started transaction 登陆, and never reached a corresponding end transaction statement. The transaction was automatically ended with a fail status.
事务的结束点没加上。
作者: xxxx124    时间: 2006-12-14 16:10
标题: 回复 #12 beiyu95 的帖子
谢谢!
我在脚本中加了lr_end_transaction("登陆", LR_AUTO);回放也没错。在controller中也没错。如图1:

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

[ 本帖最后由 xxxx124 于 2006-12-14 16:31 编辑 ]
作者: qinxiaocang1202    时间: 2008-12-9 14:24
标题: 回复 5# 的帖子
你要选中一个地方就OK了,runtime settings--internet protocol--preferences---advaced下有第一项
作者: 风情淡雅    时间: 2016-4-15 15:09
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.
我在录制的过程中也报了这个错,请问是怎么解决的?
作者: 风情淡雅    时间: 2016-4-15 15:09
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.
我在录制的过程中也报了这个错,请问是怎么解决的?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2