kindly help me to overcome this issue. I have developed my mule flow ( version 3.4). When i run the JUnit Test case, Flow running fine till the Data Mapper
message processor. Once after reaching dataMapper flow throwing the error like .grf doesnot exits
. But when i run the same flow in Mule server able to get the response successfully.Problem happens only when running the JUnit TestCase.
Observation: When we hit through JUit TestCase , DataMapper location is not being recognized in the classpath. Please find my complete error
ERROR [Thread-0] [org.mule.exception.CatchMessagingExceptionStrategy] - Message : com.mulesoft.mule.module.datamapper.api.exception.DataMapperCreationException: The data mapping graph C:\Documents and Settings\UserID\Desktop\Mule-Project\MuleProject\Transformation_InputRequest.grf does not exists (java.lang.RuntimeException). Message payload is of type: String
Code : MULE ERROR -2 Exception stack is: 1. The data mapping graph C:\Documents and Settings\UserID\Desktop\Mule-Project\MuleProject\Transformation_InputRequest.grf does not exists (com.mulesoft.mule.module.datamapper.api.exception.DataMapperCreationException) com.mulesoft.mule.module.datamapper.clover.impl.graphfactory.AppHomeCloverGraphFactoryImpl:52 (null)
I have observed -there is the JIRA raised for this issue:https://www.mulesoft.org/jira/browse/STUDIO-3400
but it seems to be open state.
I'm not able to proceed other success and failure scenario's Junit TestCase since i have dataMapper in main flow itself.
Is there any way to overcome this issue to proceed further. Kindly suggest.
Thanks in advance.