google搜索 站内搜索                 软件测试门户 | 软件测试培训 | 文章资料精选 | 软件测试论坛 | 测试解决方案 | 软件测试博客 | 测试招聘求职 
打印

[讨论] LR中警告错误Warning -27077怎么才能解决呢?

LR中警告错误Warning -27077怎么才能解决呢?


我在LR中回放脚本有这样一个警告错误,看了帮助文档,大概意思了解一些了,但是自己还是不知道该怎么来解决这个警告~各位高手们帮忙看看,有遇到同样问题的告诉我下啊~~

貌似是说在int这个脚本里录到的东西在迭代的时候是不会回放的吧?

Message Code 27077 The "vuser_init" section contains web function(s) when the "Simulate a new user on each iteration" Run-Time Setting is ON. This may produce unpredictable results with multiple iterations
This is a warning message when running more than one iteration in the Web Replay "user model". This can occur when: (i). Each iteration emulates a new user accessing the site. In this case, the Init (and End) Sections should be empty, and any "context" (remainders from a previous iteration) should be "reset" before starting a new iteration. (ii). Each iteration emulates a single user doing the same business processes over and over again, with variations (parameterizations). For example, a banking clerk opening an account, transferring money, etc. The "login" can be recorded in the Init Section, and "logout" in the End Section. Here any "context" is NOT reset.
Troubleshooting
    • The "Simulate a new user on each iteration" run-time setting distinguishes between these possibilities. When it is "ON", the Init Section should be empty. When it is "OFF", the first Web function in the Action Section probably assumes that some preparations (e.g., "login") have been performed in the Init Section. This works fine in the first iteration, but before the second (and any following) iteration, any "context" is reset, and the script may fail.



[ 本帖最后由 codanl 于 2008-6-3 16:30 编辑 ]

TOP

你可以放到action里

TOP

哦~~明白了~~我只是打开了一个系统的登录页面,还没有做登录操作,所以放不放到Action都没有什么问题吧?

TOP

 
当前时区 GMT+8, 现在时间是 2008-12-2 16:42Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹