|
我在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 编辑 ] |
|