Running test scenarios

After you create a test scenario, you can run the file on a started server. All of the entities, events, and tests that you define are submitted to the server and the results are printed in the Console tab.

Before you begin

Before you begin, you must have a deployment configuration and a completed test scenario.

About this task

Procedure

  1. Right-click the test scenario and select Run as > Test Scenario.
  2. In the Run Configurations wizard, confirm that your test client project and test scenario file (.tscn) information is correct.
  3. Optional: Click Enable recording to record the events running on the server. If you select this option, you can later review the behavior of your events in Insight Inspector.
  4. Optional: Click Reset solution state to reset the rule agent history, cached engines, time triggers, pending changes, and global aggregates on your server.
  5. Optional: If you want to clear all existing entities from the server, select Reset solution state and Delete all entities.
  6. Click Run.

Results

The result of your test is displayed in the Console view. Examine the tests that failed or do not behave as expected to understand why the actual values are not what you expect. You can modify and run a scenario as many times as you need to ensure that the entities that you are checking pass the test.