"测试代理无法连接到测试控制器" VS2013代理商

时间:2015-10-16 21:45:35

标签: visual-studio-2013 load-testing

我在尝试将测试代理注册到负载测试控制器时收到错误

Configuration started on 2015/10/16, 16:05:47.
OS Version : Microsoft Windows NT 6.3.9600.0
Executable version : 12.0.21005.1

I, 2015/10/16, 16:06:07.812, Restarted service successfully.
I, 2015/10/16, 16:06:07.968, Verifying that the test agent is able to connect to the test controller.
E, 2015/10/16, 16:08:10.005, Test agent could not connect to the test controller.
I, 2015/10/16, 16:08:10.005, Disabling auto logon on the machine...
I, 2015/10/16, 16:08:10.005, Adding agent setting AutoLogonEnabledByAgentConfiguration=0 on agent machine

在Windows事件日志中,可以看到:

Unable to connect to the controller on 'machinename:6901'. The server has rejected the client credentials.
The logon attempt failed

我已经为那些报告过类似问题的人找到了所有功能(防火墙被禁用,没有防病毒,UAC被禁用,用户在管理员组以及TeamTestAgentService / ControllerAdmins / ControllerUsers)。我尝试在不同用户/同一用户/"下运行设置;作为管理员"同时仍然使用相同的用户名/密码进行登录。尝试将不同的机器测试代理指向此控制器并发生相同的错误。对于另一个站点,我也尝试将其添加到QTAgentService.exe.config

  <appSettings>
    <add key="BindTo" value="x.x.x.x"/>
  </appSettings>

我还尝试过使用Controller和Test Agent的不同帐户。 IE CtrlUser和TestUser都在上面列出的相同组中。据我所知,这应该有效,因为它们应该是Workgroup身份验证的相同名称/通行证。

我已经引用了这些页面,除非我遗漏了某些内容,否则这些解决方案不适用。

有任何想法/建议吗?

1 个答案:

答案 0 :(得分:0)

我使用的是先前员工下载的版本,我们一直用于CodedUI测试(12.0.21005.1)。我下载了最新版本(2013 Update 5),安装完成后,它使用了我之前使用的相同设置。