/*
* SoapUI, Copyright (C) 2004-2016 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequent
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Licence at:
*
* http://ec.europa.eu/idabc/eupl
*
* Unless required by applicable law or agreed to in writing, software distributed under the Licence is
* distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the Licence for the specific language governing permissions and limitations
* under the Licence.
*/
package com.eviware.soapui.model.testsuite;
/**
* Runner for loadtests
*
* @author Ole.Matzura
*/
public interface LoadTestRunner extends TestRunner {
/**
* Gets the number of threads currently running
*/
public int getRunningThreadCount();
public LoadTest getLoadTest();
/**
* Returns the progress of the loadtest as a value between 0 and 1. Progress
* is measured depending on the LoadTest limit configuration
*/
public float getProgress();
/**
* Confusing but unfortunately necessary; isStopped will return false until
* the loadtest has called all handlers, etc.. the status will be set to
* FINISHED before that.
*
* @return
*/
public boolean hasStopped();
}