Random:每個虛擬用戶開始運行時安排隨機的數(shù)值。
更新方式 |
Random | |
1. |
Each Iteration |
每次迭代時,隨機從數(shù)據(jù)表中取數(shù)。 |
2. |
Each Occurrence |
每次遇到隨機取一個數(shù)值,即使在同一個迭代。 |
3. |
Once |
第一次迭代時隨機取值,改用戶所有的子迭代值不變。 |
Unique
The Unique method assigns a unique sequential value to the parameter for
each Vuser.
更新方式 |
Unique |
例子 | |
1. |
Each Iteration |
每個用戶每次迭代時,虛擬用戶取下一個不同的數(shù)值。 |
If you specified Each Iteration, for a test run of 3 iterations, the first Vuser takes Kim in the first iteration,David in the second, and Michael in the third. The second Vuser takes Jane, Ron, and Alice. The third Vuser,Ken, Julie, and Fred. |
2. |
Each Occurrence |
每個虛擬用戶每次遇到取一個新的不同的數(shù)值,即使在同一個迭代。 |
lr自己決定。 |
3. |
Once |
每個第一次迭代時取不同值,該用戶所有的子迭代值不變。 |
If you specified Once, the first Vuser takes Kim for all iterations the second Vuser takes David for all iterations, etc. |
數(shù)據(jù)必須足夠,例如20個虛擬用戶,5次迭代,至少要有100個數(shù)據(jù)。
相關推薦:
北京 | 天津 | 上海 | 江蘇 | 山東 |
安徽 | 浙江 | 江西 | 福建 | 深圳 |
廣東 | 河北 | 湖南 | 廣西 | 河南 |
海南 | 湖北 | 四川 | 重慶 | 云南 |
貴州 | 西藏 | 新疆 | 陜西 | 山西 |
寧夏 | 甘肅 | 青海 | 遼寧 | 吉林 |
黑龍江 | 內(nèi)蒙古 |