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.

You can create data while you are working in the debug perspective. You can also create and save test data ahead of time and save it in your project for later use.

The internal data is used at the following bottom tabs, within the Rule Input tab:

Tester Data
This is concept and event instance data. You create it in the TIBCO BusinessEvents Development perspective, right-click an entity and select Create Test Data. You use it in the Debug perspective: select the Rule Input View > Tester Data tab.
Rule Data
This is data directly provided as rule input. It is created and edited in the Rule Input View > Rule Data tab (in the Debug perspective).

How you use test data depends on what aspect of a project you want to test or debug.

Note: If the test data gets asserted in Cache Agent then the studio shows a message "Test data cannot be asserted" along with a "Can't assert Object when activeMode is false" message on console as cache agents are not actively participating in processing inputs. Only Inference Agents processes inputs and the test data should be asserted into Inference Agent.