UiPath Documentation
test-manager
latest
false

Test Manager 用户指南

上次更新日期 2026年5月6日

性能测试 - 用法示例

VU units are pulled from the license server at runtime and released back to the license pool after your performance tests are finished. The execution of performance tests will be allowed by the system if there are sufficient unused VU units on the license server. The execution of performance tests will be blocked by the system if there aren’t sufficient VU units available on the license server.

示例 1 - 允许执行性能测试

In the following example, a customer who owns 1 bundle (2,500 VU units) creates 2 testing scenarios.

  • 测试场景 1

    • 1 Web UI test case with 100 virtual users = 1,000 VU units
    • 1 API test case with 500 virtual users = 500 VU units
    • Total: 1,500 VU units
  • 测试场景 2

    • 1 Desktop test case with 10 virtual users = 1,000 VU units
    • Total: 1,000 VU units

这两个测试场景可以在配置的许可证限制内执行。

场景 1 + 场景 2 = 2,500 个 VU 单元

示例 2 - 执行性能测试受阻

In the following example, a customer who owns 1 bundle (2,500 VU units) creates 2 testing scenarios.

  • 测试场景 1

    • 1 Web UI test case with 100 virtual users = 1,000 VU units
    • 1 API test case with 500 virtual users = 500 VU units
    • Total: 1,500 VU units
  • 测试场景 2

    • 15 Desktop test cases with 10 virtual users = 1,500 VU units
    • Total: 1,500 VU units

Combined, the 2 testing scenarios exceed the provisioned license limit. For this example, only Test Scenario 1 is run. However, when Test Scenario 1 (or another test worth at least 1,500 VU units) is completed, users can trigger the execution of Test Scenario 2. After a scenario execution completes, the used VU units are released back to the license server and they become available again. Users can, at this point, run the scenarios that may have previously exceeded the available VU unit capacity.

场景 1 + 场景 2 = 3,000 个 VU 单元

  • 示例 1 - 允许执行性能测试
  • 示例 2 - 执行性能测试受阻

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新