Step 9: Test the Process
Once the process definition is complete, you can perform preliminary testing from TIBCO Designer. In test mode, a ActiveMatrix BusinessWorks engine is started to perform the processing specified in the process definition.
The ActiveMatrix BusinessWorks testing environment allows you to step through your process models and find sources of errors. Entering the testing environment starts a ActiveMatrix BusinessWorks engine. The engine starts process instances based on the process definitions stored in your project. The testing environment displays the running process definitions and highlights the currently executing activity.
Testing a process definition typically involves these steps:
Procedure
-
Select the process definition you wish to test in the project panel.
-
Click the Start Test Mode icon on the toolbar. This starts a ActiveMatrix BusinessWorks engine that will execute the processes.
Once the engine is started, the test mode icon displays on the toolbar to let you know you are in test mode. Once you are in test mode, you cannot change your process definition. You must exit test mode to make changes.
-
Set breakpoints in the process definition at points where you wish to stop a running process and examine its state.
-
If necessary, supply input data to the process starter.
-
Click the Start/Resume Testing icon to create a process instance from the displayed process definition.
-
Start a process by creating an event that the process starter is expecting. For example, if the process starter is listening for a TIBCO Rendezvous message, publish a message on the expected subject.
-
If you started multiple process instances, select the desired process instance from the list of processes in the toolbar. Examine the process data by selecting any of the activities in the process. The activity’s current data is displayed on the Input and Output tabs.
-
Use the toolbar buttons (Pause Testing, Step to Next Activity, Step Into SubProcesses, Stop Testing, Start/Resume Testing) to either continue through the process instance or to stop the current process instance.
When your process definition operates as expected, you can go on to deployment, the next step in your integration project, which is discussed in Phase 5: Deployment and, in more detail, in the TIBCO ActiveMatrix BusinessWorks™ Administration.