com.eviware.soapui.model.testsuite
Interface LoadTestRunner

All Known Implementing Classes:
WsdlLoadTestRunner

public interface LoadTestRunner

Runner for loadtests

Author:
Ole.Matzura

Nested Class Summary
static class LoadTestRunner.Status
           
 
Method Summary
 void cancel(java.lang.String reason)
          Cancels the loadtest with the specified reason.
 void fail(java.lang.String reason)
          Fails the loadtest with the specified reason.
 LoadTest getLoadTest()
           
 float getProgress()
          Returns the progress of the loadtest as a value between 0 and 1.
 java.lang.String getReason()
          Gets the reason why a loadtest was cancelled or failed
 int getRunningThreadCount()
          Gets the number of threads currently running
 LoadTestRunner.Status getStatus()
          Gets the current status of this runner
 long getTimeTaken()
          Gets the time taken for this loadtest
 

Method Detail

getRunningThreadCount

int getRunningThreadCount()
Gets the number of threads currently running


getLoadTest

LoadTest getLoadTest()

cancel

void cancel(java.lang.String reason)
Cancels the loadtest with the specified reason. This should be used for "normal" cancellations, ie from a ui or some expected signal.

Parameters:
reason -

fail

void fail(java.lang.String reason)
Fails the loadtest with the specified reason. This should be used for error conditions


getStatus

LoadTestRunner.Status getStatus()
Gets the current status of this runner


getProgress

float getProgress()
Returns the progress of the loadtest as a value between 0 and 1. Progress is measured depending on the LoadTest limit configuration


getReason

java.lang.String getReason()
Gets the reason why a loadtest was cancelled or failed


getTimeTaken

long getTimeTaken()
Gets the time taken for this loadtest



Copyright © 2005-2008 eviware.com. All Rights Reserved.