Partager via


WebTestResultTransaction Class

Stores the results of a transaction in a Web performance test.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultUnit
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultGroup
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultTransaction

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class WebTestResultTransaction _
    Inherits WebTestResultGroup _
    Implements ICloneable
[SerializableAttribute]
public class WebTestResultTransaction : WebTestResultGroup, 
    ICloneable
[SerializableAttribute]
public ref class WebTestResultTransaction : public WebTestResultGroup, 
    ICloneable
[<SerializableAttribute>]
type WebTestResultTransaction =  
    class 
        inherit WebTestResultGroup 
        interface ICloneable 
    end
public class WebTestResultTransaction extends WebTestResultGroup implements ICloneable

The WebTestResultTransaction type exposes the following members.

Properties

  Name Description
Public property Children Gets the children of a group. This can typically be a page or other groups also. Set accessor is set to internal. (Inherited from WebTestResultGroup.)
Public property DeclarativeWebTestItemId Gets or sets the ID of this request in a declarative test. (Inherited from WebTestResultUnit.)
Public property IsCompleted Gets a Boolean value that indicates whether the result status is Completed. (Inherited from WebTestResultUnit.)
Public property IsIncludedTest Gets or sets a value that indicates whether this transaction is implicit in the result.
Public property IsSkipped Gets a Boolean value that indicates whether this request was skipped. (Inherited from WebTestResultUnit.)
Public property Name Gets or sets the name of this transaction.
Public property Passed Gets a Boolean value that indicates whether all the children in the group passed. (Inherited from WebTestResultGroup.)
Public property ResponseTime Gets or sets the response time for this transaction.
Public property ResultStatus Gets or sets the WebTestResultStatus of this page or request. (Inherited from WebTestResultUnit.)
Public property SourceWebTestId Gets or sets the ID of the Web performance test. (Inherited from WebTestResultUnit.)

Top

Methods

  Name Description
Protected method AddNonExecutedChildren Adds the Web performance test items in the result group and marks them as templates. (Inherited from WebTestResultGroup.)
Public method Clone Creates a new object that is an identical copy of the current transaction. (Overrides WebTestResultUnit.Clone().)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetItem Retrieves the WebTestResultUnit at the specified index from the collection. (Inherited from WebTestResultGroup.)
Public method GetRequestSize Returns the size of the request. (Inherited from WebTestResultGroup.)
Public method GetResponseSize Returns the size of the response. (Inherited from WebTestResultGroup.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

WebTestResultGroup