This documentation is archived and is not being maintained.

LoadTest.TestStarting Event

Occurs when an iteration of one of the tests contained within the load test is started.

Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in microsoft.visualstudio.qualitytools.loadtestframework.dll)

public event EventHandler<TestStartingEventArgs> TestStarting
/** @event */
public void add_TestStarting (EventHandler<TestStartingEventArgs> value)

/** @event */
public void remove_TestStarting (EventHandler<TestStartingEventArgs> value)

JScript supports the use of events, but not the declaration of new ones.

TestStartingEventArgs contains a reference to the test that is starting, and the LoadTestScenario in which it is starting.

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