This documentation is archived and is not being maintained.

WebTestContext.WebTestUserId Property

Gets a value that uniquely identifies a simulated virtual user when you run the Web test in a load test.

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

public int WebTestUserId { get; internal set; }

Property Value

Type: System.Int32
A virtual user identification number.

Show: