Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestContext.WebTestUserId Property

 

Gets a value that uniquely identifies a simulated virtual user when you run the Web performance 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.

Legacy Code Example

System_CAPS_warningWarning

The unique value assigned to WebTestUserId for a simulated user is valid only when it is used with one load test scenario and one load test agent. The WebTestUserId value is not unique across multiple agents.

Return to top
Show: