Package org.apache.jmeter.engine
Interface JMeterEngine
- All Known Implementing Classes:
ClientJMeterEngine
,StandardJMeterEngine
public interface JMeterEngine
This interface is implemented by classes that can run JMeter tests.
-
Method Summary
-
Method Details
-
configure
Configure engine- Parameters:
testPlan
- the test plan
-
runTest
Runs the test- Throws:
JMeterEngineException
- if an error occurs
-
stopTest
default void stopTest()Stop test immediately interrupting current samplers -
stopTest
void stopTest(boolean now) - Parameters:
now
- boolean that tell whether stop is immediate (interrupt) or not (wait for current sample end)
-
reset
void reset()Stop test if running -
setProperties
set Properties on engine- Parameters:
p
- the properties to set
-
exit
void exit()Exit engine -
isActive
boolean isActive()- Returns:
- boolean Flag to show whether engine is active (true when test is running). Set to false at end of test
-