I have developed a application that takes a RTMP feed and and displays the image.
Just to test locally how can i create a rtmp feed which can be given to the application.
You could set up something like Nimble Streamer or Wowza as a simple RTMP server.
Then the simplest way to generate an RTMP stream and send it to the RTMP server is the great open source project OBS.