51Testing 软 件 测 试 网 能 导 致 系 统 崩 溃 。 争 用 测 试 (Contention Tests) 争 用 测 试 包包 含 虚 拟 测 试 者 在 一 台 或 更 多 的 测 试 机机 上 执 行 , 以 模 拟 一 个 真 实 的 用 户 环 境 。 例 如 , 你 可 能 有 虚 拟 测 试 者 进 入 到到 相 同 的 数 据 库 , 以 发 现 诸 如 锁 定 , 死 锁 条条 件 , 以 及 并 发 操 作 的 问 题 。 争 用 测 试 执 行 起 来来 比 较 困 难 , 原 因 是 它 需 要 在 虚 拟 测 试 者 之 间 进 行 准 确 的 协 调 。 利 用 TestManager, 你 可 以 进 行 多 重 测 试 机机 的 测 试 , 虚 拟 测 试 者 在 它 们 继 续 执 行 之 前前 , 等 待 条条 件 以 满 足 与 其 搭 配 的 , 或 其 他 的 测 试 机机 。 例 如 , 你 可 能 在 一 台 测 试 机机 上 有 一 个 虚 拟 测 试 者 添 加 一 个 记 录 到到 数 据 库 中 , 并 且 在 另 一 台 测 试 机机 上 有 第 二 个 虚 拟 测 试 者 , 直 到到 第 一 个 虚 拟 测 试 者 完 成 记 录 的 添 加 方 才 暂 停 。 第 二 个 虚 拟 测 试 者 可 以 读 该 记 录 。 本本 地 和和 代 理 测 试 机机 (Local and Agent Computers) 你 需 要 在 单 个 的 一 台 运 行 TestManager 的 Windows NT 测 试 机机 上 协 调 你 所 有 的 测 试 脚 本本 活 动 。 这 就 是 所 谓 的 Local computer( 本本 地 测 试 机机 )。 从 本本 地 测 试 机机 上 , 你 可 以 创 建 , 执 行 , 以 及 监 控 suites。 在 一 个 测 试 执 行 期 间 , 你 可 以 在 本本 地 测 试 机机 或 你 设 计 为 Agent computers( 代 理 测 试 机机 ) 的 测 试 机机 上 录 制 回 放 测 试 脚 本本 。 在 下 面 的 测 试 情 况 下 , 你 使 用 一 台 代 理 测 试 机机 : ● 添 加 工 作 负 载 到到 服 务 器 (Adding workload to the server)— 如 果果 你 执 行 一 个 具 有 大 量 虚 拟 测 试 者 的 测 试 , 那 么 你 可 以 使 用 代 理 测 试 机机 来来 添 加 工 作 负 载 到到 服 务 器 。 ● 在 一 台 或 多 于 一 台 的 测 试 机机 上 执 行 测 试 脚 本本 (Running test scripts on more than one computer)-- 如 果果 你 正 在 执 行 一 个 功 能 测 试 , 你 可 以 通 过 在 下 一 个 可 用 的 代 理 测 试 机机 上 执 行 该 测 试 脚 本本 来来 节 约 时 间 , 该 代 理 测 试 机机 替 代 本本 地 测 试 机机 执 行 所 有 的 测 试 脚 本本 。 对 于 这 种 情 况 , 该 测 试 脚 本本 必 须 模 块 化化 和和 独 立 的 。 ● 测 试 硬 件 配 置 (Testing hardware configurations)— 如 果果 你 正 在 测 试 不 同 的 硬 件 配 置 , 你 可 以 在 不 同 的 代 理 测 试 机机 上 执 行 测 试 脚 本本 , 而 这 些 测 试 机机 设 置 了 这 些 硬 件 配 置 。 Suites 一 般 地 , 多 个 测 试 脚 本本 和和 多 个 测 试 机机 是 包包 含 在 一 个 测 试 当 中 的 。 在 执 行 时 , 测 试 脚 本本 的 回 放 是 通 过 你 设 计 的 测 试 suites 来来 协 调 的 。 这 些 测 试 suites 添 加 一 个 工 作 负 载 到到 该 服 务 器 。 你 从 本本 地 测 试 机机 上 执 行 这 些 suites。 一 旦 你 使 用 TestManager 创 建 了 suites, 这 个 suites 描 述 成 服 务 器 的 一 个 基 线 特 征 , 你 就 可 以 反 复 地 执 行 这 些 suites 来来 和和 产 品品 的 连 续 构构 造 相 比 较 , 然 后 使 用 TestManager 的 报 告告 工 具 来来 分 析析 这 些 结 果果 。
51Testing 软 件 测 试 网 Rational TestManager 与 性 能 测 试 (Rational TestManager and Performance Testing) 利 用 TestManager 进 行 性 能 测 试 , 可 以 帮 助 你 在 将 应 用 程 序 部 署 到到 真 实 环 境 之 前前 发 现 并 改 正 性 能 方 面 的 问 题 。 通 过 TestManager, 你 可 以 得 到到 你 需 要 的 所 有 的 工 具 , 来来 确 定 , 隔 离 , 并 分 析析 性 能 瓶 颈 。 作 为 一 个 自 动 负 载 测 试 工 具 ,TestManager 模 拟 一 个 或 多 个 实 际 用 户 执 行 各 种 计 算 任 务 。 由 虚 拟 测 试 者 替 换 用 户 ,TestManager 消 除 用 户 的 需 要 来来 手 工 地 添 加 工 作 负 载 到到 该 服 务 器 中 。 由 于 TestManager 允 许 你 在 一 台 单 独 的 测 试 机机 上 回 放 多 个 虚 拟 测 试 者 的 活 动 , 你 可 以 在 一 些 测 试 机机 — 或 一 台 测 试 机机 上 , 执 行 包包 含 上 百 或 上 千 个 虚 拟 测 试 者 的 测 试 。 TestManager 环 境 (The TestManager Environment) TestManager 能 够 使 你 在 一 个 分 布 式 的 环 境 中 执 行 suite。 这 个 环 境 由 单 个 的 本本 地 测 试 机机 ( 在 该 测 试 机机 上 协 调 测 试 的 执 行 和和 回 放 测 试 脚 本本 ), 和和 零 或 更 多 台 的 代 理 测 试 机机 ( 在 该 测 试 机机 上 回 放 测 试 脚 本本 ) 构构 成 。 服 务 器 可 以 执 行 在 多 种 操 作 系 统 下 , 并 通 过 TCP/IP 网 络 连 接 到到 本本 地 和和 代 理 测 试 机机 上 。 下 图 举 例 说 明 了 一 个 典 型 的 TestManager 配 置 :
- 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: 51Testing 软 件 测 试 网 基
- 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 and 224: 51Testing 软 件 测 试 网 当
- Page 225 and 226: 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 软 件 测 试 网 本