Run simulations to test your API scenarios

You can run simulations in design time to easily test the events, event patterns, and strategies you defined for your interactive channel to make sure you receive the results you are expecting in runtime.

From the Simulator tab in your interactive channel, you can create scenarios to test different API combinations from within Unica Interact design time.

You can create, run, save, and copy basic and advanced scenarios.

Basic scenarios simulate startSession and getOffer APIs. For basic scenarios, you can define a name, description, audience level, audience ID, zone, and number of offers for your scenario. After you run the simulation, the offers that were returned from the getOffer API are displayed on the Simulation results tab. You can view the offer name, description, offer code, treadement code, score, and offer attributes.

Advanced scenarios can test startSession, getOffers, postEvent, getProfile, and endSession APIs. You can set a run sequence and add multiple getOffers and postEvent APIs in a scenario. From the Simulation results tab, you can view the run results for the APIs you added to your scenario.

The log for the last run is displayed on the Log tab.

Simulations use the test runtime server group specified in Campaign | partitions | partition[n] | Interact | simulator. Therefore, an interactive channel to be simulated should deploy to a server group set in this configuration property.

You can only simulate Java APIs.