Description

The following command line options instruct the GenRocket runtime to load and run a given scenario.


Commands

-r <scenarioName>
--run-scenario <scenarioName>


Note: The name of the Scenario must end with .grs (e.g. AccountScenario.grs, UserScernario.grs)


Examples

Running With Full Path

The full path of a Scenario must be given when the current command line directory is not the directory where the Scenario is located. In the example below, the UserScenario.grs is located in directory, /Users/jdoe/Downloads/. 

  • genrocket -r /Users/htaylor/Downloads/UserScenario.grs


Running Without Full Path

The full path of a Scenario does not have to be given when the current command line directory is the directory where the Scenario is located. In the example below, the user has changed to the directory where the UserScenario.grs is located. 

  • genrocket -r UserScenario.grs