public class ScenarioExecution extends Object
Modifier and Type | Method and Description |
---|---|
static void |
execute(String scenarioFile,
Properties properties)
Executes the given scenario in the same way as PerfCake was started from the command line.
|
static void |
main(String[] args)
Creates an instance of
ScenarioExecution and executes the scenario. |
public static void main(String[] args)
ScenarioExecution
and executes the scenario.args
- Command line arguments.public static void execute(String scenarioFile, Properties properties) throws PerfCakeException
scenarioFile
- The file with scenario definition.properties
- Any additional properties that would be normally set using -Dprop=value (most command line arguments can be set like this).PerfCakeException
- When it was not possible to load the scenario.Copyright © 2010–2017 PerfCake Community. All rights reserved.