nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Zhurakousky <>
Subject Re: Testing a nifi flow via junit
Date Mon, 11 Jan 2016 14:23:43 GMT
Just following up. . .
The project I was referring to is here in my fork (,
you can see there are few tests that essentially assemble a flow outside of Mock and/or UI.
There is more to be added there, but a good place to start.

On Jan 9, 2016, at 2:32 PM, Oleg Zhurakousky <<>>

This is definitely possible and been done. What makes it difficult at times is to have all
required NiFi dependencies in the process space of a given test.
I've actually proposed a separate module for these types of 'headless' flow tests. It actually
helped me to discover some of the bugs as well as learn some of the NiFi internals.

Anyway, not near the computer at the moment, but will follow up with more next week


Sent from my iPhone

On Jan 4, 2016, at 12:38, Vincent Russell <<>>


I see that there is a way to test a single processor with the TestRunner (StandardProcessorTestRunner)
class, but is there a way to set up an integration test to test a complete flow or a subset
of a flow?

Thank you,

View raw message