Download (direct link):
public void run(junit.framework.TestResult result)
This method runs the test in one of the two ways specified by the constructor. runUntilTestCompletion(junit.framework.TestResult result)
protected void runUntilTestCompletion(TestResult result)
protected void runUntilTimeExpires(final junit.framework.TestResult
These methods provide the two types of timed execution. They're used internally. toString()
public String toString()
This method informs you whether the test is waiting or non-waiting, but it does not give information about the maximum time specified for this TimedTest instance.
public interface Timer
This interface defines a timer that can be used with LoadTest to regulate the addition of new users to the LoadTest. This interface can be implemented by developers who wish to customize the simulation of user loads.
public long getDelay()
This method returns a number of milliseconds representing the delay between two events regulated by this Timer.