WebTest Members
Include Protected Members
Include Inherited Members
Base class for all Web tests. Coded Web tests that are written in C# derive directly from this class.
The WebTest type exposes the following members.
Constructors
Name
Description
Initializes a new instance of a class derived from WebTest class.
Top
Methods
Name
Description
Adds a comment to the Web test result following the most recently completed Web test request, transaction, or included Web test.
Overloaded.
Defines a binding relationship and adds it to the data source binding collection for the Web test.
Starts a transaction timer with the specified name.
Overloaded.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Gets an Enumerator that enumerates the items in the Web test.
Serves as a hash function for a particular type. (Inherited from Object.)
When overridden in a derived class, returns an IEnumerator<T> interface supporting a simple iteration over a generic collection of WebTestRequest.
Gets the type of the current instance. (Inherited from Object.)
Overloaded.
Adds data source and data binding information from attributes to the current instance.
Creates a shallow copy of the current Object. (Inherited from Object.)
Advances the cursor in the data table to the next record.
Stops the current Web test.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets or sets an object that contains context variables that are available to the Web test at run time.
Gets the collection of data sources defined for the Web test.
Gets or sets a Globally Unique Identifier that uniquely identifies each instance of a WebTest.
Gets the WebTest object for the parent Web test when this Web test is included in another Web test and is inheriting properties from the parent Web test.
Gets the last response received for a top-level request in this Web test.
Gets the name of the test case.
Gets or sets the Pass or Fail outcome of the Web test.
Gets and sets the password used for authentication.
Gets or sets a value that indicates whether to pre-authenticate all requests within the Web test.
Gets or sets a value representing a proxy server for the Web test to use.
Gets or sets the limit, in bytes, that is used for capturing request data.
Gets or sets the limit, in bytes, that is used for capturing response data.
Gets and sets the user name used for authentication.
Gets the collection of references to Web test-level validation rules.
Gets or sets the Web proxy for this Web test to use.
Gets the collection of references to Web test plug-ins.
Top
Events
Name
Description
Occurs after each request this Web test runs.
Occurs after the Web test runs.
Occurs before each request this Web test runs.
Occurs before the Web test runs.
Occurs when the response to a Web test request has been received and is ready to be validated.
Top