Re: Testing a nifi flow via junit

2016-01-05 Thread Joe Witt
Vincent, As Aldrin mentioned there is an effort underway to help with integration testing. But I'm not sure yet if it will help with what you're looking to do from a performance baseline perspective. I totally get Mark's cautionary comments but given your response it does seem like there is some

Re: Testing a nifi flow via junit

2016-01-05 Thread Vincent Russell
Thanks Mark, I didn't mean to suggest that I would like to compare the results of my test with actual nifi performance, but I would think that I would be able to compare different run iterations with each other. I did notice that the MockFlowFile is pretty much a wrapper around a byte array, whic

Re: Testing a nifi flow via junit

2016-01-05 Thread Mark Payne
Vincent, I would be vary wary about trusting performance results that you obtain by using the Mock Framework. The mock framework is intended to be used only for testing correctness, not performance. It has very different threading characteristics than the "actual" NiFi framework, and it uses ve

Re: Testing a nifi flow via junit

2016-01-05 Thread Vincent Russell
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 cha