Visual Studio에서 단위 테스트를 실행할 때 개발자가 사용할 테스트 컨트롤러와 테스트 에이전트를 설정하려고합니다. TA와 TC를 설정하고 서로 연결했습니다. 프로젝트에서 testsettings 파일을 만들고 테스트 실행 메서드를 원격 실행으로 설정하고 테스트 컨트롤러를 가리 킵니다.Visual Studio의 Test Agent에서 러닝 유닛 테스트 : 로그온 시도가 실패했습니다.
------ Run test started ------
Ignoring test impact data collector settings specified in the .TestSettings file.
Failed to queue test run '[email protected] 2014-08-28 08:46:31': The server has rejected the client credentials.
The logon attempt failed
========== Run test finished: 4 run (0:00:17.353169) ==========
테스트 컨트롤러 로그는 다음과 같다 : 내가 아웃 비주얼 스튜디오에 넣어 다음 얻을 TA에서 테스트를 실행하려고하면 내가 받고있는 이유
V, 2156, 23, 2014/08/28, 08:46:31.215, CONTROLLER\QTController.exe, User CORP\user is system, Admin, or controller user
I, 2156, 23, 2014/08/28, 08:46:31.215, CONTROLLER\QTController.exe, A user has successfully authenticated to obtain the ControllerObject.
I, 2156, 23, 2014/08/28, 08:46:31.262, CONTROLLER\QTController.exe, Testing LoadTestResultConnectString
W, 2156, 23, 2014/08/28, 08:46:46.411, CONTROLLER\QTController.exe, Test of LoadTestResultConnectString failed: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
V, 2156, 23, 2014/08/28, 08:46:46.724, CONTROLLER\QTController.exe, ControllerObject: Hello
V, 2156, 23, 2014/08/28, 08:46:46.724, CONTROLLER\QTController.exe, ControllerObject: Hello
V, 2156, 23, 2014/08/28, 08:46:46.756, CONTROLLER\QTController.exe, User CORP\user is system, Admin, or controller user
I, 2156, 23, 2014/08/28, 08:46:46.756, CONTROLLER\QTController.exe, ControllerObject: Creating ControllerExecution for TestRun d7489f6d-4608-4b19-abf5-74d773cf3917
I, 2156, 23, 2014/08/28, 08:46:46.756, CONTROLLER\QTController.exe, ControllerSpooledJob: creating spooled job for test run '[email protected] 2014-08-28 08:46:31'
I, 2156, 23, 2014/08/28, 08:46:46.756, CONTROLLER\QTController.exe, ControllerObject: Queuing TestRun d7489f6d-4608-4b19-abf5-74d773cf3917
V, 2156, 23, 2014/08/28, 08:46:49.494, CONTROLLER\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: AGENT of environment [Default] trying to connect.
V, 2156, 23, 2014/08/28, 08:46:49.494, CONTROLLER\QTController.exe, ControllerObject: AgentHello from AGENT
나는 확실하지 않다 TA와 TC가 서로 잘 대화 할 때이 로그온 오류가 발생합니다. 나는 그것이 LoadTestResultConnectString과 관련이있을 수 있다고 생각하지만 그것에 대해 많이 알지 못했다.