---
schema_version: "1"
id: 1ff8a88526dbe7054cd6ec5b306104a681a81eac66246f9b618771d7a1c9c1ec
title: Deploying and Testing Message Flows
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/partner-manager/latest/deploy-message-flows.md
canonical_url: https://docs.mulesoft.com/partner-manager/latest/deploy-message-flows
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 467cc55b59cd2c7711cf352d9772fbb9c9d42fb177da0a0ad92003f2563ca480
description: MuleSoft Documentation Site
release: 2.x
latest: true
---
---
product: Partner Manager
version: 2.x
is-latest-version: true
---

# Deploying and Testing Message Flows

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint Partner Manager dynamically validates the message flow configuration elements as you
complete them and displays a green checkmark next to each of the validated elements.

After Partner Manager validates the message flow configuration elements, deploy and test the message
flow in a sandbox environment. It can take up to five minutes from the time the message flow
deployment completes in the UI for the changes to take effect in the runtime.

## Deploy Message Flows

To deploy a message flow, click the **Deploy** button.

The message flow is deployed to Mule runtime engine, enabling you to:

- Start receiving messages from your partner.

- Use the **Activity** page to track the processed messages.

## Test a Deployed Message Flow

After you deploy the message flow, send test messages to verify that:

- You can receive messages and acknowledgments from your partners.

- The DataWeave map transformed the payload correctly.

- Your backend applications received the transformed messages.

Test your message flow in the Partner Manager sandbox environment by sending a test file to the
receiving endpoint:

1.  In the sidebar, select **Activity**.

2.  Search for the transmission by specifying the desired filters.

3.  In the transmission search results, you can do the following:

    - Verify that the transmission was sent or received.

    - Verify that Partner Manager sent the transmission to the correct endpoint.

    - If TA1 and functional acknowledgments (997) were set, review and confirm that they are present
      in the transmission.

4.  Click the transmission to view more summary information.

    Here, you can verify whether Partner Manager routed the transmission to the correct message
    flow. If the transmission involves AS2 endpoints, you can also verify whether the transmission
    sent a message disposition notification (MDN).

5.  Click the messages link to view summary information for the messages in the transmission and
    then click an individual message.

6.  Click **Target payload** in the **Target** section to view the message’s payload and determine
    whether Partner Manager transformed the message correctly.

7.  Repeat steps 5-6 for each message to verify.

## See Also

- [Undeploying Message Flows](https://docs.mulesoft.com/partner-manager/latest/undeploy-message-flows)

- [Creating Inbound Message Flows](https://docs.mulesoft.com/partner-manager/latest/create-inbound-message-flow)

- [Creating Outbound Message Flows](https://docs.mulesoft.com/partner-manager/latest/create-outbound-message-flow)
