You are viewing an older version of this topic. To go to a different version, use the version menu at the upper-right. +

MUnit Message Processors

MUnit has a set of dedicated message processors aimed to validate, assert and mock the content and status of the Mule message so you can run automatic tests against your Mule application.

The MUnit message processors allow you to:

  1. Simulate a specific behavior for a message processor with a Mock Message Processor.

  2. Lay out a Mule message using the Set Message Processor.

  3. Define a verification to validate a message processor’s call with a Verify Message Processor.

  4. Inspect the status of the mule message before and after it reaches certain Message Processor through a Spy Message Processor.

  5. Validate the content and status of the Mule message with the Assert Message Processor.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.