WebTest Class
No content here will be updated; please do not add material here.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Microsoft.VisualStudio.TestTools.WebTesting::WebTest
Microsoft.VisualStudio.TestTools.WebTesting::DeclarativeWebTest
Microsoft.VisualStudio.TestTools.WebTesting::ThreadedWebTest
| Name | Description | |
|---|---|---|
![]() | WebTest() | Initializes a new instance of a class that is derived from WebTest class. |
| Name | Description | |
|---|---|---|
![]() | Context | Gets or sets an object that contains context variables that are available to the Web performance test at run time. |
![]() | DataSources | Gets the collection of data sources that are defined for the Web performance test. |
![]() | Guid | Gets or sets a GUID that uniquely identifies each instance of a WebTest. |
![]() | 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. |
![]() | LastRequestOutcome | |
![]() | LastResponse | Gets the last response that was received for a top-level request in this Web performance test. |
![]() | Name | Gets the name of the test case. |
![]() | Outcome | Gets or sets the Pass or Fail outcome of the Web performance test. |
![]() | Password | Gets and sets the password that is used for authentication. |
![]() | PreAuthenticate | Gets or sets a value that indicates whether to pre-authenticate all requests in the Web performance test. |
![]() | Proxy | Gets or sets a value that represents a proxy server for the Web performance test to use. |
![]() | RequestBodyCaptureLimit | Gets or sets the limit, in bytes, that is used to capture request data. |
![]() | ResponseBodyCaptureLimit | Gets or sets the limit, in bytes, that is used to capture response data. |
![]() | ResultsLocale | |
![]() | StopOnError | Gets or sets the indication of whether the test should stop running when an error occurs. |
![]() | UserName | Gets and sets the user name that is used for authentication. |
![]() | ValidationRuleReferences | Gets the collection of references to Web performance test-level validation rules. |
![]() | WebProxy | Gets or sets the Web proxy for this Web performance test to use. |
![]() | WebTestPluginReferences | Gets the collection of references to Web performance test plug-ins. |
| Name | Description | |
|---|---|---|
![]() | AddCommentToResult(String^) | Adds a comment to the Web performance test result that follows the most recently completed Web performance test request, transaction, or included Web performance test. |
![]() | AddDataSource(String^, String^, DataBindingAccessMethod, array<String^>^) | Adds a data source to the data collection that is contained by the Web performance test. |
![]() | AddDataSource(String^, String^, String^, DataBindingAccessMethod, DataBindingSelectColumns, array<String^>^) | |
![]() | AddDataSource(String^, String^, String^, DataBindingAccessMethod, array<String^>^) | Adds a data source to the data collection that is contained by the Web performance test. |
![]() | AddDataSourceBinding(String^, String^, String^, String^) | Defines a binding relationship and adds it to the data source binding collection for the Web performance test. |
![]() | BeginCondition(ConditionalRule^) | |
![]() | BeginLoop(ConditionalRule^, Int32, Boolean) | |
![]() | BeginTransaction(String^) | Starts a transaction timer by using the specified name. |
![]() | EndCondition(ConditionalRule^) | |
![]() | EndLoop(ConditionalRule^) | |
![]() | EndTransaction(String^) | Ends a transaction timer with the specified name. |
![]() | EndTransaction(String^, Boolean) | Ends the specified transaction. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | ExecuteConditionalRule(ConditionalRule^) | |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetDataTableRowCount(String^, String^) | |
![]() | GetEnumerator() | Gets an Enumerator that enumerates the items in the Web performance test. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetRequestEnumerator() | When overridden in a derived class, returns an IEnumerator<T> interface that supports a simple iteration over a generic collection of WebTestRequest. |
![]() | GetType() | (Inherited from Object.) |
![]() | IncludeWebTest(String^) | Calls a coded Web performance test from within a coded Web performance test. |
![]() | IncludeWebTest(String^, Boolean) | Calls a coded Web performance test from within a coded Web performance test. |
![]() | IncludeWebTest(WebTest^) | Calls a coded Web performance test from within a coded Web performance test. |
![]() | IncludeWebTest(WebTest^, Boolean) | Calls a coded Web performance test from within a coded Web performance test. |
![]() | InitializeDataBinding() | Adds data source and data binding information from attributes to the current instance. |
![]() | InternalSetOutcome(Outcome) | |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | MoveDataTableCursor(String^, String^) | Advances the cursor in the data table to the next record. |
![]() | MoveDataTableCursor(String^, String^, Int32) | |
![]() | RegisterDataSourceInLoop(ConditionalRule^, String^, String^) | |
![]() | ReloadDataTable(String^, String^) | |
![]() | Stop() | Stops the current Web performance test. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | PostPage | |
![]() | PostRequest | Occurs after each request that this Web performance test runs. |
![]() | PostTransaction | |
![]() | PostWebTest | Occurs after the Web performance test runs. |
![]() | PrePage | |
![]() | PreRequest | Occurs before each request this Web performance test runs. |
![]() | PreRequestDataBinding | |
![]() | PreTransaction | |
![]() | PreWebTest | Occurs before the Web performance test runs. |
![]() | ValidateResponse | Occurs when the response to a Web performance test request has been received and is ready to be validated. |
![]() | ValidateResponseOnPageComplete |
No content here will be updated; please do not add material here.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



