The Response type exposes the following members.
Back to Top
Properties
| Name | Description | |
|---|---|---|
|  | BytesDownloaded | 
            Gets the number of bytes downloaded from the server.
             | 
|  | CharEncoding | 
             Gets or sets the character encoding that is used to decode the data contained
             in this Response, for example "UTF-8".
              | 
|  | CharSet | 
             Gets the value of the "charset" parameter specified in the 
             "Content-Type" HTTP response header.
              | 
|  | Content | 
             Gets the content of this Response, using the
             current encoding (as defined by CharEncoding) to decode the data.
              | 
|  | ContentAsJson | 
             Gets a   Newtonsoft JSON object representation of this Response. | 
|  | ContentAsXml | 
             Gets an XML DOM representation of this Response.
              | 
|  | ContentEncoding | 
             Gets the value of the "Content-Encoding" HTTP response header.
              | 
|  | ContentLength | 
             Gets the length in bytes of the response content.
              | 
|  | ContentType | 
             Gets the value of the "Content-Type" HTTP response header.
              | 
|  | HasReferer | 
             Gets a value that indicates whether this Response contains an HTTP "Referer" response header.
              | 
|  | HasTitle | 
             Gets a value that indicates whether this Response contains an HTML title.
              | 
|  | HeaderKeys | 
             Gets a list of names of all the HTTP response headers set in this Response.
              | 
|  | MessageBody | 
             Gets the body of the message from the corresponding Request.
              | 
|  | Method | 
             Gets the HttpMethod that was used to send the Request.
              | 
|  | RawContent | 
             Gets the raw content of this Response. If the content is expected to be text, then
             you should use Content instead of this property.
              | 
|  | ReceiveTime | 
             Gets the time at which the response was received from the server
             (measured in milliseconds since the start of the test).
              | 
|  | RedirectedFrom | 
             Gets the Response from which this Response has been redirected.
              | 
|  | Referer | 
             Gets the value of the "Referer" HTTP response header.
              | 
|  | Result | 
            Gets the HTTP status code received from the server when this Response was
            served.
             | 
|  | ResultString | 
             Gets the HTTP result returned by the server, e.g. HTTP/1.1 200 OK | 
|  | SendTime | 
             Gets the time at which the request was sent to the server 
             (measured in milliseconds since the start of the test).
              | 
|  | SubResponses | 
             Gets a list of Response objects that describe HTTP responses
             to sub-requests associated with the top-level Request sent to the web server.
              | 
|  | Title | 
             Gets the HTML title of this Response.  Gets a value that determines whether this Response contains an HTML title.
              | 
|  | Url | |
|  | UrlString | 
             Gets the URL that was used in the corresponding Request, as a string.
              | 
|  | UserAgent | 
             Gets the value of the "User-Agent" HTTP response header.
              | 
|  | Version | 
            Gets the version of HTTP that was used to send this response
             | 
|  | WasRedirected | 
             Gets a value that indicates whether this Response was the result of a
             redirected request.
              | 
See Also