VS test agent 's local and remote

来源:互联网 发布:金融领域国产密码算法 编辑:程序博客网 时间:2024/05/21 08:02

 

recently confused about the local and remote

查了一下资料,知道了他们的区别

微软出了两套东西,一套就是VSTS,用来跑一般的tests,单进程

另一条东西就是test agent,用来跑performance tests

 

local,就是用第一条东西, 进程是VSTESTHost.exe(并且变态到,它只用一个CPU,)

remote就是用第二套东西,就是QTController.exe, etc.

 

the following is from a blog.

 

up vote0down votefavorite

I have a simple load test that is using one TestMethod on a quad core 64 bit windows 2008 box.

When i run the load test, i only see one processor being used to 100%, other processors are just idle, and i know that the server is not being hit to the max, so my test agent is not able to produce enough load for it.

is there any way to tell it to use multiple processors ?

share|improve this question
 
 

                    1 Answer           

activeoldestvotes
up vote1down voteaccepted

Ashish,

Microsoft purposefully limits vsTestHost.exe to use only 1 core.  I know of no way to get it to use multiple cores.

This is a "bait-and-switch" tactic that Microsoft uses so very often.  They want you to purchase separate licenses for their Test Load Agent software.  The Test Load Agent software/process is multi-threaded, and will run across all cores of a CPU.

Regards,

Brent