UiPath Documentation
test-manager
latest
false

Test Manager 用户指南

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

性能测试故障排除

请参阅常见错误和调试失败场景列表。

找不到选取器。

Solution: Update UI selectors and validate in Studio.

包不匹配。

Solution: Upgrade to supported package versions and redeploy.

机器人连接问题。

Solution: Check Orchestrator configuration and credentials.

调试失败的场景。

Solution: Use application logs, drill into HTTP error details, and analyze infrastructure usage charts to isolate root causes.

对缺少的 PT 指标进行故障排除(端口 5671 已阻止)

If Performance Testing charts are empty or metrics are missing, it may be caused by a firewall blocking Port 5671, which is required for communication with Azure Event Hub. The UiPath Robot uses this port to send performance metrics to the Performance Testing Service. If the port is blocked, metrics cannot be transmitted.

Context:

  • 通信协议
    • Protocol: AMQP (Advanced Message Queuing Protocol)
    • Transport: TCP
    • Port: 5671
  • 加密方式
    • All communication is secured using TLS 1.2.
    • Encryption in transit is enforced by Azure Event Hub.
    • Data at rest is encrypted using Microsoft-managed keys UiPath does not apply additional encryption at the application layer.
  • 身份验证
    • Authentication is handled using Shared Access Signature (SAS) tokens.
    • Tokens are issued and validated by Azure Event Hub.
    • 只有经过身份验证的客户端才能发布消息。
  • 端点详细信息
    • 端点格式: *.http://servicebus.windows.net|servicebus.windows.net
    • Service: Azure Event Hub (Microsoft Azure managed service).
  • 架构概述
    1. 机器人使用 AMQP over TLS 发送性能指标。
    2. Data is transmitted to Azure Event Hub.
    3. The Performance Testing service consumes the events.
    4. 指标在仪表板中处理并显示。

Solution:

  1. Run the following command on the Robot machine using Windows PowerShell.
    Test-NetConnection -ComputerName tmh-prod-tmh-eus-ehn.servicebus.windows.net -Port 5671
    Test-NetConnection -ComputerName tmh-prod-tmh-eus-ehn.servicebus.windows.net -Port 5671
    
  2. 解释结果。
    • 端口已打开(预期)。这意味着机器人可以成功与 Azure 事件中心通信。
      TcpTestSucceeded : True
      TcpTestSucceeded : True
      
    • Port is blocked. This indicates that the firewall is blocking outbound communication on Port 5671.
      WARNING: TCP connect to (x.x.x.x : 5671) failed
      WARNING: TCP connect to (x.x.x.x : 5671) failed
      
      TcpTestSucceeded : False
      TcpTestSucceeded : False
      

允许以下出站连接(防火墙规则)。

 ```
 ProtocolPortDestinationTCP5671*.http://servicebus.windows.net|servicebus.windows.net
 ```
 ```
 ProtocolPortDestinationTCP5671*.http://servicebus.windows.net|servicebus.windows.net
 ```

Additional information:

  • If port 5671 is blocked, performance metrics cannot be delivered, resulting in empty charts.
  • 如果连接成功,但仍缺少指标,则需要进一步调查机器人日志。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新