I have added few Pre and Post steps in VSM. Pre step before listener will check for server status and start the server accordingly. Post step will stop the server.
What i observer is for every incoming request will not only be consumed by Listener but it will be pass through pre steps and those are executed.
Here is my VSM -
The issue i am facing is, my Post stop server step will be executed but after that start server will get executed again. I am not sure whether its a common behavior of VSM.
Here is Inspection View -