0

I want to run load-test from my computer on my Web Application. this application had three servers for database,service & ui

my computer is joined to the domain but my servers is not in domain and they are in one WORKGROUP. I installed Test Controller and Test Agent and config it in visual studio and testsettings file, in [Role] item and set to [Remote execution].

in loadtest file and [Counter Set Mappings] , I add that three servers but when i run loadtest , in Counters [Computers] can not find these servers and show it.

please help.. thanks

arash
  • 61
  • 1
  • 6
  • Has your question been answered. If not then please [edit] it to add additional details to explain the real problem. If it has been answered then please read http://stackoverflow.com/help/accepted-answer . – AdrianHHH Jun 08 '16 at 19:00

1 Answers1

0

The servers must be configured to allow their performance counters to be collected by the computers running the tests. There are several aspects to this, most are too big and too complex to give full details here, but in outline they are:

The accounts that are chosen to run the tests must have the necessary permissions on relevant computers. When the computers are not all in the same domain then it may be best to create local accounts on each computer, all of these accounts having the same name and the same password. See here for more details.

On each of the servers to be monitored:

  • The firewall must be opened for the inbound "Performance Logs & Alerts firewall exception".

  • The username that runs the tests must be added to the "Performance Log Users", "Performance Monitor Users" and the "Event Log Readers" groups.

  • The services "Performance Logs & Alerts" and "Remote Registry" must be set to autorun.

  • In the security policies, the groups that can "Log on as batch job" must include the "Performance Log Users" and the "Performance Monitor Users" groups.

  • The performance counters must be rebuilt by running the command `lodctr /r.

See here and here for more details on setting up the servers.

AdrianHHH
  • 13,492
  • 16
  • 50
  • 87