51Testing 软 件 测 试 网 地 选 择 测 试 脚 本本 。 当 你 执 行 具 有 50 个 虚 拟 测 试 者 的 suite 时 , 围 绕 用 户 组 的 说 明 , 每 个 Data Entry 虚 拟 测 试 者 : ● 执 行 Set Up Database Application 场 景 。 ● 每 次 迭 代 选 择 一 个 测 试 脚 本本 :Add New Record,Add New Record, 或 Delete Record。 从 100 次 迭 代 开 始 起 , 每 个 Data Entry 虚 拟 测 试 者 20 次 纪 录 添 加 , 70 次 纪 录 修 改 , 和和 10 次 纪 录 删 除 的 操 作 。 添 加 , 修 改 和和 删 除 操 作 具 有 任 意 的 顺 序 。 选 择 器 的 类 型 (Types of Selectors) TestManager 提 供 以 下 的 选 择 器 类 型 : ● 连 续 的 (Sequential)—— 按 顺 序 执 行 出 现 在 suite 中 的 每 一 个 测 试 脚 本本 和和 场 景 。 该 类 型 是 默 认 的 。 ● 并 行 的 (Parallel)—— 使 它 的 测 试 脚 本本 或 场 景 分 布 到到 一 个 可 用 的 虚 拟 测 试 者 中 ( 每 测 试 机机 一 个 虚 拟 测 试 者 )。 一 般 地 , 在 功 能 测 试 中 使 用 这 个 选 择 器 。 该 项 按 顺 序 分 开 , 依 据 虚 拟 测 试 者 来来 执 行 测 试 脚 本本 。 一 旦 有 一 项 被 执 行 , 那 么 它 就 不 能 再 次 被 执 行 。
51Testing 软 件 测 试 网 并 行 选 择 器 在 不 关 注 其 迭 代 的 情 况 下 来来 分 配 每 个 测 试 脚 本本 。 ● 有 重 置 的 随 机机 (Random with replacement)—— 该 选 择 器 随 机机 的 执 行 这 些 项 , 每 次 有 一 个 项 被 选 择 , 那 么 它 再 次 被 选 择 的 机机 率 与 剩 余 项 相 同 。 例 如 , 一 个 水 桶 里 有 10 个 红 色 的 球 和和 10 个 绿 色 的 球 。 选 择 红 色 球 和和 绿 色 球 的 机机 会 是 一 样 的 , 都 是 50%。 第 一 个 被 选 择 的 球 是 红 色 的 , 然 后 将 这 个 红 色 的 球 和和 其 他 红 色 的 球 一 起 重 新 放 置 在 水 桶 中 。 每 次 你 挑 出 一 个 球 , 你 依 然 有 50% 的 机机 会 获 得 一 个 红 色 的 球 。 每 次 选 择 之 后 , 该 球 被 重 新 放 置 , 水 桶 中 总 是 有 10 个 红 色 的 球 和和 10 个 绿 色 的 球 。 甚 至 每 次 你 都 可 能 ( 但 未 必 ) 挑 出 一 个 红 色 的 球 。 同 样 的 , 具 有 替 换 的 随 机机 选 择 器 并 不 保 证 执 行 他 们 中 的 每 一 项 , 特 别 地 , 如 果果 你 设 置 了 一 个 比 其 他 脚 本本 执 行 频 率 更 高 的 测 试 脚 本本 。 换 句 话 说 , 如 果果 你 的 水 桶 里 有 19 个 红 色 的 球 和和 一 个 绿 色 的 球 , 那 么 这 个 绿 色 的 球 可 能 一 次 都 不 会 被 选 择 。 ● 无 重 置 的 随 机机 (Random without replacement)—— 该 选 择 器 随 机机 的 执 行 这 些 项 , 但 每 次 有 一 个 项 被 选 择 , 那 么 它 再 次 被 选 择 的 几 率 会 发 生 变 化化 。 例 如 , 考 虑 相 同 的 水 桶 中 有 10 个 红 色 的 球 和和 10 个 绿 色 的 球 。 同 样 的 , 第 一 个 被 选 择 的 球 是 红 色 的 。 然 而 , 这 个 球 不 会 被 重 新 放 回 水 桶 中 。 因 此 , 下 一 次 你 就 有 较 大 的 机机 会 来来 挑 出 一 个 绿 色 的 球 。 每 次 你 选 择 一 个 球 , 你 的 几 率 都 会 变 化化 。 因 此 , 如 果果 第 一 次 选 择 的 10 个 球 是 红 色 的 , 那 么 下 一 次 选 择 的 这 10 个 球 为 绿 色 的 几 率 是 100%。 同 样 的 , 只 要 选 择 器 的 迭 代 数 量 大 于 或 等 于 该 选 择 器 中 的 项 数 , 无 重 置 的 随 机机 选 择 器 将 在 其 中 执 行 每 一 个 项 。 ● 动 态 负 载 均 衡 (Dynamic load balancing)—— 利 用 动 态 负 载 均 衡 , 这 些 项 不 是 被 随 机机 选 择 的 。 再 次 考 虑 这 个 有 红 色 球 和和 绿 色 球 的 水 桶 。 你 分 配 给 每 个 球 以 相 同 的 “ 重 量 ”。 如 果果 第 一 个 被 选 择 的 球 是 红 色 的 , 那 么 第 二 个 选 择 的 球 总 会 是 绿 色 的 。 这 是 因 为 每 个 被 选 择 的 球 或 测 试 脚 本本 , 系 统 “ 动 态 平 衡 ” 工 作 负 载 以 接 近 你 设 置 的 50-50 的 重 量 。 你 也 可 以 设 置 其 他 的 总 量 。 这 里 的 关 键 点 是 , 下 一 个 测 试 脚 本本 的 执 行 不 是 被 随 机机 选 择 的 , 它 的 选 择 是 根 据 你 设 置 的 重 量 来来 平 衡 工 作 负 载 。 同 时 也 可 以 平 衡 工 作 负 载 的 时 间 或 频 率 。 例 如 , 假 设 动 态 均 衡 脚 本本 A 和和 脚 本本 B, 并 且 使 用 了 相 同 的 重 量 。 不 管 怎 样 , 脚 本本 A 执 行 的 两 倍 时 长 和和 脚 本本 B 是 一 样 的 。 如 果果 动 态 负 载 均 衡 的 是 时 间 , 那 么 负 载 是 通 过 每 个 测 试 脚 本本 的 执 行 时 间 来来 均 衡 的 。 因 为 脚 本本 A 获 得 两 倍 的 执 行 时 长 , 它 实 际 上 和和 脚 本本 B 一 样 被 选 择 的 只 有 一 半 。 如 果果 动 态 负 载 均 衡 的 是 频 率 , 那 么 两 个 测 试 脚 本本 执 行 的 次 数 是 相 同 的 。 如 果果 脚 本本 A 执 行 500
- Page 1 and 2:
51Testing 软 件 测 试 网 TestM
- Page 3 and 4:
51Testing 软 件 测 试 网 与 R
- Page 5 and 6:
51Testing 软 件 测 试 网 什
- Page 7 and 8:
51Testing 软 件 测 试 网 测
- Page 9 and 10:
51Testing 软 件 测 试 网 可
- Page 11 and 12:
51Testing 软 件 测 试 网 测
- Page 13 and 14:
51Testing 软 件 测 试 网 项
- Page 15 and 16:
51Testing 软 件 测 试 网 组
- Page 17 and 18:
51Testing 软 件 测 试 网 的
- Page 19 and 20:
51Testing 软 件 测 试 网 ●
- Page 21 and 22:
51Testing 软 件 测 试 网 从 T
- Page 23 and 24:
51Testing 软 件 测 试 网 右
- Page 25 and 26:
51Testing 软 件 测 试 网 右
- Page 27 and 28:
51Testing 软 件 测 试 网 2 测
- Page 29 and 30:
51Testing 软 件 测 试 网 (Repo
- Page 31 and 32:
51Testing 软 件 测 试 网 惯
- Page 33 and 34:
51Testing 软 件 测 试 网 你
- Page 35 and 36:
51Testing 软 件 测 试 网 ●
- Page 37 and 38:
51Testing 软 件 测 试 网 测
- Page 39 and 40:
51Testing 软 件 测 试 网 Explo
- Page 41 and 42:
51Testing 软 件 测 试 网 Ratio
- Page 43 and 44:
51Testing 软 件 测 试 网 显
- Page 45 and 46:
51Testing 软 件 测 试 网 文
- Page 47 and 48:
51Testing 软 件 测 试 网 当
- Page 49 and 50:
51Testing 软 件 测 试 网 ●
- Page 51 and 52:
51Testing 软 件 测 试 网 指
- Page 53 and 54:
51Testing 软 件 测 试 网 解
- Page 55 and 56:
51Testing 软 件 测 试 网 自
- Page 57 and 58:
51Testing 软 件 测 试 网 定
- Page 59 and 60:
51Testing 软 件 测 试 网 和
- Page 61 and 62:
51Testing 软 件 测 试 网 状
- Page 63 and 64:
51Testing 软 件 测 试 网 一
- Page 65 and 66:
51Testing 软 件 测 试 网 过
- Page 67 and 68:
51Testing 软 件 测 试 网 注
- Page 69 and 70:
51Testing 软 件 测 试 网 有
- Page 71 and 72:
51Testing 软 件 测 试 网 在
- Page 73 and 74:
51Testing 软 件 测 试 网 有
- Page 75 and 76:
51Testing 软 件 测 试 网 编
- Page 77 and 78:
51Testing 软 件 测 试 网 针
- Page 79 and 80:
51Testing 软 件 测 试 网 ●VU
- Page 81 and 82:
51Testing 软 件 测 试 网 限
- Page 83 and 84:
51Testing 软 件 测 试 网 要
- Page 85 and 86:
51Testing 软 件 测 试 网 5 测
- Page 87 and 88:
51Testing 软 件 测 试 网 当
- Page 89 and 90:
51Testing 软 件 测 试 网 查
- Page 91 and 92:
51Testing 软 件 测 试 网 ●
- Page 93 and 94:
51Testing 软 件 测 试 网 通
- Page 95 and 96:
51Testing 软 件 测 试 网 ●
- Page 97 and 98:
51Testing 软 件 测 试 网 一
- Page 99 and 100:
51Testing 软 件 测 试 网 如
- Page 101 and 102:
51Testing 软 件 测 试 网 user
- Page 103 and 104:
51Testing 软 件 测 试 网 通
- Page 105 and 106:
51Testing 软 件 测 试 网 Suite
- Page 107 and 108:
51Testing 软 件 测 试 网 ●HT
- Page 109 and 110:
51Testing 软 件 测 试 网 下
- Page 111 and 112:
51Testing 软 件 测 试 网 有
- Page 113 and 114:
51Testing 软 件 测 试 网 对
- Page 115 and 116:
51Testing 软 件 测 试 网 1 在
- Page 117 and 118:
51Testing 软 件 测 试 网 各
- Page 119 and 120:
51Testing 软 件 测 试 网 变
- Page 121 and 122:
51Testing 软 件 测 试 网 在
- Page 123 and 124:
51Testing 软 件 测 试 网 6 测
- Page 125 and 126:
51Testing 软 件 测 试 网 你
- Page 127 and 128:
51Testing 软 件 测 试 网 现
- Page 129 and 130:
51Testing 软 件 测 试 网 TestM
- Page 131 and 132:
51Testing 软 件 测 试 网 注
- Page 133 and 134:
51Testing 软 件 测 试 网 有
- Page 135 and 136:
51Testing 软 件 测 试 网 Multi
- Page 137 and 138:
51Testing 软 件 测 试 网 2 点
- Page 139 and 140:
51Testing 软 件 测 试 网 比
- Page 141 and 142:
51Testing 软 件 测 试 网 结
- Page 143 and 144:
51Testing 软 件 测 试 网 ●
- Page 145 and 146:
51Testing 软 件 测 试 网 注
- Page 147 and 148:
51Testing 软 件 测 试 网 ●
- Page 149 and 150:
51Testing 软 件 测 试 网
- Page 151 and 152:
51Testing 软 件 测 试 网 意
- Page 153 and 154:
51Testing 软 件 测 试 网 在
- Page 155 and 156:
51Testing 软 件 测 试 网 打
- Page 157 and 158:
51Testing 软 件 测 试 网 复
- Page 159 and 160:
51Testing 软 件 测 试 网 Part
- Page 161 and 162:
51Testing 软 件 测 试 网 ●
- Page 163 and 164:
51Testing 软 件 测 试 网 你
- Page 165 and 166:
51Testing 软 件 测 试 网 插
- Page 167 and 168:
51Testing 软 件 测 试 网 该 s
- Page 169 and 170:
51Testing 软 件 测 试 网 本
- Page 171 and 172:
51Testing 软 件 测 试 网 Point
- Page 173 and 174: 51Testing 软 件 测 试 网 该
- Page 175 and 176: 51Testing 软 件 测 试 网 当
- Page 177 and 178: 51Testing 软 件 测 试 网 出
- Page 179 and 180: 51Testing 软 件 测 试 网 ●
- Page 181 and 182: 51Testing 软 件 测 试 网 ●
- Page 183 and 184: 51Testing 软 件 测 试 网 编
- Page 185 and 186: 51Testing 软 件 测 试 网 设
- Page 187 and 188: 51Testing 软 件 测 试 网 当
- Page 189 and 190: 51Testing 软 件 测 试 网 该
- Page 191 and 192: 51Testing 软 件 测 试 网 这
- Page 193 and 194: 51Testing 软 件 测 试 网 放
- Page 195 and 196: 51Testing 软 件 测 试 网 性
- Page 197 and 198: 51Testing 软 件 测 试 网 基
- Page 199 and 200: 51Testing 软 件 测 试 网 Ratio
- Page 201 and 202: 51Testing 软 件 测 试 网 由
- Page 203 and 204: 51Testing 软 件 测 试 网 结
- Page 205 and 206: 51Testing 软 件 测 试 网 跨
- Page 207 and 208: 51Testing 软 件 测 试 网 ●
- Page 209 and 210: 51Testing 软 件 测 试 网 测
- Page 211 and 212: 51Testing 软 件 测 试 网 例
- Page 213 and 214: 51Testing 软 件 测 试 网 性
- Page 215 and 216: 51Testing 软 件 测 试 网 由 s
- Page 217 and 218: 51Testing 软 件 测 试 网 注
- Page 219 and 220: 51Testing 软 件 测 试 网 设
- Page 221 and 222: 51Testing 软 件 测 试 网 创
- Page 223: 51Testing 软 件 测 试 网 当
- Page 227 and 228: 51Testing 软 件 测 试 网 在
- Page 229 and 230: 51Testing 软 件 测 试 网 这
- Page 231 and 232: 51Testing 软 件 测 试 网 地
- Page 233 and 234: 51Testing 软 件 测 试 网 例
- Page 235 and 236: 51Testing 软 件 测 试 网 默
- Page 237 and 238: 51Testing 软 件 测 试 网 使
- Page 239 and 240: 51Testing 软 件 测 试 网 控
- Page 241 and 242: 51Testing 软 件 测 试 网 活
- Page 243 and 244: 51Testing 软 件 测 试 网 注
- Page 245 and 246: 51Testing 软 件 测 试 网 以
- Page 247 and 248: 51Testing 软 件 测 试 网 ●
- Page 249 and 250: 51Testing 软 件 测 试 网 的
- Page 251 and 252: 51Testing 软 件 测 试 网 ●
- Page 253 and 254: 51Testing 软 件 测 试 网
- Page 255 and 256: 51Testing 软 件 测 试 网 表
- Page 257 and 258: 51Testing 软 件 测 试 网 例
- Page 259 and 260: 51Testing 软 件 测 试 网 生
- Page 261 and 262: 51Testing 软 件 测 试 网 删
- Page 263 and 264: 51Testing 软 件 测 试 网 ●
- Page 265 and 266: 51Testing 软 件 测 试 网 Test
- Page 267 and 268: 51Testing 软 件 测 试 网 生
- Page 269 and 270: 51Testing 软 件 测 试 网 文
- Page 271 and 272: 51Testing 软 件 测 试 网 步
- Page 273 and 274: 51Testing 软 件 测 试 网 在
- Page 275 and 276:
Response vs. Time ( 响响 应 时
- Page 277 and 278:
51Testing 软 件 测 试 网 Comma
- Page 279 and 280:
51Testing 软 件 测 试 网 Optio
- Page 281 and 282:
51Testing 软 件 测 试 网 消
- Page 283 and 284:
51Testing 软 件 测 试 网 将
- Page 285 and 286:
51Testing 软 件 测 试 网 ● L
- Page 287 and 288:
51Testing 软 件 测 试 网 To fi
- Page 289 and 290:
51Testing 软 件 测 试 网 你
- Page 291 and 292:
51Testing 软 件 测 试 网 2 点
- Page 293 and 294:
51Testing 软 件 测 试 网 当
- Page 295 and 296:
51Testing 软 件 测 试 网 负
- Page 297 and 298:
51Testing 软 件 测 试 网 如
- Page 299 and 300:
51Testing 软 件 测 试 网 应
- Page 301 and 302:
51Testing 软 件 测 试 网 Comma
- Page 303 and 304:
51Testing 软 件 测 试 网 括
- Page 305 and 306:
51Testing 软 件 测 试 网 令
- Page 307 and 308:
51Testing 软 件 测 试 网 令
- Page 309 and 310:
51Testing 软 件 测 试 网 修
- Page 311 and 312:
51Testing 软 件 测 试 网 系
- Page 313 and 314:
51Testing 软 件 测 试 网 rtvsr
- Page 315 and 316:
51Testing 软 件 测 试 网 你
- Page 317 and 318:
51Testing 软 件 测 试 网
- Page 319 and 320:
51Testing 软 件 测 试 网 UNIX
- Page 321:
51Testing 软 件 测 试 网 本