I am using Gatling plugin in my spring-boot application to do performance tests of the REST APIs exposed as part of the application hence need my application to be up before the gatling tests runs.
Since Gatling execution is associated to integration-test phase by default so I tried using start-stop goals for pre-integration-phase and post-integration-phase respectively but getting below error for the same :
[ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.1.RELEASE:start (pre-integration-test) on project : Spring application did not start before the configured timeout (30000ms -> [Help 1] ]
Just to add that running gatling goal mvn gatling:execute
runs just fine when the application is up but i want to run it as part of maven phases.