Export (0) Print
Expand All

LoadTest.LoadTestStarting Event

Occurs just before the load test begins to run on the agent.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

public event EventHandler LoadTestStarting

For more information about how to handle events, see Consuming Events.


If a ILoadTestPlugin implementation has code that should be run before the load test starts on any agent, that code should be placed in the load test plug-in Initialize method instead of in the LoadTestStarting event handler, because the former is guaranteed to run before the load test is started on any agent, whereas the latter is not.

Community Additions

© 2014 Microsoft