VSTS test controller and agent.

Howdoes VSTS controller interact with agents? How does Controller manage test loadin agents?

Please see MSDN, there isdetailed explanationJ. The entrypoint URL:http://msdn.microsoft.com/en-us/library/ms184776.aspx

Specifically, you can see page:http://msdn.microsoft.com/en-us/library/ms243155.aspxfor Interaction and Assignment issue.

“Test agents are assigned aweight by the administrator, and load is distributed according to a testagent’s weighting. For example, if test agent 1 has a weighting of 30, and testagent 2 has a weighting of 70, and the load is set to 1000 users, then testagent 1 simulates 300 virtual users whereas test agent 2 simulates 700 virtualusers”.

 

How is the user load adjusted for a load test with a goal based loadpattern?

http://blogs.msdn.com/b/billbar/archive/2008/09/12/how-is-the-user-load-adjusted-for-a-load-test-with-a-goal-based-load-pattern.aspx

英文每次看,有点太费时了.

还是把它翻译成中文吧.

大意是:

1. 在warm-up阶段,  the goal based pattern并没有应用的. 相反, the load test 开始创建user load直到总数达到了设置的"Initial User count settings";

2. 在warm-up结束之后,

    2.1.  The user load开始工作在Initial User count property of the Goal Based Load Pattern 里指定的值 (个人觉得这里指定的值,应该是某个perf counter的值被指定的,有可能是%process Time, 也有可能是你的Test case perf counter/sec;

    2.2.  在每一次采样时, perf counter的值都会被采样出来

    2.3. 比较这个采样值和 "Low End" and "High End", 若在中间, Agent保持中间不变;

    2.4. 若不在这中间, 就要调整了. 下面是具体的调整方式, 要注意的是 若调整大小超出了 “Maximum User Count Increase/Decrease” 范围,那就按这个范围的"“Maximum User Count Increase/Decrease” "值进行暂时调整.

o   The midpoint of the target range for the goal is divided by the sample valued for the goal performance counter to calculate an “adjustment factor”.   

o   For example, if the goal is defined as “% Processor Time” between 50 and 70, the midpoint is 60.    If the sampled value for % Processor Time is 40, then AdjustmentFactor = 60/40 = 1.5, or if the sampled value is 80, the AdjustmentFactor = 60/80 = 0.75.    

o   The AdjustmentFactor is multiplied by the current user load to get the new user load.

还有一些, 回头再翻译.

 

You can know a little bit howgoal based load pattern works from this article.

 

Using a load test plugin to limit the number of tests run in a load test

http://blogs.msdn.com/b/billbar/archive/2006/02/16/533216.aspx

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值