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.

LoadTestLoadProfile::GetLoad Method (Int32)

 

When overridden in a derived class, returns the user load that should be used at the current time in the load test based on the number of seconds since the start of the load test.

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

public:
virtual int GetLoad(
	int elapsedSeconds
) abstract

Parameters

elapsedSeconds
Type: System::Int32

The number of seconds since the start of the load test.

Return Value

Type: System::Int32

The user load that should be used at the current time in the load test based on the number of seconds since the start of the load test.

This is a virtual method that must be implemented by each class that extends LoadTestLoadProfile.

Return to top
Show: