Monday, March 22, 2010

Authentication for Coded VSTS Web Tests

To set credentials for a Visual Studio WebTest programatically, simply add the following to the class that extends WebTest:

this.UserName = "domain\\user"
this.Password = "pass"

No comments: