configuration of Test controller and Test agent
-
lunes, 30 de abril de 2012 6:39
Hi Team,
I hope you will answer my few Queries :
1. I have installed Controller and Test agent (Ver 10.0) on 2 diffrent PC. I want to configure the test agent and test controller on difrent PC so that i can make one PC to Controller and another one to Test Agent. So can you help me out how can i configure it ? (Note: On both PC i have installed Visual studio ultimate 10.0. And i am having admi rights on that)
2. How can we run the test agent PC from the Controller PC.
3. How can we add more Test agent with Test controller ?
Thanks
Ravi shanker
Thanks, Ravi Shanker
Todas las respuestas
-
martes, 01 de mayo de 2012 6:41Moderador
Hi Ravi,
Thank you for posting in the MSDN forum.
If you want to run your test remotely concurrently on two computers:
We need to make sure we have the correct Permission. For detailed information, see Reference1.
We need to install the Test Agent in every machine, and we just need to install a test controller in a machine. Then Register each test agent with the test controller.
Open your VS, for example, we use the VS in the Agent machine, then click Test->Manage Test Controller, input the Controller name, you will get the two agents.
Then you could open the LocalTestRun.testrunconfig->Roles, and then select the Test execution method which you want use it to run your test. See Reference2
Reference1: Troubleshooting Guide for Visual Studio Test Controller and Agent
Reference2: Setting Up Machines and Collecting Diagnostic Information Using Test Settings
Two walkthroughs:
Walkthrough: Install Test Controller and Test Agents for Visual Studio Automated Tests.
Walkthrough: Using a Test Controller and Test Agents in a Load Test.
In addition, if possible, we could discuss one issue in one thread. In this way, our discussion here will not deviate too much from the original issue. This will make answer searching in the forum easier and be beneficial to other community members as well. Thanks for your understanding.
Have a nice day,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
-
miércoles, 02 de mayo de 2012 8:54
Many Thanks Jack for your dedicated support,
But i have some more doubt in terms of configuration of Counter set During the "New Laod test Wizard". Actually in my application there are diffrent server for diffrent layers such as Sharepoint, Biztalk, IIS , Webservices and many more which includes K2 server also. And we have to monitor the Performance counter for each server.
How can i set the counter for diffrent layers? Do we need to install the agent on that particular server. Can you suggest me some ideas..
Above are the screenshot.
Second thing, If i am using 2 agents and 1 Controller then how can we run the load test for that 2 agents with diffrent no of loads.
Thanks,
Ravi
Thanks, Ravi Shanker
-
miércoles, 02 de mayo de 2012 10:20Moderador
Hi Ravi,
Glad to receive your reply.
If you want to collect the counter from the remote machine without the controller and the Agent, we need to add that user to the "Performance Monitor Users" group. For detailed information, see “How to collect counter from remote machine?”
Reference:
Custom Counter Sets in Visual Studio for Software Testers.
About the second issue, do you mean that you want to run different load tests with two Test Agents? As far as I know, we may not run all tests in a project with two different Agents at the same time, but if there are multiple agents associated with the controller, we can filter the agents on which the test has to be run based on properties. For detailed information, see http://blogs.msdn.com/b/mathew_aniyan/archive/2009/03/03/distributed-coded-ui-tests.aspx.
It is about the coded UI test, but it is similar when we set the controller and agents. Hope it could help.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
- Marcado como respuesta Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator martes, 08 de mayo de 2012 1:58

