HCP, Maven and CI
I am playing around with the HCP maven plugin in a CI setup. My WAR app is exposing a JPA as OData via Olingo. When I want to execute my jMeter tests, they always fail. All my test are done locally, no cloud deploy (yet)
I seems that the local install of the WAR finishes too early. Maven set ups the local Neo instance, copies the WAR and then starts the jMeter tests. Neo takes a while to pick up the WAR, install and initialize it. During the setup time of the WAR, the jMeter tests are already executed and the local JEE server won`t send a waiting response.
When I only run the pre-integration target, Neo is installed, WAR copied, and after a while (2 minutes), the web application can be accessed by browser and works.
Now, is this just me? I am doing something wrong? Or do I have to wait for 1, 2 or more minutes until the WAR is 100% deployed and working?