Sorry, we didn't find any relevant articles for you.

Send us your queries using the form below and we will get back to you with a solution.

API Method - clientRepoScenarioLoad

This method loads the Scenario.

Exceptions

The following GenRocket Exception may be thrown by this method:

  • A RepoName must be defined before any other repository client run command

Runtime Method Signature

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

void clientRepoScenarioLoad(String scenarioName)

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": "clientRepoScenarioLoad",
  "parameters": {
     "scenarioName": ""
  }
}

Example Usage

final EngineAPI api = new EngineManual()

api.clientRepoSet('BankDemo')
api.clientRepoScenarioLoad('AccountTypeScenario')
api.clientRepoRun()