2

I am using visual Studio 2013 test agents and controllers to do testing on the end environment. The end environment is composed of a single virtual machine running Windows 7 with a user that has very little privileges (most of them are blocked using group policy). Is there a way to run a test agent on that user in order to have the closest testing environment as possible?

2
  • Are you looking to test an application on the Windows 7 machine, or are you looking to use this to generate your load? Commented Aug 25, 2014 at 17:14
  • Looking to test on a Windows 7 machine. Commented Aug 26, 2014 at 4:02

1 Answer 1

1

I'd recommend having a local admin account that you can do your installations with. So long as the VM is up and running, if you install the Visual Studio Agents and register it with your controller, you should be fine. I have used a very similar setup for a couple of my performance tests where it made more sense to use peoples machines in the office rather than servers for a more realistic result or when I need additional load generators but don't have enough servers.

Edit 12/24/14: I've had to do this a couple of times lately. I've found the best way was to bind the credentials for the users that I wanted to test with to the test. This can be done by binding the credentials themselves, or, a less secure way, if you need more than 1 user per test, put credentials into an xml file or database, and bind that as the credentials.

1
  • I have a local admin account of course. The question is how to make the test to run on the specific restricted user? Commented Aug 26, 2014 at 18:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.