In this recipe we are going to test the workflow that we have created so far. There are a number of test harness scripts that have been provided in the download bundle. The test harness is an SQL script that puts an XML message on to the advanced queue that we have created. The service component that monitors the queue will process the message. The workflow will be launched because we have subscribed to the business event linked to the advanced queue. We have created a workflow with only start and end objects so the workflow should complete without any errors. We will enqueue an XML payload onto the advanced queue to check that the workflow is being launched and completed. Later we will be adding a number of different objects to the workflow. We will therefore need to repeat these steps to test it.
The following are the tasks we will perform to test the workflow:
Adding a message to an advanced queue
Viewing a workflow in status monitor
Viewing...