This documentation is archived and is not being maintained.

WebTestRequestStatistics Class

Used to track key information that is gathered when the request is run.

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestStatistics

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

[SerializableAttribute]
public class WebTestRequestStatistics

The WebTestRequestStatistics type exposes the following members.

  NameDescription
Public propertyContentLengthGets or sets the length of the response.
Public propertyMillisecondsToFirstByteGets the number of milliseconds elapsed between StartTime and TimeOfFirstByte.
Public propertyMillisecondsToLastByteGets the number of milliseconds elapsed between StartTime and TimeOfLastByte.
Public propertyStartTimeGets or sets the time the request was sent to the server.
Public propertyTimeOfFirstByteGets or sets the time the first byte of the response was received.
Public propertyTimeOfLastByteGets or sets the time the last byte of the response was received.
Top

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This allows for detailed analysis of the performance of the request. This class is serializable.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: