Skip to main content

Test Flows

What is the purpose of the Test Flow feature in Sparrow?​

The Test Flow feature allows users to build and manage test sequences for API behavior validation.

How can I add a new Test Flow?​

You can add a Test Flow from the main screen, left panel, or the Test Flows section by clicking on the ‘+ Add New Flow’ button.

What elements are available in the Test Flow interface?​

The interface includes a Flow Name field, Save, History, and Start buttons, as well as an Add Block button to add multiple test steps.

How do I add an API to a Test Flow?​

You can drag and drop a REST API from the left panel or choose it from the dropdown menu in the block.

Can I edit or delete API blocks in a Test Flow?​

Yes, you can modify an existing API or delete unnecessary blocks from the test flow.

How do I execute a Test Flow?​

You can start the execution by clicking on the Start or Run button. Successful steps will be highlighted in green, while errors will be highlighted in red.

How do I view the execution history of Test Flows?​

Click the ‘See History’ button in the top right corner to view detailed execution history.

How do I rename a Test Flow?​

After adding a Test Flow, you can rename it by editing the Flow Name field before saving the flow.

What happens if I delete a block from the Test Flow?​

Deleting a block may also remove subsequent blocks in the flow that depend on it. Confirm the deletion via the popup before proceeding.

Can I review detailed execution results of a Test Flow?​

Yes, by clicking on a block in the flow, you can view the request and response details of that specific step.

How do I ensure the Test Flow is saved?​

After configuring your test flow, click the Save button at the top right corner to save the flow. A success message will confirm the save.

How do I assess API performance in a Test Flow?​

After executing the flow, you can view the execution time and status codes for each API, which helps in assessing performance.

Can I run specific blocks within a Test Flow?​

Yes, you can execute individual blocks using the Run button available next to each block after adding them to the flow.

How do I edit an existing Test Flow?​

To edit an existing flow, select the flow from the Test Flows section, make necessary changes, and save the updated flow.

Can I view the results of previously executed Test Flows?​

Yes, by clicking the See History button, you can view the detailed history of all previous executions of the test flows.

How are failed API calls indicated in a Test Flow?​

If an API call fails during the test flow execution, the corresponding block will turn red, making it easy to identify errors.

Can I organize my Test Flows into folders?​

Yes, you can save Test Flows under specific folders or collections, which helps in organizing them for future use.