Scenario functions

The Genero BDL API for GGC provides functions for working with scenarios.

The following functions allow you to register and play scenarios for testing.

Table 1. Functions for working with scenarios
Function Description
registerScenario(FUNCTION function_name )
Registers a scenario function for testing.
getScenarioId()
  RETURNS STRING
Return the Id of the Scenario.
play()
Plays a scenario for testing.
end()
Ends a scenario for testing.