LoadRunner参数化功能详解
上一篇 / 下一篇 2011-12-19 14:50:50 / 个人分类:LoadRunner
更新方式:
. Each Occurrence
每次遇到参数就进行更新。
多次使用同一参数,而且没有什么关联,例如随机数。
Each Iteration
每次迭代时发生更新。 如果参数出现几次,虚拟用户用同一个数值。
适用同一个关联的参数。
Once
所有的地方都用同一个数值,包括所以的迭代。
文件类型参数分派方法
Sequential
按照顺序访问。
更新方式 | Sequential | 例子 | |
1. | Each Iteration | 所有用户每次迭代同时取下一个数值。 | All the Vusers use Kim in the first iteration, David in the second iteration, Michael inthe third iteration, etc. |
2. | Each Occurrence | 所有用户每次遇到同时取下一个数值,即使在同一个迭代。 | All the Vusers use Kim in the first occurrence, David in the second occurrence,Michael in the third occurrence, etc. |
3. | Once | 所有用户第一次迭代时同时取第一个值,该用户所有的子迭代值不变。 | If you specified Once, all Vusers take Kim for all iterations. |
例子:
First Name |
Kim |
David |
Michael |
Jane |
Ron |
Ken |
Julie #o^z7b ~2uP"R0cw }$D0 |
没有足够的值,从第一行开始重新取值。