test_integration
Send a test payload through bidirectional integration end-to-end and verify correct arrival on the other side, returning pass/fail verdict and response details.
Instructions
Send a single test payload through the bidirectional integration end-to-end and verify it arrives correctly on the other side.
For SN→external: touches a specific SN record (sets a harmless field) to fire the Business Rule, then polls the correlation table to confirm the external record was created/updated.
For external→SN: POSTs a test payload directly to the SN Scripted REST API inbound endpoint and verifies the SN record was updated.
Returns: pass/fail verdict, response from both sides, correlation record state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | Integration prefix (from design_integration plan) | |
| direction | Yes | Which direction to test | |
| sn_record_sys_id | No | For sn_to_external: sys_id of a real SN record to trigger sync on | |
| test_payload | No | For external_to_sn: payload to POST to the inbound endpoint | |
| sn_table | No | SN table the record belongs to |