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 […]

Boomi

Updating Data in Stream with Groovy and JavaScript in Boomi

Introduction It is possible to generate documents directly from data processing shapes in Boomi by storing the data in a streaming store and producing the document. In this discussion, we will explore how to achieve this using both Groovy and JavaScript. Groovy code breakdown Let’s explore the code in detail: import java.util.Properties; import java.io.InputStream; import […]