Flowdrom
RUSign in
Testing

How to test an API chain before the backend is ready

Local runs help test data and process branches before implementing a server. Use the action editor, request and response templates and a local database.

Explore the online store example

Choose the data source and response behavior

In run settings, choose whether incoming data comes from the call or a local template. Responses can follow the action editor or a selected template. A template is a standalone parameter set for the current block, not a nested editor for called methods.

Test branches and tables

Add conditions, calls to other blocks and local database operations. Create tables with SQL or import a supported SQL dump within service limits. Compare each step's request and response. Required fields and parameter types must match the specification, including nested DTOs.

How a response template stops a nested chain

If block B returns a template response, its internal calls are skipped because its response is already defined. If caller A should call C after B returns, the call to C still proceeds. Skipped internal calls are marked in the run list. This lets you substitute unfinished components while testing the rest of the process.

When to switch to network runs

A network run sends a request to a real server. The HTTP method comes from the specification; the URL and request data can be adjusted in the run. By default, the server determines the result; post-request actions must be explicitly enabled. A local result does not prove the real backend works: test the network environment separately.

Questions and answers

Can free-text logic run as code?

No. Executable behavior is defined in the action editor. Without it, local tests rely on prepared templates.

Does a local run call an external server?

Running a particular block locally does not send its HTTP request to a server. In a mixed chain, other blocks or network databases may use real connections: check every participant's settings.

Flowdrom

Try it on your board

Features depend on the plan. See pricing for current terms.

Sign inView pricing