Running event sequences
When the event sequence is complete, you can submit the event sequence to a running development server.
About this task
Running an event sequence against a server is a quick way to validate that your solution is working as you expect. All event sequences use the properties defined in the testdriver.properties file in the Test Client project. You can run any number of event sequences on a server, and you can easily modify and run any event sequence again if necessary.
You can run a single event sequence, as described in the following procedure, or you can run multiple event sequences one after the other by creating and running a test scenario.
The results of your event sequence are displayed in the Console tab, but you can also choose to record your event sequences to view the results in Insight Inspector. The recording includes all of the scheduled processing of your events, including events that are scheduled to be processed after the timestamp of the final event in the event sequence. You have the option of clearing the default Trigger pending schedules to display only the events in up to the timestamp of your final event. You can also pause the processing of events between steps to check the results in the log.
Procedure
- Start the development server on which you intend to run your event sequence. You can start the developer server named cisDev from the Samples console.
- Open the Event Sequence folder in the test client project and locate the .eseq file that contains your event definitions.
- Right-click the .eseq file and click . The Run Options wizard opens the first time that you run your event sequence to the server.
- In the Test Client wizard, check that the test client project and event sequence you want to run are selected.
- Optional: Click Enable Recording to record the events running on the server. If you select this option, you can later review the processing of these events in Insight Inspector.
- Optional: Click Reset Solution State to reset the rule agent history, cached engines, time triggers, pending changes, and global aggregates on the server.
- Optional: If you want to clear all existing entities from the server, select Reset Solution State and Delete all entities. If you chose this option, ensure that the entities are created during your test.
- Optional: Clear Trigger pending schedules if you do not want to process pending schedules after the last event in the sequence. Trigger pending schedules immediately processes all triggered events with timestamps, even if the scheduled time is after the timestamp of the last event in the event sequence.
- Click Run. The event sequence is submitted to the server.