WebTestRequest 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::WebTestItem
Microsoft.VisualStudio.TestTools.WebTesting::WebTestRequest
| Name | Description | |
|---|---|---|
![]() | WebTestRequest(String^) | Initializes a new instance of the WebTestRequest class by using a URL string. |
![]() | WebTestRequest(Uri^) | Initializes a new instance of the WebTestRequest class by using a Uri object. |
| Name | Description | |
|---|---|---|
![]() | Body | Gets or sets the body of this request. |
![]() | BodyBytes | Gets the bytes that are associated with the body. |
![]() | Cache | Gets or sets a value that indicates whether to simulate browser caching for the request. |
![]() | ClientCertificates | Gets or sets a reference to allow users to authenticate by using X.509 SSL certificates. |
![]() | ContentLength | Gets the length, in bytes, of the request body. |
![]() | ContentType | Gets the content type of the request. |
![]() | Cookies | Gets a collection of cookies. |
![]() | CorrelationExtractionRuleReferences | Gets the collection of references to extraction rules that are used to correlate dynamic parameters. |
![]() | DependentGuid | |
![]() | DependentRequests | Gets the collection of dependent requests. |
![]() | EncodeRedirectedUrl | Gets or sets a Boolean value that indicates whether to encode query string parameters on a redirected URL. |
![]() | Encoding | Gets or sets the Encoding format. |
![]() | ExpectedHttpStatusCode | Gets or sets the HTTP status code that is expected for this request. |
![]() | ExpectedResponseUrl | Gets or sets the expected URL of the response. When a redirect is expected, this URL might differ from the request URL. |
![]() | ExtractionRuleReferences | Gets the collection of references to extraction rules that are defined for the request. |
![]() | FollowRedirects | Gets or sets a value that indicates whether to automatically follow redirects. |
![]() | Guid | |
![]() | HasCookies | Gets a value that indicates whether the request has cookies. |
![]() | HasDependentRequests | Gets a value that indicates whether the request has dependent requests. |
![]() | HasHeaders | Gets a value that indicates whether the request has HTTP headers. |
![]() | HasQueryStringParameters | Gets a value that indicates whether the request has querystring parameters. |
![]() | Headers | Gets the collection of HTTP headers for the request. |
![]() | IgnoreHttpStatusCode | |
![]() | IsRedirectFollow | Gets a value that indicates whether the request was created as the result of following a redirect. |
![]() | ItemId | Zero-based sequence number of the item in the Web performance test.(Inherited from WebTestItem.) |
![]() | Method | Gets or sets the method to use for the request. |
![]() | Outcome | Gets or sets the Pass or Fail outcome of the Web performance test request. |
![]() | ParseDependentRequests | Gets or sets a value that indicates whether to automatically fetch dependent requests that are found in the response body. |
![]() | QueryStringParameters | Gets the list of query string parameters for the request. |
![]() | RecordedCookies | Gets the cookies that are recorded together with the request. |
![]() | RecordResult | Gets or sets a value that indicates whether individual statistics and result data are tracked for this request. |
![]() | ReportingName | Gets or sets the reporting name for a request. |
![]() | ResponseTimeGoal | Gets or sets the response time goal for a particular page. |
![]() | SendChunked | Gets or sets a value that indicates whether the user can send a chunked request body. |
![]() | ThinkTime | Gets or sets a value that represents the think time to wait after the response is received. |
![]() | Timeout | Gets or sets a value that indicates the time to wait for this request before timing out. |
![]() | Url | Gets or sets the URL to the resource that is used for the request. |
![]() | UrlWithQueryString | Gets the URL to the resource that is used for the request. This includes the query string. |
![]() | ValidationRuleReferences | Gets the collection of references to validation rules that are defined for the request. |
![]() | Version | Gets or sets the HTTP version of the request. |
![]() | WebTestRequestPluginReferences | Gets the collection of references to the Web performance test request plug-ins that are defined on the request. |
| Name | Description | |
|---|---|---|
![]() | Clone() | Makes a deep copy of the WebTestRequest object.(Overrides WebTestItem::Clone().) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | InternalSetOutcome(Outcome) | Represents the outcome that was set internally by RequestPlugin. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RuntimeClone() | Returns a clone of this object at run time.(Inherited from WebTestItem.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | ExtractValues | Occurs after the ValidateResponse event. |
![]() | PostRequest | Occurs after the ValidateResponse and the ExtractValues events. |
![]() | PreRequest | Occurs before the request is sent. |
![]() | PreRequestDataBinding | |
![]() | ValidateResponse | Occurs immediately after the response is received. |
![]() | ValidateResponseOnPageComplete | This event is raised after the page is fully loaded. This is used to check that the response was valid. |
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.



