Package us.abstracta.jmeter.javadsl.core
Interface DslJmeterEngine
-
- All Known Implementing Classes:
DistributedJmeterEngine,EmbeddedJmeterEngine
public interface DslJmeterEngineInterface to be implemented by classes allowing to run a DslTestPlan in different engines.- Since:
- 0.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestPlanStatsrun(DslTestPlan testPlan)Runs the given test plan obtaining the execution metrics.
-
-
-
Method Detail
-
run
TestPlanStats run(DslTestPlan testPlan) throws IOException, InterruptedException, TimeoutException
Runs the given test plan obtaining the execution metrics.This method blocks execution until the test plan execution ends.
- Parameters:
testPlan- to run in the JMeter engine.- Returns:
- the metrics associated to the run.
- Throws:
IOException- when there is a problem with an IO operation.InterruptedException- when the execution thread is interrupted.TimeoutException- when some configured time out is reached. Each engine might define a different set of timeouts.
-
-