We’re excited to announce that mabl now supports reusable flows in API tests! This feature allows users to seamlessly reuse common steps across their API tests, such as obtaining an auth token, setting up test data, or cleaning up data at the end of the test.
Flows help streamline your API testing process by:
- Promoting reusability: avoid redundant steps by encapsulating common test sequences.
- Improving maintainability: update a flow once, and the changes apply to all tests using it.
API flow settings
Try it out
Flows can be created from the API Test Editor. To get started:
- In the API Test Editor, click on Add flow > New flow.
- Give the flow a descriptive name.
Smart tip 💡 When creating a flow from existing steps, mabl will automatically suggest a name for the flow using Generative AI.
- Configure flow-level auth, custom scripts, and parameters as needed.
- Add new steps or drag and drop existing steps between the Start flow and End flow steps.
- Save the test to save the new API flow to your workspace.
For more details on how to create reusable API flows, check out the docs.
Limitation
Loops are not currently supported for flows in API tests.