Method calls inside gatling before hook doesn't work


I have to start my application before running the actual simulation, so I decided to use the before hook with all the steps needed to launch the app and it works fine. However now as the number of steps inside before is more than 3 so I decided to create a scala function in super class and call this new created function inside the before hook. But to my surprise it just skips the method and doesnt do anything. So, is the function call inside before hook allowed or not?



Please share your code. Otherwise we are shooting in the dark.