{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21644,"path":"integrate-applications/integration-hub/test-data-stream-action.md","title":"Test a Data Stream action","bundle":null,"doc_type":null,"release":"australia","body":"\n# Test a Data Stream action\n\nTest your Data Stream action to ensure that it works the way you expect before you add it to a flow.\n\n## Before you begin\n\n-   [Create a Data Stream action](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/create-data-stream-action.md)\n-   Role required: action\\_designer or admin\n\n## About this task\n\nTesting a Data Stream action returns the first 20 items by default. To change this value, add the **com.glide.hub.action\\_type.datastream.test\\_max\\_iterations** system property with a value between one and 50.\n\n## Procedure\n\n1.  Open the Data Stream action you want to test.\n\n    1.  Navigate to **Flow Designer** &gt; **Designer**.\n\n    2.  Select the Actions tab.\n\n    3.  Select the row for the Data Stream action you want to test.\n\n2.  Select **Test**.\n\n    The system displays the Test Action dialog. The contents of the Test Action dialog depend on the Data Stream action inputs.\n\n3.  In the Test Action dialog, provide values for any action inputs and select **Run Test**.\n\n4.  Open the Execution Details to ensure that the action executed as expected.\n\n    The Execution Details **Runtime Value** returns the first 20 items returned by the Data Stream action.\n\n\n## What to do next\n\n[Use a Data Stream action in a flow](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/use-data-stream-in-flow.md).\n\n**Parent Topic:**[Data Stream actions and pagination](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/data-stream-actions.md)\n\n"}}