Description
This method is used to initialize a Scenario prior to calling the method scenarioRun(scenarioName). This method needs to be called when controlling the run of a given Scenario within a Scenario chain.
For example, a set of Scenarios are defined within a Scenario chain called, WorkFlowScenarioChain. When the Scenario called, CheckAccount, is reached, the User Domain, amount Attribute's Generator value will be changed to 1000.00. Note line number 14, each Scenario is initialized before any modifications can happen or the Scenario will not run successfully.
Exceptions
The following GenRocket exceptions may be thrown by this method:
- If no Scenarios have been loaded because loadScenario() has not be run.
- If the Scenario defined by scenarioName is not found.
Runtime Method Signature
Use this method signature when directly accessing the GenRocket binary runtime.
REST/Socket Payload Request
Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.
REST/Socket Payload Successful Payload Response
The API JSON response payload for this method will be empty.