Action Transaction fail
录制的是hao123上的邮箱登陆。在action,中录制了些操作。结果在analysis中action transaction总是fail,请问是什么缘故? 只看这个图,好象看不出是什么原因出错的... 首先要保证脚本录制后的运行是可以通过的.另外,在场景中,不是有error吗,你可以看到错误的原因. 10个虚拟用户,vuser_end_transaction中failed 3个,那按我的推理pass 应该7个啊,咋会是0啊? 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 设置runt time setting中的internet protocol-preferences中的advaced区域有一个winlnet replay instead of sockets选项
回复 #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.
不行,有错。一个虚拟用户都没运行。 楼上的,按照错误提示修改。 一个都没成功,把错误信息贴出来吧。 是在回放脚本时的错误:
vuser_end.c(376): web_url was successful, 7521 body bytes, 1040 header bytes
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 在analysis中只自动生成图1
[ 本帖最后由 xxxx124 于 2006-12-14 16:32 编辑 ] Error: Vuser started transaction 登陆, and never reached a corresponding end transaction statement. The transaction was automatically ended with a fail status.
事务的结束点没加上。
回复 #12 beiyu95 的帖子
谢谢!我在脚本中加了lr_end_transaction("登陆", LR_AUTO);回放也没错。在controller中也没错。如图1:
在analysis中,却只生成了了俩个图。如图2:
[ 本帖最后由 xxxx124 于 2006-12-14 16:31 编辑 ]
回复 5# 的帖子
你要选中一个地方就OK了,runtime settings--internet protocol--preferences---advaced下有第一项 xxxx124 发表于 2006-12-12 11:45Error: 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.
我在录制的过程中也报了这个错,请问是怎么解决的? 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]