WebTest Properties

Include Protected Members
Include Inherited Members

The WebTest type exposes the following members.

Properties

  Name Description
Public property Context Gets or sets an object that contains context variables that are available to the Web performance test at run time.
Public property DataSources Gets the collection of data sources that are defined for the Web performance test.
Public property Guid Gets or sets a GUID that uniquely identifies each instance of a WebTest.
Public property InheritFromWebTest Gets the WebTest object for the parent Web performance test when this Web performance test is included in another Web performance test and inherits properties from the parent Web performance test.
Public property LastRequestOutcome
Public property LastResponse Gets the last response that was received for a top-level request in this Web performance test.
Public property Name Gets the name of the test case.
Public property Outcome Gets or sets the Pass or Fail outcome of the Web performance test.
Public property Password Gets and sets the password that is used for authentication.
Public property PreAuthenticate Gets or sets a value that indicates whether to pre-authenticate all requests in the Web performance test.
Public property Proxy Gets or sets a value that represents a proxy server for the Web performance test to use.
Public property RequestBodyCaptureLimit Gets or sets the limit, in bytes, that is used to capture request data.
Public property ResponseBodyCaptureLimit Gets or sets the limit, in bytes, that is used to capture response data.
Public property StopOnError Gets or sets the indication of whether the test should stop running when an error occurs.
Public property UserName Gets and sets the user name that is used for authentication.
Public property ValidationRuleReferences Gets the collection of references to Web performance test-level validation rules.
Public property WebProxy Gets or sets the Web proxy for this Web performance test to use.
Public property WebTestPluginReferences Gets the collection of references to Web performance test plug-ins.

Top

See Also

Reference

WebTest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace