某些远程执行方案的测试控制器的限制 [英] Limitation of Test Controller for certain Remote Execution scenario

查看:88
本文介绍了某些远程执行方案的测试控制器的限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我的团队设置了一个测试控制器和测试代理,以便能够从他们的计算机上的Visual Studio实例远程执行UI自动化。测试代理在实验室中的不同计算机上设置,并配置为指向实验室中不同计算机上的
测试控制器。我在我的团队中划分了测试代理。 (即代理商1-3分配给测试人员A,代理商4-6分配给测试人员B) 为了确保代理商专门分配给每个测试人员
我们已经为每个测试人员的属性添加了一些属性。测试代理程序,以便测试人员可以打开Visual Studio测试设置文件并指定哪个角色是活动角色(即"运行测试的角色"="测试设置"对话框的"角色"选项卡中的"是") 

I have setup a Test Controller and Test Agents for my team to be able to execute UI automation remotely from their instance of Visual Studio on their machines. The Test Agents are setup on different machines in a Lab and are configured to point to the Test Controller also on a different machine in a Lab. I've divided up the Test Agents amongst my team. (i.e. agents 1-3 assigned to Tester A, agents 4-6 assigned to Tester B) To ensure the agents are specifically assigned to each tester we've added some attributes to the properties of each test agent so that the tester can open up Visual Studio Test Settings file and specify which Role is the active role (i.e. "Role to run tests" = Yes in the Roles tab of the TestSettings dialog) 

例如,代理1-3具有以下属性属性

For example, agents 1-3 have property attributes as following

属性#1 - 名称= OS,值= Windows 7 EN 32位

属性#2 - 名称=所有者,值= [用户域别名](例如:testerA)

Attribute #1 - Name = OS, Value = Windows 7 EN 32-bit
Attribute #2 - Name = Owner, Value = [user domain alias] (ex: testerA)

这个想法是这样设置的,这样我的团队才能踢在他们的机器上进行测试,这些测试将针对某些测试代理。但是,似乎我们无法在同一时间执行这些测试。例如,Tester
A正在对分配给他的代理1-3执行50次测试,测试者B正在对分配给他的代理4-6执行50次测试。似乎首先执行测试的人将开始执行。在此示例中,如果测试程序A首先执行且
测试仍在运行,则测试程序B将执行其测试,测试将处于挂起状态,直到测试程序A的测试完成。

The thought was setting it up this way my team would be able to kick off tests on their machines and those tests would be directed to certain test agents. However, it appears that we cannot execute these tests at the exact same time. For example, Tester A is executing 50 tests on agents 1-3 assigned to him, Tester B is executing 50 tests on agents 4-6 assigned to him at the same time. It appears that whomever executes the tests first will begin execution. In this example if Tester A executed first and the tests are still running then Tester B would execute his tests and the tests would sit in a pending state until Tester A's tests are completed.

这是测试控制器的已知限制吗?我们是否需要为我的团队中的测试人员分配每组测试代理安装一个测试控制器?

Is this a known limitation with the Test Controller? Do we need to install a test controller per set of test agents assigned to a tester on my team?

还有一点需要注意,我们修改了默认的桶大小以便更均匀地分配测试代理商。我不确定这是否重要。换句话说,我们直接用XML修改了TestSettings文件来处理这个问题。例如:

One more note, we have modified the default bucket size to distribute the tests more evenly accross agents. I'm not sure if this matters or not. In other words we've modified the TestSettings file directly in XML to handle this. Ex:

  ;

 

 

< Buckets
size = " 10 "
/>

<Buckets size="10" />

推荐答案

这是测试控制器的一个已知限制。  请参阅以下链接,了解可解决可扩展性问题的产品:问题。

Visual Studio负载测试虚拟用户包2010
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/load-test-virtual-user-pack

This is a known limitation with the Test Controller.   See the following link for the products that can address the scalability issues: issue.
Visual Studio Load Test Virtual User Pack 2010 http://www.microsoft.com/visualstudio/en-us/products/2010-editions/load-test-virtual-user-pack.


这篇关于某些远程执行方案的测试控制器的限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆