MuleSoft

MUnit in MuleSoft

Introduction What is MUnit? MUnit is a Mule application testing framework that allows you to easily build automated tests for your integrations and APIs. Why use MUnit? It provides a full suite of integration and unit test capabilities and is fully integrated with Maven and Surefire for integration with your continuous deployment environment. With MUnit […]

MuleSoft

Handling Error Scenarios and Externalizing Input and Assert Expressions in MUnit

Objective: We are going to write test cases for the scenarios where the flow is going to throw errors. The application we are going to test is Database configuration Query Database Postman Request and response Error handler “transform messages” DB:CONNECTIVITY   MULE:ANY Step 1: Select the flow you want to test (“lookup-based-on-customer-name”) then right-click on […]