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, waitUntilFinished
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, fail, getReason, getRunContext, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, start, waitUntilFinished
public MockLoadTestRunner(WsdlLoadTest modelItem, org.apache.log4j.Logger logger)
public WsdlLoadTest getLoadTest()
getLoadTest
in interface LoadTestRunner
public float getProgress()
LoadTestRunner
getProgress
in interface LoadTestRunner
public int getRunningThreadCount()
LoadTestRunner
getRunningThreadCount
in interface LoadTestRunner
public boolean hasStopped()
LoadTestRunner
hasStopped
in interface LoadTestRunner
Copyright © 2019. All Rights Reserved.