Description

This method runs a Scenario, ScenarioChain, or ScenarioChainSet after the appropriate setup of a Scenario, ScenarioChain, or ScenarioChainSet.


Exceptions

The following GenRocket Exception may be thrown by this method:

  • A RepoName must be defined before any other repository client run command
  • There is nothing to run


Runtime Method Signature

Use this method signature when directly accessing the GenRocket binary runtime.

void clientRepoRun()


REST/Socket Payload Request

Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.

{
  "interfaceType": "Manual",
  "methodName": "clientRepoRun",
  "parameters": {
     "": ""
  }
}


Example Usage

final EngineAPI api = new EngineManual()
final String repoName = 'BankDemo'

// Example setup and run Scenario
api.clientRepoSet(repoName)
api.clientRepoScenarioLoad('AccountTypeScenario')
api.clientRepoRun()

// Example setup and run ScenarioChain
api.clientRepoSet(repoName)
api.clientRepoChainLoad('TypeTablesScenarioChain')
api.clientRepoRun()

// Example setup and run ScenarioChainSet
api.clientRepoSet(repoName)
api.clientRepoChainSetLoad('DefaultPopulateScenarioChainSet')
api.clientRepoRun()