Gets or sets the profile of the user load for this scenario.
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
You can assign values to the property of LoadTestScenario in the Initialize() method or in any of the LoadTestPlugin event handlers. However, it is pointless to assign a value to this property in the LoadTestFinished event handler.
In a multi-agent test rig, a Load Test Plug-In that is running on any of the agents can change the value of the property. In this case, those changes are propagated to all other agents through the controller.
If plug-ins that are running on different agents all change the property, the last agent to change the value will override the previous value on all agents. Typically, the changes are applied in seconds on all agents. However, especially when you use a large number of agents, some agents might begin to use the new settings before other agents.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.