Udostępnij za pośrednictwem


ThreadedWebTest Members

Include Protected Members
Include Inherited Members

Represents a base class for a coded Web test that uses a single thread per Web test iteration.

The ThreadedWebTest type exposes the following members.

Constructors

 

Name

Description

Protected method

ThreadedWebTest

This class must be inherited; it cannot be instantiated.

Top

Methods

 

Name

Description

Public method

AddCommentToResult

Adds a comment to the Web test result following the most recently completed Web test request, transaction, or included Web test. (Inherited from WebTest.)

Public method

AddDataSource

Overloaded.

Public method

AddDataSourceBinding

Defines a binding relationship and adds it to the data source binding collection for the Web test. (Inherited from WebTest.)

Public method

BeginTransaction

Starts a transaction timer with the specified name. (Inherited from WebTest.)

Public method

EndTransaction

Overloaded.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetEnumerator

Gets an Enumerator that enumerates the items in the Web test. (Inherited from WebTest.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetRequestEnumerator

Infrastructure. (Overrides WebTest.GetRequestEnumerator().)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

IncludeWebTest

Overloaded.

Public method

InitializeDataBinding

Adds data source and data binding information from attributes to the current instance. (Inherited from WebTest.)

Public method

InternalSetOutcome

(Inherited from WebTest.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

MoveDataTableCursor

Advances the cursor in the data table to the next record. (Inherited from WebTest.)

Public method

Run

When overridden in a derived class, runs the user's coded Web test.

Public method

Send

Sends a WebTestRequest to be run by the Web test engine.

Public method

Stop

Stops the current Web test. (Inherited from WebTest.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Context

Gets or sets an object that contains context variables that are available to the Web test at run time. (Inherited from WebTest.)

Public property

DataSources

Gets the collection of data sources defined for the Web test. (Inherited from WebTest.)

Public property

Guid

Gets or sets a Globally Unique Identifier that uniquely identifies each instance of a WebTest. (Inherited from WebTest.)

Public property

InheritFromWebTest

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. (Inherited from WebTest.)

Public property

LastResponse

Gets the last response received for a top-level request in this Web test. (Inherited from WebTest.)

Public property

Name

Gets the name of the test case. (Inherited from WebTest.)

Public property

Outcome

Gets or sets the Pass or Fail outcome of the Web test. (Inherited from WebTest.)

Public property

Password

Gets and sets the password used for authentication. (Inherited from WebTest.)

Public property

PreAuthenticate

Gets or sets a value that indicates whether to pre-authenticate all requests within the Web test. (Inherited from WebTest.)

Public property

Proxy

Gets or sets a value representing a proxy server for the Web test to use. (Inherited from WebTest.)

Public property

RequestBodyCaptureLimit

Gets or sets the limit, in bytes, that is used for capturing request data. (Inherited from WebTest.)

Public property

ResponseBodyCaptureLimit

Gets or sets the limit, in bytes, that is used for capturing response data. (Inherited from WebTest.)

Public property

StopOnError

(Inherited from WebTest.)

Public property

UserName

Gets and sets the user name used for authentication. (Inherited from WebTest.)

Public property

ValidationRuleReferences

Gets the collection of references to Web test-level validation rules. (Inherited from WebTest.)

Public property

WebProxy

Gets or sets the Web proxy for this Web test to use. (Inherited from WebTest.)

Public property

WebTestPluginReferences

Gets the collection of references to Web test plug-ins. (Inherited from WebTest.)

Top

Events

 

Name

Description

Public event

PostPage

(Inherited from WebTest.)

Public event

PostRequest

Occurs after each request this Web test runs. (Inherited from WebTest.)

Public event

PostTransaction

(Inherited from WebTest.)

Public event

PostWebTest

Occurs after the Web test runs. (Inherited from WebTest.)

Public event

PrePage

(Inherited from WebTest.)

Public event

PreRequest

Occurs before each request this Web test runs. (Inherited from WebTest.)

Public event

PreTransaction

(Inherited from WebTest.)

Public event

PreWebTest

Occurs before the Web test runs. (Inherited from WebTest.)

Public event

ValidateResponse

Occurs when the response to a Web test request has been received and is ready to be validated. (Inherited from WebTest.)

Top

See Also

Reference

ThreadedWebTest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace