nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Russell <>
Subject Re: Testing a nifi flow via junit
Date Tue, 05 Jan 2016 22:17:25 GMT
Hello Aldrin,

Thanks for the response.

My current use case is that I would like to chain several processors
together and write a performance test against that mini flow and then be
free to modify the processors that are in the chain and see how performance
changes.    I think I may be able to chain several TestRunners together to
achieve my goal, although this isn't ideal.

Ideally I'd be able to provide the TestRunner with multiple Processors and
identify how the processors are chained together.


On Mon, Jan 4, 2016 at 3:26 PM, Aldrin Piri <> wrote:

> Hello Vincent,
> This is something that does not exist and there have been a few threads on
> this topic [1][2].
> Summarily, these tools do not currently exist due to the preference of
> using the interactive and real-time command and control over the flow as
> well as the increasing difficulty of maintaining flows as they grow and
> evolve.
> There are some good tips on how other people have tackled the problem in
> the linked message threads.  One alternative suggestion is making use of
> NiFi's template functionality [3] to work on stubbing out flows on a
> different instance and use that to promote an entire flow or segment to
> another system.  Templates are an area we are planning to both enhance and
> mature as laid out in some of our feature proposals [4][5].
> Please let us know if this is accomplishes the functionality you are
> looking for or if we are coming up a bit short on some of what your needs
> are for integration level testing.  Your case is common and certainly one
> we need to execute on well.  Any feedback you can provide from your
> perspective both in view of the current state of templates and the path
> forward as laid out in the proposals would be much appreciated!
> Thanks!
> --aldrin
> [1]
> [2]
> [3]
> [4]
> [5]
> On Mon, Jan 4, 2016 at 1:37 PM, Vincent Russell <
> > wrote:
>> All,
>> 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,
>> Vincent

View raw message