WebTestRequestStatistics Class
Used to track key information that is gathered when the request is run.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestStatistics
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class WebTestRequestStatistics
[SerializableAttribute]
public class WebTestRequestStatistics
[SerializableAttribute]
public ref class WebTestRequestStatistics
[<SerializableAttribute>]
type WebTestRequestStatistics = class end
public class WebTestRequestStatistics
The WebTestRequestStatistics type exposes the following members.
Properties
Name | Description | |
---|---|---|
ContentLength | Gets or sets the length of the response. | |
MillisecondsToFirstByte | Gets the number of milliseconds elapsed between StartTime and TimeOfFirstByte. | |
MillisecondsToLastByte | Gets the number of milliseconds elapsed between StartTime and TimeOfLastByte. | |
StartTime | Gets or sets the time the request was sent to the server. | |
TimeOfFirstByte | Gets or sets the time the first byte of the response was received. | |
TimeOfLastByte | Gets or sets the time the last byte of the response was received. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
This allows for detailed analysis of the performance of the request. This class is serializable.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace