Opening the simulator
Click Open Simulator in the top-right toolbar. The simulator panel opens at the bottom of the canvas with three sections:- Events panel (left) — Manage test events
- Node trace (center) — Search and inspect node execution
- Results panel (right) — View Output, Input, and Trace tabs
Managing test events
- BRMS
- Playground
In the BRMS, test events are organized into:
- Unsaved — Temporary events that aren’t persisted
- Private — Your personal saved events
- Shared — Events shared with your team
Running a test
- Select or create a test event
- Enter your test input as JSON
- Click the Run button (play icon) or press
Enter - View results in the Output tab
Reading results
After running a test, you see: Output — The final result returned by your decision Trace — Step-by-step execution showing:- Which nodes executed
- What data each node received
- What each node produced
- Which decision table rows matched
Trace view
The trace shows execution order and data at each step:| Step | Node | Input | Output |
|---|---|---|---|
| 1 | Input | — | {customer: {...}, order: {...}} |
| 2 | Calculate Totals | {order: {...}} | {subtotal: 250, tax: 20} |
| 3 | Discount Rules | {customer: {...}, subtotal: 250} | {discount: 0.15} |
| 4 | Output | {discount: 0.15, ...} | Final result |
Decision table tracing
For decision tables, the trace shows:- Evaluated rows — All rows that were checked
- Matched row — The row (or rows) that matched
- Match details — Which conditions passed or failed
Performance metrics
The trace includes timing for each node:- Execution time — Microseconds spent in each node
- Total time — End-to-end evaluation time
Testing strategies
Test edge cases
Create inputs that test boundary conditions:Test each decision table row
Create inputs designed to match each row in your tables. This ensures all paths work correctly.Test error conditions
Try inputs with:- Missing fields
- Null values
- Invalid data types
- Empty arrays