public class MockLoadTestRunner extends AbstractMockTestRunner<WsdlLoadTest> implements LoadTestRunner
TestRunner.Status| Constructor and Description |
|---|
MockLoadTestRunner(WsdlLoadTest modelItem,
org.apache.log4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
WsdlLoadTest |
getLoadTest() |
float |
getProgress()
Returns the progress of the loadtest as a value between 0 and 1.
|
int |
getRunningThreadCount()
Gets the number of threads currently running
|
boolean |
hasStopped()
Confusing but unfortunately necessary; isStopped will return false until
the loadtest has called all handlers, etc..
|
cancel, fail, getLog, getReason, getRunContext, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, setRunContext, start, waitUntilFinishedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, fail, getReason, getRunContext, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, start, waitUntilFinishedpublic MockLoadTestRunner(WsdlLoadTest modelItem, org.apache.log4j.Logger logger)
public WsdlLoadTest getLoadTest()
getLoadTest in interface LoadTestRunnerpublic float getProgress()
LoadTestRunnergetProgress in interface LoadTestRunnerpublic int getRunningThreadCount()
LoadTestRunnergetRunningThreadCount in interface LoadTestRunnerpublic boolean hasStopped()
LoadTestRunnerhasStopped in interface LoadTestRunnerCopyright © 2019. All Rights Reserved.