Do I need Install VS in test agent

Hi. I have test agent in my local TFS 2013. I try execute remotely CodedUI Test from Build Definition. But I see error:
Exception Message: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (type FileNotFoundException)
Exception Stack Trace:    at Microsoft.TeamFoundation.Lab.Workflow.Activities.ExecuteRemoteTestRun2.TestRunCreation.CreateTestRun(CodeActivityContext context, ITestManagementService testManager, ITestManagementTeamProject project)
   at Microsoft.TeamFoundation.Lab.Workflow.Activities.ExecuteRemoteTestRun2.TestRunCreation.Execute(CodeActivityContext context)
   at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
So. In Virtual Machine didn't install Visual Studio 2013.  Do I need install VS to test agent to solve this problem?
Or If I will put this missing library's in some folder in test agent. Can I use it, when I execute test?  

Hi Max,
I am glad to hear you resolved the issue. Thanks for sharing your experience here, it is good to other members who experience the same issue in the community.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Execution of Coded UI scripts with least possible test execution time in Windows7 Operating system using Visual Studio Test Agent 2010 without VS2010 installed

    Hi All,
    We are trying to execute coded UI scripts without Visual Studio installed. We are using “Visual Studio Test Agent 2010” for executing coded UI scripts without VS2010 in Windows 7, it is working fine. Also we verified executing the same script with VS2010
    Premium, it works fine as well.
    Here the challenge we are facing is with the Test execution time.
    When we run the coded UI script with IE11-Windows 7 OS-Visual Studio 2010 Premium it takes
    3min 36sec to complete the execution whereas with IE11-Windows 7 OS-Visual Studio Test Agent 2010  it takes
    6min 40sec for the same script to execute (which is almost double the time it takes while executing using VS2010).
    My question is what may be the reason for this difference? and how we can reduce the test execution time when running from Test Agent 2010?
    Kindly let us know what is the best practice to execute the coded UI scripts with least test execution time in Windows 7 Operating system using Visual Studio Test Agent 2010 without VS2010
    installed.
    Looking forward for your positive response.
    Thanks in advance..!!

    Tina-Shi, Thanks for the information.
    As you mentioned, we tried to execute the coded UI test using Mstest.exe in command on VS2010 Premium and checked on the execution
    time, there was a slight difference.
    Please find below execution time.
    Using Mstest.exe in command on VS2010 Premium/Win7 – 3.47 minutes
    Using VS2010 Premium/Win7 – 3.53 minutes
    Using Test Agent/Win7 – 7.3 minutes
    Also, I closed all the other processes in Task manager before starting up the execution.
    Still , I am facing the same Issue. Could you please suggest any other way to reduce the scripting time of coded UI script execution
    through Test agent 2010.
    Looking forward for your earliest response.

  • Do I need to unload the GroupWise agents if I am installing WebAccess on its own server?

    Hi,
    I ma installing GW Web Access into our GW703 tree and the install is prompting me to unload all agents on the machine to which I am installing.
    As I am installing onto a separate server, I am assuming I can leave my PO, GWIA and MTA running?
    Can someone confirm this before I proceed?
    Thanks for your help

    Thanks!
    >>>
    From: Joseph Marton<[email protected]>
    To:novell.support.groupwise.7x.web-access
    Date: 07/23/2010 9:39 AM
    Subject: Re: Do I need to unload the GroupWise agents if I am installing Web Access on its own server?
    Jason wrote:
    > I ma installing GW Web Access into our GW703 tree and the install is
    > prompting me to unload all agents on the machine to which I am
    > installing.
    >
    > As I am installing onto a separate server, I am assuming I can leave
    > my PO, GWIA and MTA running?
    Yes, the install means to unload all agents running on the server where
    you are installing WebAccess. If all your agents are on other servers
    you can leave them running.
    Novell Knowledge Partner
    Enhancement Requests: http://www.novell.com/rms

  • Test Manager cannot install Test Agent on selected VMs (trying to create a new environment)

    I am trying to create a new SCVMM environment.
    I picked a bunch of VMs that are up and running.
    I know the administrator credentials for these VMs (It's the same for all of the chosen VMs)
    I have a test controller on my dev machine which is also up and running.
    But I'm getting an error in the Verification step saying -
    "Microsoft test manager cannot install test agent on these machines. Possible causes:
    - Machines are not running or they are not available on the network.
    - The File and Printer sharing exception is not enabled on the machines."
    I have done the following -
    1) Disabled firewalls on all the machines
    2) Network Adapters on all the machines are connected (ON) and their drivers are up to date
    3) Enabled file and printer sharing exceptions on all machines
    Still getting the same error.
    Any ideas?
    Thanks a bunch!

    That's probably a very well written description of what
    you've done... it seemed refreshingly thorough. I'm on the verge of
    a cold or something, with a slightly fuzzy brain, so what I thought
    I read seemed to describe you've done just about everything
    correctly, except for one thing (maybe another)... If you gave the
    button the instance name stepin...
    stepin.addEventListener(MouseEvent.MOUSE_DOWN,
    mouseDownHandler);
    and you could/should change that from MOUSE_DOWN to CLICK
    If that's not the problem, then it is possible the issue
    arises due to the tween. Be sure to have the button instance name
    assigned at both ends of the tween (I'm assuming by classic tween
    you mean a timeline tween). For some reason objects don't like to
    give up some of their past life's properties when moving from one
    frame to the next, so if the beginning of the tween doesn't have an
    instance name, then it's likely that it stays that way when it
    reaches the other end despite you assigning the name there.
    PS - for the stepin button, if you haven't already done so,
    you should open it for editing and draw a rectangle in the 4th
    (Hit) frame that covers the entire area of the text. It will not be
    visible, but will allow clicking between letters in the button...
    making it easier to click on

  • Error "Test Agent could not connect to the test controller" while configuring the Test Agent on Client machine

    Hi,
    I am getting an Error “Test Agent could not connect to the test controller”
     while configuring The Test Agent on Client machine.
    Pre-requisite used:  
    VS2012 update 4, Test agent & Test controller of same version used
    User has TFS admin access.
    Same user id used for configuring Test Agent.
    Description:
    Test controller is installed on server A. I want to install test agent on client machine B.
    Windows Fire wall is OFF on both Machines A & B. While configuring Test Agent below error is occurred:
    “Test Agent could not connect to the test controller”
    In log file error was “I, 2015/04/02, 15:32:21.723, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.”
    In Event viewer below error details given:
    Unable to connect to the controller on ‘My Server: 6901’. The agent can connect to the controller but the controller cannot connect to the agent because of following reason: The requested name is valid, but no data of the requested type was found.
    Make sure that the firewall on the test agent machine is not blocking the connection.
    Could you please help me to find solution?
    Thanks in advance!
    Kanchan M
    Kanchan

    Hi Kanchan,
    So on each computer, you create a local user account that is a member of the Administrators group, and use the same account and password on each machine(controller and Agent), am I right?
    Could you enable the detailed log message?
    http://blogs.msdn.com/b/aseemb/archive/2010/03/07/how-to-enable-test-agent-logs.aspx
    http://blogs.msdn.com/b/aseemb/archive/2009/11/28/how-to-enable-test-controller-logs.aspx
    >>In log file error was “I, 2015/04/02, 15:32:21.723, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.”I
    met a similar issue before which was related to the Firewall exceptions, maybe you could refer to it here:
    http://stackoverflow.com/questions/12249093/test-agent-could-not-connect-to-the-test-controller-vs2012-agents
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller

    we are using VS 2013, I need to run multiple Coded UI Ordered Tests in parallel on different agents.
    My requirement :
    Example:   I have 40 Coded UI Test scripts in single solution/project. i want to run in different OS environments(example 5 OS ).  I have created 5 Ordered tests with the same 40 test cases. 
    I have one Controller machine and 5 test agent machines. Now I want my tests to be distributed in a way that every agent gets 1 Ordered test to execute. 
    Machine_C = Controller (Controls Machine_1,2,3,4,5)
    Machine_1 = Test Agent 1 (Should execute Ordered Test 1 (ex: OS - WIN 7) )
    Machine_2 = Test Agent 2 (Should execute Ordered Test 2 (ex:
    OS - WIN 8) )
    Machine_3 = Test Agent 3 (Should execute Ordered Test 3
    (ex: OS - WIN 2008 server)  )
    Machine_4 = Test Agent 4 (Should execute Ordered Test 4 (ex:
    OS - WIN 2012 server) )
    Machine_5 = Test Agent 5 (Should execute Ordered Test 5 (ex:
    OS - WIN 2003 server) )
    I have changed the  “MinimumTestsPerAgent” app setting value
    as '1' in controller’s configuration file (QTController.exe.config).
    When I run the Ordered tests from the test explorer all Test agent running with each Ordered test and showing the status as running. but with in the 5 Test Agents only 2 Agents executing the test cases remaining all 3 agents not executing the test cases but
    status showing as 'running' still for long time (exp: More then 3 hr) after that all so  its not responding. 
    I need to know how I can configure my controller or how I can tell it to execute these tests in parallel on different test agents. This will help me reducing the script execution time. 
     I am not sure what steps I am missing. 
    It will be of great help if someone can guide me how this can be achieved.
    -- > One more thing Can I Run one Coded UI Ordered Test on One Specific Test Agent?
    ex: Need to run ordered Test 1 in Win 7 OS (Test Agent 1) only.
    Thanks in Advance.

    Hi Divakar,
    Thank you for posting in MSDN forum.
    As far as I know, we cannot specify coded UI ordered test run on specific test agent. And it is mainly that test controller determine which coded UI ordered test assign to which test agent.
    Generally, I know that if we want to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller.
    We will need to change the MinimumTestsPerAgent property to 1 in the test controller configuration file (QTControllerConfig.exe.config) as you said.
    And then we will need to change the bucketSize number of tests/number of machines in the test settings.
    For more information about how to set this bucketSize value, please refer the following blog.
    http://blogs.msdn.com/b/aseemb/archive/2010/08/11/how-to-run-automated-tests-on-different-machines-in-parallel.aspx
    You can refer this Jack's suggestion to run your coded UI ordered test in lab Environment or load test.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/661e73da-5a08-4c9b-8e5a-fc08c5962783/run-different-codedui-tests-simultaneously-on-different-test-agents-from-a-single-test-controller?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ApplicationUnderTest.CloseOnPlaybackCleanup property doesn't work as intended with MS Test Agent 2010

    Hi All, 
    I launch the application which I need to test by using ApplicationUnderTest.Launch() method and I need to keep the application open for the rest of the tests so I tried to set ApplicationUnderTest.CloseOnPlaybackCleanup = false to achieve that. 
    1) I use MS Test Agent 2010 to run my Coded UI Tests in a server machine and without running tests it threw an error which said "Method not found: 'Void Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest.set_CloseOnPlaybackCleanup(Boolean)".
    Then I replaced UITesting.dll in the server machine with the one used by Visual Studio 2010 SP 1 which is located in my machine. Then it started to run tests. 
    2) Even though I have set  ApplicationUnderTest.CloseOnPlaybackCleanup = false Coded UI Test closes the application at the end of the test which was really strange. It sounds like that disregard
    of the value I have set, CUIT always close the application when running with MS Test Agent. 
    3) Then I noticed that on my machine it happens completely other way around most of the time. Irrelevant of the value it always keep the application open after the test. Which means even I set  ApplicationUnderTest.CloseOnPlaybackCleanup = true that
    will keep open the application. But if I can remember correctly this didnt happen when I first tried this approach, it worked perfectly. 
    Is this a a bug that should be fixed? Or am I missing something obvious?
    Thanks in advance, 
    /Rakitha

    Hi Rakitha,
    As far as I know, this issue has been resolved in VS2012.
    http://blogs.msdn.com/b/visualstudioalm/archive/2012/11/08/using-same-applicationundertest-browserwindow-across-multiple-tests.aspx
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Microsoft Test Agent appears to be blocking Outlook connectivity to Exchange

    Core Problem
    The problem I am having is that connectivity to Exchange from Outlook is blocked while executing an integration test through the Microsoft Test Agent (i.e. Outlook
    is in the disconnected state). The test is launched through Microsoft Test Manager.
    Below is the code for the integration test I am having problems with and I simplified the code as much as possible to rule out code within the integration test
    causing the problem. I also eliminated all other tests from running.
    [TestMethod]
    public void LaunchOutlook()
    Process.Start(new ProcessStartInfo(@"C:\Program Files (x86)\Microsoft Office\Office14\Outlook.exe"));
    Thread.Sleep(120000);
    I can change how long Outlook is blocked by changing the Thread.Sleep timeout. While the test is running, I can restart Outlook and Outlook is still blocked.
    After the test ends while Outlook is still running, connectivity to Exchange is restored. This happens for Outlook 2010 and Outlook 2013. If I run the integration test within a console app, Outlook connectivity is not blocked. If I run the test code manually
    through MSTest.exe, Outlook connectivity is not blocked.  The only way it’s blocked is if the integration test is executed by the Microsoft Test Agent which is the required approach for integration testing.
    More details on the problem
    Outlook is running on a machine that is part of a Hyper-V Lab with network isolation enabled. There are other machines within the same lab that have Outlook
    instances pointed against the same Exchange server. Executing the test on one machine causes Outlook connectivity issues with other machines within the same lab where the Outlook instances are pointed at the same Exchange server.
    I have small Hyper-V lab with network isolation enabled which is very similar to the lab mentioned above. The major difference is that it only has one machine
    with Outlook installed. This Outlook is able to connect to Exchange while executing the test above through Microsoft Test Manager. It is very clear that this is an environmental issue since it works in one lab and not the other. Both labs have the same Exchange
    server installed, and the same Microsoft Test Agent installed on all machines within the lab.
    I have ruled out the Outlook version as being the issue since the larger lab contains the same Outlook version as the Outlook version in the smaller lab.
    During test run
    Notice that Outlook is in the disconnected state.
    After test run.
    Notice that Outlook is not connected to Exchange.
    Environment Information
    Outlook 2010 Version: (14.0.7113.5000) SP2 (14.0.1740.5002) 64-bit or 32-bit Outlook 2013 Version: (15.0.4667.1000) MSO (15.0.4675.1002) 64-bit or 32-bit Windows
    7 Version: 6.1 (Build 7601: Service Pack 1)
    Exchange 2013 Version: 15.0 ‎(Build 847.32)‎ Windows Server 2008 R2 Version: 6.1 (Build 7601: Service Pack 1) Microsoft Test Manager 2013 Version: 12.0.31101.0
    TFS 2013 Update 4 Version: 12.0.31101.0 Microsoft Test Agent Version: 12.0.31101.0 Update 4
    Troubleshooting Steps
    I launched procmon and looked for failed TCP and UDP operations for indication of network failures and found none.
    I turned on enable troubleshooting logging in Outlook and nothing within the logs looks obvious.
    Pinging the Exchange server while the test is running still works.
    I ran the integration test through the command line using MSTest.exe and outlook connectivity is not blocked.
    Requesting Help
    Can you please help me troubleshoot this problem? I see two approaches to identifying the problem.
    Looking for differences between the two environments
    Obtaining logs or other information that would expose the core problem.
    I am open to suggestions or ideas especially if you have a different approach to solving the problem. Feel free to ask for other information related to the problem
    like logs, PowerShell commands, and registry values.
    If you are short on time, can you at least post some suggestions or ideas related to resolving this problem?
    Thanks, Keith

    After installing fiddler I figured out what the problem was. The Microsoft Test Agent was activating a proxy server which was blocking connectivity to exchange. The proxy server was activated due to having the ASP.Net Client Proxy for IntelliTrace and Test
    Impact turned on. 
    Below is a link to the article with the exact same problem.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/ecc0b342-8e4d-436c-90c2-5f11bce1e9d8/proxy-server-settings-being-set-automatically-which-is-causing-me-not-to-be-able-to-run-manual-test?forum=vsmantest

  • Test Agents issues

    Hello, 
    I am working on setting up an environment where we will be running Coded UI tests. I’m planning on triggering the tests from TFS builds.
    I have a test plan with 1 automated test case that doesn’t do much – it’s meant to always succeed
    5 VMware servers with Test Agents – each is used in Desktop Client role – automated test launches browser window and types in user name on a Login page
    If I RDP onto test machine, my Test Run (triggered by TFS build) is executed and succeeds
    I am able to have the Test Run execute and succeed without me logging onto the test machine with the test user – so I know that, at least at some point –
    Controller and agent accounts are in correct security groups
    Firewalls exceptions got created during the configurations of controller & agent
    Screen savers are disabled
    Agent runs as process and is able to interact with the desktop
    Without any changes to the Coded UI test or the environments themselves (as far as I can tell), my TFS test build randomly fails. I’ve seen a number of different errors:
    The unit test adapter failed to connect to the data source or to read the data
    Error calling Initialization method for test class PortalCodedUI.Tests.PageLogInCodedUITest: Automation engine is unable to playback the test because it is not able to interact with the desktop.  This could happen if the computer running the test is
    locked or it’s remote session window is minimized.
    Test method PortalCodedUI.Tests.PageLogInCodedUITest.CodedUITestMethod1 threw exception… Failed to find any control that matched the search condition…
    NOTE: screenshot shows minimized browser window
    Failed to queue tests for test run […] on agent […]: No connection could be made because the target machine actively refused it
    An error occurred while communicating with Agent
    Unable to create instance of class PortalCodedUI.Tests.PageLogInCodedUITest. Error: System.ComponentModel.Win32Exception: Access is denied.
    Another error that shows up in the Test Controller’s log is: Unable to delete temporary files on the following agent(s): vstfs:///LabManagement/TestMachine/1 – please note that the account the controller is running under is an admin on the Test Agent box.
    Usually, restarting the machine and repairing the environment makes the test run and succeed again.
    Given the fact that the errors I’m seeing are all over the place, they usually don’t occur twice in a row – I get a different one with every run – and that no obvious changes are made to the code or the environments themselves, I’m finding it very challenging
    to troubleshoot any of them. I also suspect there may be another reason that causes all of my issues.
    Any suggestions would be greatly appreciated.
    Thank you

    Starain – thank you for your response.
    I just want to reiterate that I have one test case with very simple code and no changes are being made
    to it. I’m also not re-configuring the environments. After a reboot of a test machine, my runs succeed, and then at some point they start failing with one of the listed errors – once that happens, a reboot is needed for another successful build. To answer
    your questions/comments:
    I am using the build template – it’s pulling code from the TFS drop location
    The test user can connect and execute Coded UI tests. It works a couple of times and then just stops and starts throwing errors. There are no screen savers, auto logon is enabled.
    Test method PortalCodedUI.Tests.PageLogInCodedUITest.CodedUITestMethod1 threw exception… Failed to find any control that
    matched the search condition
    This error is thrown when the very same (and only) test is executed as before. My build runs a couple of
    times in the row and the test succeeds. At some point, the test just starts failing with this error. There is a screenshot attached to the test result – it shows that IE was launched but it’s minimized.
    I have enabled logs and I didn’t see anything in there that would point to reasons why these errors just start showing up after a
    few successful runs.

  • Connectivity to Test Controllers and Test Agents in virtual machine

    Hi,
    I’m setting up the load test infrastructure- configured test controller and test agent on skytap virtual machine (which is windows server 2012). I have configured as below:
    The load tests exist on my machine (TFS 2013) , in test settings I selected – Local execution with remote collection, tried with selecting remote execution, selected the controller, the status shows as connected to controller: ‘XXXXXXXXXXX:6901’
    I have configured the test controller ( TC 2013 )  for load testing, specified logon account as – Local system, since I’m not connecting the TFS in my virtual machine I skipped the Team Project Collection part. The load test database (SQLExpress)
    is connected.
    The Text Agent (TA 2013) also exists on the same virtual machine and is registered with controller. The test agent is running as service , logon as – Network service
    I had checked the services, admin users on my machine and virtual machine, made the firewall exceptions, tried disabling the firewall too, checked the config files for QTController and QTTest Agent(C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE)
     for port 6901, I can ping my machine( IP or with DNS) to Virtual machine ( vice versa). I also tried to set the logging – verbose for all TA, TC , devenv config ( however, I could see any logs).
    The machines are in same domain and port 6901 is accessible from local machine.
    When I try to run my load test from my machine it gives the below error:
    Error:     Failed to queue test run 'LoadTests (2015-01-22 15:04:00)': 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.             
    I tried troubleshooting with all the online help available, could not find a solution.
    Please help on this.
    Dhillon_H

    Hi Tina-Shi
    Thank you for the response. Please see below my findings and the logs
    - There were no errors while configuring TC, TA on VM , only warnings as below:
    Since you have not configured lab service account, make sure a) test agent can communicate with the test controller, b) test controller and test agent can access the build drop location, and c) Microsoft Test Manager can connect to the test controller
    during manual test runs. Manual steps might be needed to setup the permissions mentioned above.
    -The test Agent is ready status in the Manage Test Controllers Window in the local.testsetings file.
    - The load tests run successfully when I select local execution.
    - I have referred the links mentioned , couldn't find the solution, also sending some content from logs I have on the VM machine where my TC, TA exist.
    - Also, I’m the admin on my TFS machine and VM .
    - TC configuration – as Local system , TA configuration- as network service.
    VSTTAgent.log
    I, 4988, 41, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: XXXXX-XXX-XXXX : Domain : DEVOP.Xxxxx-xxx-xxxx.com
    V, 4988, 32, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentService: calling AgentObject.Hello
    V, 4988, 32, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: waiting for agents to start.
    V, 4988, 32, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: Agents started.
    V, 4988, 41, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Calling 'DataCollectionEnvironmentContext' on the data collection agent
    V, 4988, 41, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: waiting for agents to start.
    V, 4988, 41, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: Agents started.
    V, 4988, 41, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Successfully called 'DataCollectionEnvironmentContext' on the data collection agent
    V, 4988, 41, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Calling 'DataCollectionEnvironmentContext' on the test agent
    V, 4988, 41, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Successfully called 'DataCollectionEnvironmentContext' on the test agent
    I, 4988, 41, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentService: Successfully connected to controller.
    V, 4988, 41, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentStatusAggregator.ControllerConnected: Connection to controller XXXXX-XXX-XXXX:6901 has been established.
    V, 4988, 44, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Calling 'SetAgentDataCollectorInformation' on the controller
    V, 4988, 44, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Successfully called 'SetAgentDataCollectorInformation' on the controller
    EqtTraceAgent.log
    V, 568, 1, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, Agent XXXXX-XXX-XXXX: created Controller Event Sink
    V, 568, 1, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentObject: starting state machine on different thread.
    V, 568, 1, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, StateMachine(DataCollectionAgentState): SetNextState Online called
    V, 568, 7, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, StateMachine(DataCollectionAgentState): In state Online. Waiting for state change...
    V, 568, 7, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, StateMachine(DataCollectionAgentState): Exit wait for state change, current state is Online.
    V, 568, 7, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, StateMachine(DataCollectionAgentState): Uninitialized => Online
    V, 568, 7, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, StateMachine(DataCollectionAgentState): calling state handler for Online
    V, 568, 7, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, StateMachine(DataCollectionAgentState): In state Online. Waiting for state change...
    V, 568, 1, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectorWatcher: DataCollectorDiscoveryPeriod set to: 5000
    V, 568, 1, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectorWatcher.Start: Starting to watch for changes in the data collector files.
    V, 568, 1, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentObject: constructor is done, success.
    I, 568, 1, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentProcess: Calling into AgentService to register the agent.
    V, 568, 8, 2015/01/23, 12:28:31.395, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectorCache.ForceCacheUpdate: Performing data collector discovery.
    I, 568, 1, 2015/01/23, 12:28:31.411, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentProcess: Successfully registered data collection agent process.
    I, 568, 1, 2015/01/23, 12:28:31.411, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentProcess: waiting for shutdown notification.
    V, 568, 8, 2015/01/23, 12:28:32.192, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectorCache.ForceCacheUpdate: Done performing data collector discovery.
    V, 568, 10, 2015/01/23, 12:28:32.458, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentObject: Hello.
    V, 568, 10, 2015/01/23, 12:28:32.458, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionEnvironmentContext: Adding Agent Process URI ipc://eqt-f0f6cfb9-454f-4e8a-c857-170546772b6e/
    V, 568, 25, 2015/01/23, 12:38:33.345, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentObject: Hello.
    V, 568, 25, 2015/01/23, 12:38:33.345, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionEnvironmentContext: Adding Agent Process URI ipc://eqt-f0f6cfb9-454f-4e8a-c857-170546772b6e/
    V, 568, 33, 2015/01/23, 12:48:32.667, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentObject: Hello.
    V, 568, 53, 2015/01/23, 12:48:32.667, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionEnvironmentContext: Adding Agent Process URI ipc://eqt-f0f6cfb9-454f-4e8a-c857-170546772b6e/
    V, 568, 54, 2015/01/23, 12:58:33.943, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionAgentObject: Hello.
    V, 568, 54, 2015/01/23, 12:58:33.943, XXXXX-XXX-XXXX\QTDCAgent32.exe, DataCollectionEnvironmentContext: Adding Agent Process URI ipc://eqt-f0f6cfb9-454f-4e8a-c857-170546772b6e/
    EqtTraceController.log
    V, 2608, 20, 2015/01/23, 13:08:10.287, XXXXX-XXX-XXXX\QTController.exe, ControllerObject: Hello
    V, 2608, 20, 2015/01/23, 13:08:11.302, XXXXX-XXX-XXXX\QTController.exe, User XXXXX-XXX-XXXX\dhilloha is system, Admin, or controller user
    I, 2608, 20, 2015/01/23, 13:08:11.302, XXXXX-XXX-XXXX\QTController.exe, ControllerObject: Creating ControllerExecution for TestRun 9f0e53e4-09da-40f4-90d8-01bdaeec7365
    I, 2608, 20, 2015/01/23, 13:08:11.318, XXXXX-XXX-XXXX\QTController.exe, ControllerSpooledJob: creating spooled job for test run 'LoadTests (2015-01-23 13:08:08)'
    I, 2608, 20, 2015/01/23, 13:08:11.318, XXXXX-XXX-XXXX\QTController.exe, ControllerObject: Queuing TestRun 9f0e53e4-09da-40f4-90d8-01bdaeec7365
    V, 2608, 22, 2015/01/23, 13:12:54.566, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: XXXXX-XXX-XXXX of environment [Default] trying to connect.
    V, 2608, 22, 2015/01/23, 13:12:54.566, XXXXX-XXX-XXXX\QTController.exe, ControllerObject: AgentHello from XXXXX-XXX-XXXX
    V, 2608, 22, 2015/01/23, 13:12:54.566, XXXXX-XXX-XXXX\QTController.exe, Verifying the connection integrity for following number of objects: 1
    V, 2608, 24, 2015/01/23, 13:17:54.596, XXXXX-XXX-XXXX\QTController.exe, Agent : NT AUTHORITY\NETWORK SERVICE
    V, 2608, 24, 2015/01/23, 13:17:54.596, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: XXXXX-XXX-XXXX of environment [Default] trying to connect.
    V, 2608, 24, 2015/01/23, 13:17:54.596, XXXXX-XXX-XXXX\QTController.exe, User NT AUTHORITY\NETWORK SERVICE is in group TeamTestAgentService.
    I, 2608, 24, 2015/01/23, 13:17:54.596, XXXXX-XXX-XXXX\QTController.exe, A user has successfully authenticated to obtain the ControllerObject.
    V, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.ConnectAgent: Agent: XXXXX-XXX-XXXX from machine: xxxxx-xxx-xxxx.DEVOP.Xxxxx-xxx-xxxx.com trying to connect.
    V, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: XXXXX-XXX-XXXX of environment [Default] trying to connect.
    V, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, User NT AUTHORITY\NETWORK SERVICE is in group TeamTestAgentService.
    I, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, AgentDomainTrusted : Controller Domain DEVOP.Xxxxx-xxx-xxxx.com Agent Domain DEVOP.Xxxxx-xxx-xxxx.com
    I, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, AgentDomainTrusted : Same domain DEVOP.Xxxxx-xxx-xxxx.com
    I, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.ConnectAgent : Ignoring the identity
    V, 2608, 27, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, Successfully verified connection for agent XXXXX-XXX-XXXX
    I, 2608, 23, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, AgentManager: Agent 'XXXXX-XXX-XXXX' successfully connected.
    V, 2608, 23, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, Verifying the connection integrity for following number of objects: 1
    V, 2608, 23, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.ConnectAgent: Agent: XXXXX-XXX-XXXX Returning.
    V, 2608, 24, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: XXXXX-XXX-XXXX of environment [Default] trying to connect.
    V, 2608, 29, 2015/01/23, 13:19:13.442, XXXXX-XXX-XXXX\QTController.exe, User XXXXX-XXX-XXXX\dhilloha is system, Admin, or controller user
    I, 2608, 29, 2015/01/23, 13:19:13.442, XXXXX-XXX-XXXX\QTController.exe, A user has successfully authenticated to obtain the ControllerObject.
    V, 2608, 28, 2015/01/23, 13:19:14.114, XXXXX-XXX-XXXX\QTController.exe, ControllerObject: Hello
    V, 2608, 28, 2015/01/23, 13:19:14.364, XXXXX-XXX-XXXX\QTController.exe, User XXXXX-XXX-XXXX\dhilloha is system, Admin, or controller user
    V, 2608, 28, 2015/01/23, 13:19:16.270, XXXXX-XXX-XXXX\QTController.exe, User XXXXX-XXX-XXXX\dhilloha is system, Admin, or controller user
    V, 2608, 28, 2015/01/23, 13:19:16.489, XXXXX-XXX-XXXX\QTController.exe, User XXXXX-XXX-XXXX\dhilloha is system, Admin, or controller user
    V, 2608, 32, 2015/01/23, 13:22:54.593, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: XXXXX-XXX-XXXX of environment [Default] trying to connect.
    V, 2608, 32, 2015/01/23, 13:22:54.593, XXXXX-XXX-XXXX\QTController.exe, ControllerObject: AgentHello from XXXXX-XXX-XXXX
    V, 2608, 32, 2015/01/23, 13:22:54.593, XXXXX-XXX-XXXX\QTController.exe, Verifying the connection integrity for following number of objects: 1
    VSTTController.log
    V, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: XXXXX-XXX-XXXX of environment [Default] trying to connect.
    V, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, User NT AUTHORITY\NETWORK SERVICE is in group TeamTestAgentService.
    I, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, AgentDomainTrusted : Controller Domain DEVOP.Xxxxx-xxx-xxxx.com Agent Domain DEVOP.Xxxxx-xxx-xxxx.com
    I, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, AgentDomainTrusted : Same domain DEVOP.Xxxxx-xxx-xxxx.com
    I, 2608, 23, 2015/01/23, 13:17:55.877, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.ConnectAgent : Ignoring the identity
    V, 2608, 27, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, Successfully verified connection for agent XXXXX-XXX-XXXX
    I, 2608, 23, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, AgentManager: Agent 'XXXXX-XXX-XXXX' successfully connected.
    V, 2608, 23, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, Verifying the connection integrity for following number of objects: 1
    V, 2608, 23, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.ConnectAgent: Agent: XXXXX-XXX-XXXX Returning.
    V, 2608, 24, 2015/01/23, 13:17:55.893, XXXXX-XXX-XXXX\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: XXXXX-XXX-XXXX of environment [Default] trying to connect.
    V, 2608, 29, 2015/01/23, 13:19:13.442, XXXXX-XXX-XXXX\QTController.exe, User XXXXX-XXX-XXXX\dhilloha is system, Admin, or controller user
    I, 2608, 29, 2015/01/23, 13:19:13.442, XXXXX-XXX-XXXX\QTController.exe, A user has successfully authenticated to obtain the ControllerObject.
    V, 2608, 28, 2015/01/23, 13:19:14.114, XXXXX-XXX-XXXX\QTController.exe, ControllerObject: Hello
    V, 2608, 28, 2015/01/23, 13:19:14.364, XXXXX-XXX-XXXX\QTController.exe, User XXXXX-XXX-XXXX\dhilloha is system, Admin, or controller user
    V, 2608, 28, 2015/01/23, 13:19:16.270, XXXXX-XXX-XXXX\QTController.exe, User XXXXX-XXX-XXXX\dhilloha is system, Admin, or controller user
    V, 2608, 28, 2015/01/23, 13:19:16.489, XXXXX-XXX-XXXX\QTController.exe, User xxxxxxxx\dhilloha is system, Admin, or controller user
    Thanks you for looking into this.
    Dhillon_H

  • Test Controller and Test Agents on Azure

    Hi everyone,
    I am trying to run a Test Controller and Test Agents on Azure and the controller fails when trying to register with TFS.  We did set up a VPN and it seems to be working but I saw this on MSDN:
    If the On-Premise machines are domain joint, you will need to add an IPSec exemption so that the bidirectional communication can succeed. This can be avoided if you can unjoin the On-premise machine from the domain and join it to a workgroup instead.
    I don't know what "domain joint" means but I am wondering about the IPSec exemption.  Can anybody explain what this means?
    Thanks!
    Randy

    Hi Randy,
    Do you refer to this article below?
    # Hosting TestController and TestAgents on Azure
    http://blogs.msdn.com/b/visualstudioalm/archive/2014/01/13/hosting-testcontroller-and-testagents-on-azure.aspx
    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Minimum system requirements for installing Oracle Application Testing Suite

    Hi,
    Can anyone tell me what are the minimum system requirements for intalling Oracle Application Testing Suite?
    Thanks in Advance

    From the release notes (12.1.0.2).
    System Requirements
    Oracle Application Testing Suite has the following system requirements:
    4
    3.1 Oracle Functional Testing/OpenScript
    Oracle Functional Testing’s OpenScript scripting platform has the following system
    requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008
    ■ Memory: Minimum 1 GB
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 4 GB minimum
    ■ Browser: Internet Explorer 7.x, 8.x., 9.x and Firefox 3.5/3.6, 6.x
    3.2 Oracle Load Testing
    Oracle Load Testing has the following system requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008, Windows 2008 R2. Oracle Enterprise
    Linux 5.1, 5.2 64, 4u8.
    ■ Memory: Minimum 2 GB.
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 10 GB minimum free (at least 3 GB free on the system drive)
    ■ Browser: Internet Explorer 7.x, 8.x, 9.x, Firefox 3.5/3.6, 6.x
    ■ Database: Oracle EE 10g or 11g, XE 10g
    ■ Application Server: Oracle WebLogic 11g (10.3.5.0). Oracle Application Testing
    Suite requires the standard WebLogic Server installation (which includes jrocket
    jdk.). It does not support generic versions of WebLogic Server installation (such as
    those that use wls1035_generic.jar).
    ■ Oracle Load Testing Agent also supported on Linux 32-bit & 64-bit, in addition to
    Windows 32-bit and 64-bit operating systems listed above
    Note: These are minimum requirements only and actual
    requirements for the Oracle Load Testing Server will vary depending
    on the size and configuration of your load test. If you are running
    larger load tests, of greater than 1000 Virtual Users, you should
    consider deploying Oracle Load Testing on a faster server class
    machine with additional RAM recommended.
    Note: Oracle recommends running the Oracle Load Testing Server
    and Agents on separate systems for production load testing. The
    amount of memory required on the Oracle Load Testing Agent
    systems may increase based on the number of Virtual Users that will
    be assigned to run on each Agent. For more information, visit the
    QA/Testing Technology Center on Oracle Technology Network or
    contact your Oracle representative.
    5
    3.3 Oracle Test Manager
    Oracle Test Manager has the following system requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008, Windows 2008 R2. Oracle Enterprise
    Linux 5.1, 5.2, 4u8.
    ■ Memory: Minimum 2 GB.
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 10 GB minimum free (at least 3 GB free on the system drive)
    ■ Browser: Internet Explorer 7.x, 8.x, 9.x, Firefox 3.5/3.6, 6.x
    ■ Database: Oracle EE 10g or 11g, XE 10g
    ■ Application Server: Oracle WebLogic 11g (10.3.5.0). Oracle Application Testing
    Suite requires the standard WebLogic Server installation (which includes jrocket
    jdk.). It does not support generic versions of WebLogic Server installation (such as
    those that use wls1035_generic.jar).
    3.4 Additional Notes
    The following are additional notes about system requirements:
    ■ The ATS installer can automatically install and configure an Oracle 10g Express
    Edition (XE) database for use with Oracle Load Testing and Oracle Test Manager.
    Although this is useful for demos, for production usage switching to Oracle's 11g
    Enterprise Edition database is highly recommended. Oracle 11g Standard Edition
    and Oracle 10g EE or SE are also supported.
    ■ System memory requirements do not take into account other processes that may
    be running and using memory on your system, reducing free uncommitted
    memory available.
    ■ When installed on the same machine, Oracle Load Testing and Oracle Test
    Manager will run on the same server and use shared system resources. Oracle
    Functional Test/OpenScript is a separate application that have its own memory
    and CPU requirements.
    ■ The ATS products will run in 32-bit compatibility mode when installed on 64-bit
    operating systems. It is possible for Oracle Application Testing Suite to be installed
    on an existing WebLogic server. However, if the pre-installed WebLogic server is
    JRockit plus WebLogic (64-bit) environment, some functions in Oracle Application
    Testing Suite will not work properly. Oracle Application Testing Suite can be
    installed on a 32-bit WebLogic, but not a 64-bit.
    ■ The legacy Oracle Functional Testing, VB-based scripting platform and associated
    components (such as Job Scheduler) are no longer included with the ATS installer
    Note: These are minimum requirements only and actual
    requirements for Oracle Test Manager will vary depending on the
    quantity of test assets stored and number of concurrent users
    accessing the application. If you have a large quantity of test cases,
    requirements or issues stored and/or are deploying Oracle Test
    Manager for a team greater than 10 users, you should consider
    deploying Oracle Test Manager on a faster server class machine with
    additional RAM recommended.
    6
    starting with version 9.2. Customers that still require this product should

  • How to install SCOM 2012 R2 agent on workgroup Linux machine.

    Hello Experts,
    Please help in installing  SCOM 2012 R2 agent on WorkGroup Linux machine.
    Please provide links for steps process so we can proceed easily for installation without much searching.
    Thanks
    Richa KM

    Hi
    The beauty deploying SCOM agents to Linux Systems is that it does not depend on Kerberos. If the Linux Systems is Domain joined or not does not matter. In both cases the authentication occurs using certificates which are signed by the SCOM Servers. You Need
    just to make sure that:
    Port 22 (SSH) and 1270 (WS-Man) are open / reachable
    DNS works both ways and pointers (reverse look up) is configured.
    Make sure the Linux System Name is same as DNS if not check
    http://stefanroth.net/2014/02/03/scom-linux-agent-deployment-signed-certificate-verification-operation-was-not-successful/
    Make sure you Setup the RunAs account properly
    http://stefanroth.net/2012/03/15/scom-2012-linux-monitoring-lab-part-1-setup-suse-11-1/
    If you consider these points everything should work fine...
    Cheers,
    Stefan
    Blog: http://blog.scomfaq.ch

  • Did slm need install addional daa?

    hi all,
    I'd installed daa with the slm71sr1 installation.
    and in the solman_setup phase "managed system config" step 4 "assigns diagnostics agents" show "no agent found".
    Best Regards
    B&B

    Hi Bbs,
    You need to connect the Diagnostic Agent to Solman dispatcher
    Goto the below directory
    /usr/sap/DAA/SMDA<XX>/script/
    Run the below command under daaadm user
    smdsetup managingconf hostanme:"solman host name" port:"5XX04" user:"solman_admin" pwd:"password of solman_admin user"
    where XX is the CI instance number.
    Then repeat the steps 4
    With Regards
    Ashutosh Chaturvedi

  • Connection between the test agent and test controller randomly drops.

    Hi all,
    I setup a test environment with the VS2013 IDE, test controllers, and test agents all on the same domain and I am experiencing random connection drops during test runs.
    I am able to get a connection started between the controller and agents, but have not been able to get a stable enough connection to run a test suite of 3000+ tests. 
    I have added firewall exceptions for the default ports and turned to disabling the firewall on both the controller and the agents.
    I installed and configured the controller/agents with the same admin account.
    This account is in the TeamTestAgentService, TeamTestControllerAdmins, and TeamTestControllerUsers groups of the controller machine.
    I am using Windows Server 2012 for the controller, and Windows 8.1 for the agents.
    Here are the agent logs right before failure: 
    V, 2228, 30, 2015/05/01, 07:04:04.481, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 26, 2015/05/01, 07:04:34.264, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 13, 2015/05/01, 07:05:04.469, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 19, 2015/05/01, 07:05:34.284, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 24, 2015/05/01, 07:06:04.395, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 18, 2015/05/01, 07:06:34.428, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 37, 2015/05/01, 07:07:04.398, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    I, 2228, 38, 2015/05/01, 07:07:34.400, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 38, 2015/05/01, 07:07:34.400, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 38, 2015/05/01, 07:07:34.400, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 38, 2015/05/01, 07:07:34.400, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 38, 2015/05/01, 07:07:34.479, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 38, 2015/05/01, 07:07:34.541, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 38, 2015/05/01, 07:07:34.541, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 38, 2015/05/01, 07:07:35.291, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 38, 2015/05/01, 07:07:35.291, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Server stack trace: 
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.VisualStudio.TestTools.Controller.IControllerCallback.ConnectAgent(String agentName, String machineName, String domainName, Boolean canPerformUITesting, String configuredUserName, String agentVersion, IAgentService agentObject)
       at Microsoft.VisualStudio.TestTools.Agent.AgentService.ConnectToController(Boolean shouldThrow)
    I, 2228, 25, 2015/05/01, 07:08:04.340, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 25, 2015/05/01, 07:08:04.340, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 25, 2015/05/01, 07:08:04.340, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 25, 2015/05/01, 07:08:04.340, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:08:04.371, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 25, 2015/05/01, 07:08:04.386, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:08:04.386, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 25, 2015/05/01, 07:08:04.871, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 25, 2015/05/01, 07:08:04.871, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Server stack trace: 
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.VisualStudio.TestTools.Controller.IControllerCallback.ConnectAgent(String agentName, String machineName, String domainName, Boolean canPerformUITesting, String configuredUserName, String agentVersion, IAgentService agentObject)
       at Microsoft.VisualStudio.TestTools.Agent.AgentService.ConnectToController(Boolean shouldThrow)
    I, 2228, 25, 2015/05/01, 07:08:34.341, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 25, 2015/05/01, 07:08:34.341, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 25, 2015/05/01, 07:08:34.341, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 25, 2015/05/01, 07:08:34.341, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:08:34.529, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 25, 2015/05/01, 07:08:34.529, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:08:34.529, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 25, 2015/05/01, 07:08:34.638, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 25, 2015/05/01, 07:08:34.638, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Server stack trace: 
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.VisualStudio.TestTools.Controller.IControllerCallback.ConnectAgent(String agentName, String machineName, String domainName, Boolean canPerformUITesting, String configuredUserName, String agentVersion, IAgentService agentObject)
       at Microsoft.VisualStudio.TestTools.Agent.AgentService.ConnectToController(Boolean shouldThrow)
    I, 2228, 25, 2015/05/01, 07:09:04.359, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 25, 2015/05/01, 07:09:04.359, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 25, 2015/05/01, 07:09:04.359, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 25, 2015/05/01, 07:09:04.359, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:09:04.531, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 25, 2015/05/01, 07:09:04.546, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:09:04.546, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 25, 2015/05/01, 07:09:04.937, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 25, 2015/05/01, 07:09:04.953, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Server stack trace: 
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.VisualStudio.TestTools.Controller.IControllerCallback.ConnectAgent(String agentName, String machineName, String domainName, Boolean canPerformUITesting, String configuredUserName, String agentVersion, IAgentService agentObject)
       at Microsoft.VisualStudio.TestTools.Agent.AgentService.ConnectToController(Boolean shouldThrow)
    I, 2228, 25, 2015/05/01, 07:09:34.376, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 25, 2015/05/01, 07:09:34.376, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 25, 2015/05/01, 07:09:34.376, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 25, 2015/05/01, 07:09:34.376, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:09:34.517, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 25, 2015/05/01, 07:09:34.517, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:09:34.517, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 25, 2015/05/01, 07:09:35.111, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 25, 2015/05/01, 07:09:35.126, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Thanks in advance,
    Erik

    Hi,
    To run automated test using MTM, there is at least one lab environment with at least agent one machine.
    It is easy to configure standard lab environment than SCVMM lab environment.
    I suggest that you could refer to this article below to configure lab environment and do tests.
    # Essential Guide for Running Automated Tests from a Test Plan
    https://msdn.microsoft.com/en-us/library/ff472576%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for