Friday, 30 March 2012

Load test agent weighting

If you come across MSDN page regarding Load test agent weighting but still not sure about the load distribution when some are set to 100 and some to lower than that, below are the two example that should help explain more.


  • Agent 1: weight 30. Agent 2: weight 70, Total users: 1000
    - Agent 1 will get 300 users
    - Agent 2 will get 700 users
  • Agent 1: weight 50. Agent 2: weight 100, Total users: 1000
    - Agent 1 will get 333 users
    - Agent 2 will get 667 users

    For this example, the total weight is 150 (Agent 1 + Agent 2).
    Then get the percentage of each agent with this total weight, that leads to
    Agent 1 = 50/150 = 33.3333% of the total users = 333 users
    Agent 2 = 100/150 = 66.6667%  of the total users = 667 users

Screenshot of Load test agent properties

No comments:

Post a Comment