calling a function created within Dataweave script getting below exception.It happens when I run it as MunitERROR 2017-01-30 14:30:03,924 [main] org.mule.exception.DefaultMessagingExceptionStrategy:
*********Message payload is of type: String (org.mule.api.MessagingExce