- 入门指南
- 项目管理
- 项目操作和实用程序
- Test Manager 设置
- ALM 工具集成
- API 集成
- 故障排除
Test Manager 用户指南
请参阅常见错误和调试失败场景列表。
找不到选取器。
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).
- 端点格式:
- 架构概述
- 机器人使用 AMQP over TLS 发送性能指标。
- Data is transmitted to Azure Event Hub.
- The Performance Testing service consumes the events.
- 指标在仪表板中处理并显示。
Solution:
- Run the following command on the Robot machine using Windows PowerShell.
Test-NetConnection -ComputerName tmh-prod-tmh-eus-ehn.servicebus.windows.net -Port 5671Test-NetConnection -ComputerName tmh-prod-tmh-eus-ehn.servicebus.windows.net -Port 5671 - 解释结果。
- 端口已打开(预期)。这意味着机器人可以成功与 Azure 事件中心通信。
TcpTestSucceeded : TrueTcpTestSucceeded : 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) failedWARNING: TCP connect to (x.x.x.x : 5671) failedTcpTestSucceeded : FalseTcpTestSucceeded : False
- 端口已打开(预期)。这意味着机器人可以成功与 Azure 事件中心通信。
允许以下出站连接(防火墙规则)。
```
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.
- 如果连接成功,但仍缺少指标,则需要进一步调查机器人日志。