visual-studio - VS2013测试代理和 Controller 不通信

标签 visual-studio testing azure load load-testing

我有一个运行 VS2013 负载测试 Controller 的 Windows Azure VM 和另一个运行 2013 负载测试代理的 Azure VM。

我无法让两者成功通信。我将每个虚拟机的主机名和 IP 添加到另一个虚拟机的 HOSTS 文件中。我还在两台计算机上创建了一个具有相同用户名和密码的本地管理员帐户。两台机器都没有加入域。我还为每个虚拟机创建了端口 6901/TCP 的端点。我能够从代理虚拟机远程登录到 Controller 虚拟机上的端口 6901。

当我应用测试代理配置设置时,它失败并显示“测试代理无法连接到测试 Controller ”。在代理配置日志中,我看到:

Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

在事件查看器中,我看到:

Unable to connect to the controller on 'controllerVM:6901'. The agent can connect to the controller but the controller cannot connect to the agent because of following reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 168.62.XX.XX:6910. Make sure that the firewall on the test agent machine is not blocking the connection.

到目前为止我完全无法解决这个问题。我需要帮助。

最佳答案

您可以检查一下您的c:\windows\system32\drivers\etc\hosts 文件代理和 Controller 吗? 如果有一个条目分配给 127.0.0.1,请将其删除。

关于visual-studio - VS2013测试代理和 Controller 不通信,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20981451/

相关文章:

linux - 我可以使用 Visual Studio 开发 Linux C 或 C++ 吗?

c# - WPF 应用程序的测试自动化

azure - 当我的订阅/位置没有可用大小时,如何在 azure 上创建虚拟机

azure - 如何修复 Azure DevOps 发布管道中的错误 "Error Code: ERROR_DESTINATION_INVALID"

azure - 如何使用 .NET Core 3.1 通过 Visual Studio 2019 开发 Azure Functions 时使用 AD 身份验证

visual-studio - 通过 Visual Studio 将 ASP.NET Web API 发布到 Azure 时出错

c# - 尝试创建HttpWebRequest时,System.dll中发生了 'System.UriFormatException'类型的未处理异常

c++ - 双向链表的 c++ 程序中未处理的异常

jpa - Spring Boot 和 FlywayTest 导致 JPA Camel 路由在数据库重置期间抛出异常

testing - 最小起订量 - 是否可以在设置中指定验证标准(例如调用次数)?