Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 11 Deploying, Starting and Monitoring a TIBCO BusinessWorks Service : Testing the FileTest Process

Testing the FileTest Process
You can test the FileTest process directly from TIBCO Designer. This allows you to make sure the process works correctly before you deploy it. This step is not strictly required before you deploy but highly recommended. Follow these steps:
1.
Type Alt+F8 to open the Set BreakPoints dialog.
2.
In the window that appears, select Select All, and then click OK.
Breakpoints allow you to step through the process. Stepping helps you see what happens when each activity executes.
3.
Click the Tester tab to the left of the project panel. The test panel replaces the project tree.
4.
5.
The process is now in Test mode.
6.
Make a change to the text in C:\projects\bwtest\PolledFile.txt to start the process.
7.
TIBCO ActiveMatrix BusinessWorks creates an output file in the same directory named Filemodify.txt after you have stepped into the WriteToTest activity and writes the appropriate text to the file.
The text should be the text of PolledFile.txt and, after a space, the time, in milliseconds, since January 1, 1970.
You can click on each activity in the process definition as you step through it. If you click on the Process Data or Output tabs for the activity, you will see the actual process data and output of the activity as the process executes.
8.
Next, delete PolledFile.txt.
9.
TIBCO Administrator creates a file Fileremove.txt. The content of Fileremove.txt is just the time of modification, because the polled file no longer exists.
10.
For more information on using test mode, see the TIBCO BusinessWorks Process Design Guide.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved