Title: Test an SAP CPI iFlow with simulation and test calls | iGlow
URL: https://iglow.stellar-clouds.com/test-iflow-simulation.html
Updated: 2026-10-24

# Test an SAP CPI iFlow with simulation

**Short answer:** iGlow tests in two ways. Before deploy, it runs SAP's own iFlow simulation over the steps and routes it changed, with mocked receivers, so no external system is called. After deploy, the Test tab sends a real message to the iFlow's HTTP endpoint, with the URL, OAuth or Basic auth and CSRF token filled in for you.

## Simulation before deploy

- iGlow keeps a list of the steps and routes it changed that no simulation has covered yet, and works through it.
- The simulation follows the route a Router really sends the message down, and runs to the end of the normal route.
- Receivers are mocked with the reply iGlow expects, so no system outside the tenant is called.
- Deploy refuses changed steps that no passing simulation has covered, unless you agree to deploy them untested; it names those steps.
- When SAP refuses to start a simulation, you see all of SAP's reasons.

## Test calls after deploy

1. Open the **Test** tab and pick a deployed iFlow with an HTTPS sender.
2. Add the service key once. It stays in your browser and is never sent to iGlow's servers or to the AI.
3. Start from a sample body: iGlow reads the iFlow's first steps (converters, scripts, Router XPaths, schemas) to choose JSON or XML and the fields. **Suggest body** asks the AI for a realistic one.
4. Click **Send**. You see the response and the message status; for a failed message, the failing step and error, with a Fix button.

## Questions

### Can I test an iFlow without calling the real systems?

Yes. SAP's simulation runs steps of an iFlow in design time with mocked receivers. iGlow starts and reads these simulations for you and covers every changed step and route.

### Is iGlow's Test tab like Postman?

Yes, for your own iFlows: it fills in the real endpoint URL, gets the OAuth token from your service key and fetches the CSRF token, and then shows the message's status on the tenant.

## More guides

- [AI tools for SAP Integration Suite What exists in 2026 and what each is for](https://iglow.stellar-clouds.com/ai-tools-sap-integration-suite.html)
- [Create an iFlow with AI From a description or a spec to a deployed iFlow](https://iglow.stellar-clouds.com/create-iflow-with-ai.html)
- [Fix failed messages in SAP CPI Root cause, reviewed patch, one-click undo](https://iglow.stellar-clouds.com/fix-failed-messages-sap-cpi.html)
- [Trace a CPI message step by step Each step, its time, and where it failed](https://iglow.stellar-clouds.com/trace-message-sap-cpi.html)
- [Monitor Timer iFlows and JMS queues Missed Timer runs, waiting messages, failure hot spots](https://iglow.stellar-clouds.com/monitor-sap-cpi-timer-jms.html)
- [Changelog What changed in each release](https://iglow.stellar-clouds.com/changelog.html)
