Testing and Debugging Projects
This chapter explains how to test and debug projects within TIBCO BusinessEvents Studio.
The sections on debugger assume some familiarity with Eclipse Java debugger, as well as TIBCO BusinessEvents.
Note:
You can create test data and set breakpoints before you run debugger, or using views within the Debug perspective.
- Preparing to Run (Test) or Debug a Project
- Adding and Working with Launch (Debug or Run) Configurations
Launch configurations are of two types: run configurations and debug configurations. All launch configurations have the same basic fields, but debug configurations have extra settings for remote debugging. - Launch Configurations Reference
- Test Data
You can send data to the engine through channels in the normal way. You can also create data within TIBCO BusinessEvents Studio for assertion into the running engine’s Rete network during testing and debugging. Doing so means you don’t have to have the external resources in place in order to test or debug the runtime. - Working with Concept and Event Test Data
You can enter data in the Test Data editor for event payloads, and for concept, event and scorecard properties, including properties that are primitive types, array types, contained concepts, and reference concepts. If the concept, event or scorecard properties are associated with a domain model, then the test data gets populated with the values in the domain model. You can use global variables. - Setting Breakpoints in Rules and Rule Functions
Setting breakpoints is an Eclipse feature. This section provides only basic information. You can also use advanced features such as importing and exporting breakpoints, and using class prepare breakpoints. See Eclipse help for more details on all breakpoint functionality. You can set or change breakpoints during a debug session also. - Running Debugger
Make sure you have completed setup as needed. Then run debugger as explained below. - Running Tester
Make sure you have completed setup as needed. You can create test data before you run tester, or using views within the Debug perspective. Other setup must be done before you begin. - Asserting Rule Input Data
You can assert either tester data, or rule data for use in Tester or Debugger. - Viewing the Results
- Viewing and Understanding Working Memory Contents
The Working Memory concepts or scorecards can be manipulated in Working Memory View. Option to modify Working Memory Contents is available only in the Working Memory editor.
Copyright © TIBCO Software Inc. All rights reserved.