Testing Integrations

Testing Integrations#

The integration designer provides a sandbox for testing integrations from the bottom-right Testing pane. There, you can invoke an integration, configure test credentials and config variables, and view test logs in real time.

You can test your integration after you set testing config variables and credentials by clicking the SAVE & RUN TEST button.

How to Test an Integration that Requires Config Variables and Credentials

Test Config Variables and Credentials#

If your integration uses config variables, you can specify testing values for those variables under the Configuration tab of the Testing pane. If you specified default values for your config variables, those will be preset for you. Otherwise, fill in testing values and credentials for the purposes of testing your integration.

We recommend that you create testing, non-production credentials for integration sandbox tests.

Test Run Outputs#

After running an integration test, the output of each step is available in the Step Outputs tab of the Test Runner pane. Select which step you would like to see results for from the dropdown menu. You can reference those results in subsequent steps. This is helpful for debugging and verifying the flow of data within your integration.

Test Run Logs#

Output for your test run is displayed under the Logs tab in the Test Runner pane. If any of your steps log output or throw errors, you will see those logs and errors in this window.

For More Information: Logging, Log Retention

Testing a Webhook Trigger#

An integration can be invoked via webhook. This is useful if you have a third-party system that sends data to an integration to be processed.

To test a webhook invocation of an integration, open the Trigger tab of the Test Runner pane and take note of the "POST URL".

You can use that URL to invoke a test of your integration, just as you would to invoke an execution of a deployed instance - see our webhook trigger docs.

Replaying Test Invocations#

Time-saving tip

Just like instance replays, you can replay a test integration invocation. That comes in handy if you are testing an integration invocation from a third-party app. You don't need to set up your third-party environment every time - you can fire off a webhook invocation once from your third-party app with a payload, and run that same payload through your integration until you're happy with the results.

To replay a test integration invocation, open the Test Runner pane and click into the Runner tab. Click the

icon to the right of the test that you would like to replay.

The payload that was sent to trigger this integration test will be fed back into another test of the integration. This allows you to make changes to your integration and iterate quickly, without needing to reconfigure your third-party apps and services to fire new webhook requests over and over.