Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestRequest Class

 

No content here will be updated; please do not add material here.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequest

[SerializableAttribute]
public class WebTestRequest : WebTestItem

NameDescription
System_CAPS_pubmethodWebTestRequest(String)

Initializes a new instance of the WebTestRequest class by using a URL string.

System_CAPS_pubmethodWebTestRequest(Uri)

Initializes a new instance of the WebTestRequest class by using a Uri object.

NameDescription
System_CAPS_pubpropertyBody

Gets or sets the body of this request.

System_CAPS_pubpropertyBodyBytes

Gets the bytes that are associated with the body.

System_CAPS_pubpropertyCache

Gets or sets a value that indicates whether to simulate browser caching for the request.

System_CAPS_pubpropertyClientCertificates

Gets or sets a reference to allow users to authenticate by using X.509 SSL certificates.

System_CAPS_pubpropertyContentLength

Gets the length, in bytes, of the request body.

System_CAPS_pubpropertyContentType

Gets the content type of the request.

System_CAPS_pubpropertyCookies

Gets a collection of cookies.

System_CAPS_pubpropertyCorrelationExtractionRuleReferences

Gets the collection of references to extraction rules that are used to correlate dynamic parameters.

System_CAPS_pubpropertyDependentGuid

System_CAPS_pubpropertyDependentRequests

Gets the collection of dependent requests.

System_CAPS_pubpropertyEncodeRedirectedUrl

Gets or sets a Boolean value that indicates whether to encode query string parameters on a redirected URL.

System_CAPS_pubpropertyEncoding

Gets or sets the Encoding format.

System_CAPS_pubpropertyExpectedHttpStatusCode

Gets or sets the HTTP status code that is expected for this request.

System_CAPS_pubpropertyExpectedResponseUrl

Gets or sets the expected URL of the response. When a redirect is expected, this URL might differ from the request URL.

System_CAPS_pubpropertyExtractionRuleReferences

Gets the collection of references to extraction rules that are defined for the request.

System_CAPS_pubpropertyFollowRedirects

Gets or sets a value that indicates whether to automatically follow redirects.

System_CAPS_pubpropertyGuid

System_CAPS_pubpropertyHasCookies

Gets a value that indicates whether the request has cookies.

System_CAPS_pubpropertyHasDependentRequests

Gets a value that indicates whether the request has dependent requests.

System_CAPS_pubpropertyHasHeaders

Gets a value that indicates whether the request has HTTP headers.

System_CAPS_pubpropertyHasQueryStringParameters

Gets a value that indicates whether the request has querystring parameters.

System_CAPS_pubpropertyHeaders

Gets the collection of HTTP headers for the request.

System_CAPS_pubpropertyIgnoreHttpStatusCode

System_CAPS_pubpropertyIsRedirectFollow

Gets a value that indicates whether the request was created as the result of following a redirect.

System_CAPS_pubpropertyItemId

Zero-based sequence number of the item in the Web performance test.(Inherited from WebTestItem.)

System_CAPS_pubpropertyMethod

Gets or sets the method to use for the request.

System_CAPS_pubpropertyOutcome

Gets or sets the Pass or Fail outcome of the Web performance test request.

System_CAPS_pubpropertyParseDependentRequests

Gets or sets a value that indicates whether to automatically fetch dependent requests that are found in the response body.

System_CAPS_pubpropertyQueryStringParameters

Gets the list of query string parameters for the request.

System_CAPS_pubpropertyRecordedCookies

Gets the cookies that are recorded together with the request.

System_CAPS_pubpropertyRecordResult

Gets or sets a value that indicates whether individual statistics and result data are tracked for this request.

System_CAPS_pubpropertyReportingName

Gets or sets the reporting name for a request.

System_CAPS_pubpropertyResponseTimeGoal

Gets or sets the response time goal for a particular page.

System_CAPS_pubpropertySendChunked

Gets or sets a value that indicates whether the user can send a chunked request body.

System_CAPS_pubpropertyThinkTime

Gets or sets a value that represents the think time to wait after the response is received.

System_CAPS_pubpropertyTimeout

Gets or sets a value that indicates the time to wait for this request before timing out.

System_CAPS_pubpropertyUrl

Gets or sets the URL to the resource that is used for the request.

System_CAPS_pubpropertyUrlWithQueryString

Gets the URL to the resource that is used for the request. This includes the query string.

System_CAPS_pubpropertyValidationRuleReferences

Gets the collection of references to validation rules that are defined for the request.

System_CAPS_pubpropertyVersion

Gets or sets the HTTP version of the request.

System_CAPS_pubpropertyWebTestRequestPluginReferences

Gets the collection of references to the Web performance test request plug-ins that are defined on the request.

NameDescription
System_CAPS_pubmethodClone()

Makes a deep copy of the WebTestRequest object.(Overrides WebTestItem.Clone().)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInternalSetOutcome(Outcome)

Represents the outcome that was set internally by RequestPlugin.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRuntimeClone()

Returns a clone of this object at run time.(Inherited from WebTestItem.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventExtractValues

Occurs after the ValidateResponse event.

System_CAPS_pubeventPostRequest

Occurs after the ValidateResponse and the ExtractValues events.

System_CAPS_pubeventPreRequest

Occurs before the request is sent.

System_CAPS_pubeventPreRequestDataBinding

System_CAPS_pubeventValidateResponse

Occurs immediately after the response is received.

System_CAPS_pubeventValidateResponseOnPageComplete

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.

Return to top
Show: