VS2010 Load Test: Cannot Connect to Test Controller

I am setting up a load controller and agents. I adhered to the following recommendations:

Setting up the controller and agents was pretty simple. Both of these services run under a local user named "LoadTest" who is a member of the local Administrators group.

As a next step, Create a new test setup, which uses a test controller and test agents, as well as data and diagnostic adapters , I added a new "Test parameters" to the solution elements of my Visual Studio 2010 solution. However, I can not determine the controller that will be used on the Roles tab:

Roles tab of the Test Settings

I entered "localhost: 6901" as the controller, then a warning icon appeared on the right. If I hung over it, he says:

Unable to connect to the localhost controller. If the controller service is not running, you can start it by clicking the reset button.

The following error was received: You do not have the appropriate rights to perform this action.

I run Visual Studio in my personal user account, which is different from the user who runs the test controller ("LoadTest"). But I believe that this should be a normal use case. In addition, I, as a user of LoadTest, are members of the Administrators group.

Can someone tell me why this will not work?

+6
source share
1 answer

I found a " " Troubleshooting Guide for the Test Controller and Visual Studio Agent "that says:

2.2.1. Permissions: Test controller not connected to the TFS server:

  • To run tests remotely, a client user must belong to either TeamTestControllerUsers, TeamTestControllerAdmins, or the local Administrators group on the controller computer.
  • To manage the controller / agent, the client user must belong to the local TeamTestControllerAdmins group or to administrators on the controller computer.
  • The agent account must belong to either the local TeamTestAgentService group or to the administrator on the controller computer.
  • The controller service account must belong to either the local TeamTestControllerUsers group group or to the administrator on the controller computer.
  • Service accounts with blank / no passwords are not supported.

Despite the fact that my personal account is already in the local group of administrators, this seems to be insufficient for now. Therefore, I added the user to the TeamTestControllerUsers group, and this fixed it.

+6
source

Source: https://habr.com/ru/post/892004/


All Articles