public class ScenarioLoader extends Object
Scenario
instance, which can be run by ScenarioExecution
based on its file type.Constructor and Description |
---|
ScenarioLoader() |
Modifier and Type | Method and Description |
---|---|
static Scenario |
load(String scenario)
Loads
Scenario from the location specified with the system property -Dscenario=<scenario name> . |
public static Scenario load(String scenario) throws PerfCakeException
Scenario
from the location specified with the system property -Dscenario=<scenario name>
.scenario
- Scenario location.Scenario
.PerfCakeException
- If scenario property is not set or there is some problem with loading the scenario.Copyright © 2010–2017 PerfCake Community. All rights reserved.