App Connect

 View Only

 Unit Testing - Running Test Cases in Test Projects and Integration Server JUnit configuration

Shazia Hakeemullah's profile image
Shazia Hakeemullah posted Thu September 11, 2025 02:25 AM

Hi All,
I have JUnit configuration for running test cases for unit testing. It's configured and working fine as a POC and for tutorial flow.
But for project specific flows it's getting errored out with below:
Failure Trace- TestException() Cannot call evaluate on a message flow node which is in 'stopped' state.
Console log:
BIP9320E: Message Flow 'XXXXX', 'XXXXX' encountered a failure and could not start. 
BIP2111E: IBM App Connect Enterprise internal error: diagnostic information 'Node.js event loop shutting down'.  

Please Note: The flow is up & running and is in started state , still getting error as 'stopped' state.

Could you please advise what's going wrong and guide on how to achieve this.
Let me know in case of additional details required.

Thanks in advance !!

------------------------------------

Shazia H
ACE Developer
______________________

VISHAL GUPTA's profile image
VISHAL GUPTA

worth to check in syslogs :) - sometime in webui messageflow looks running but behind  - its try to start 

Paul Lacy's profile image
Paul Lacy

Hello Shazia,   

 I suspect you may need to open a support call with IBM. 

Do you know which node it is ?   

Regards, Paul. 

David Honisch's profile image
David Honisch

With JUNIT, you test Java processes. However, the error message comes from Node.js, a separate process. The error message also states that the Node.js process is shutting down. I would recommend using chai, jest, or mocha (i.e., any Node.js test framework). I hope I could help.