Package org.apache.jmeter.engine
Interface JMeterEngine
-
- All Implemented Interfaces:
public interface JMeterEngine
This interface is implemented by classes that can run JMeter tests.
-
-
Method Summary
Modifier and Type Method Description abstract void
configure(HashTree testPlan)
Configure engine abstract void
runTest()
Runs the test void
stopTest()
Stop test immediately interrupting current samplers abstract void
stopTest(boolean now)
abstract void
reset()
Stop test if running abstract void
setProperties(Properties p)
set Properties on engine abstract void
exit()
Exit engine abstract boolean
isActive()
-
-
Method Detail
-
configure
abstract void configure(HashTree testPlan)
Configure engine
- Parameters:
testPlan
- the test plan
-
runTest
abstract void runTest()
Runs the test
-
stopTest
void stopTest()
Stop test immediately interrupting current samplers
-
stopTest
abstract void stopTest(boolean now)
- Parameters:
now
- boolean that tell whether stop is immediate (interrupt) or not (wait for current sample end)
-
reset
abstract void reset()
Stop test if running
-
setProperties
abstract void setProperties(Properties p)
set Properties on engine
- Parameters:
p
- the properties to set
-
exit
abstract void exit()
Exit engine
-
isActive
abstract boolean isActive()
- Returns:
boolean Flag to show whether engine is active (true when test is running). Set to false at end of test
-
-
-
-