[Stateful Functions] Using statefun for E2E testing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Stateful Functions] Using statefun for E2E testing

Oytun Tez
Hi there,

Today we were designing a test for a workflow that involved 3 different systems talking to each other async. My colleague came with the idea that we could use Flink for E2E, which we got excited about.

We came with a quick implementation, within our existing Flink application, after some hours of debugging this and that, everything actually worked very nicely. We triggered the initial actions within Functions, other Functions kept state for CEP-like logics (can we use Flink CEP directly?), some events triggered validation assortments via async API calls and such...

Has anyone used a similar approach? This is just a general question to see resources about integration testing via Flink.



 --

MotaWord
Oytun Tez
M O T A W O R D CTO & Co-Founder
[hidden email]
     
Reply | Threaded
Open this post in threaded view
|

Re: [Stateful Functions] Using statefun for E2E testing

Igal Shilman
Hi,

I'm glad to hear that your PoC with StateFun functions has turned out to be successful, even
if it is for verifying external systems are integrating with each other correctly.

I hope that eventually StateFun would replace the 3 external systems :-)

Good luck,
Igal.

On Fri, Apr 10, 2020 at 3:45 AM Oytun Tez <[hidden email]> wrote:
Hi there,

Today we were designing a test for a workflow that involved 3 different systems talking to each other async. My colleague came with the idea that we could use Flink for E2E, which we got excited about.

We came with a quick implementation, within our existing Flink application, after some hours of debugging this and that, everything actually worked very nicely. We triggered the initial actions within Functions, other Functions kept state for CEP-like logics (can we use Flink CEP directly?), some events triggered validation assortments via async API calls and such...

Has anyone used a similar approach? This is just a general question to see resources about integration testing via Flink.



 --

MotaWord
Oytun Tez
M O T A W O R D CTO & Co-Founder
[hidden email]