- kpi uses 8883 port for healthcheck and endurance profile uses 8884
port.
Issue-ID: CPS-2642
Change-Id: I0ee63f14e30141d894eb0e8b9a646a3e4112dac8
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
--profile dmi-stub \
up --quiet-pull --detach --wait || exit 1
+ if [[ "$testProfile" == "kpi" ]]; then
+ ACTUATOR_PORT=8883
+ elif [[ "$testProfile" == "endurance" ]]; then
+ ACTUATOR_PORT=8884
+ fi
+
echo "Build information:"
-curl http://localhost:8883/actuator/info
+curl --silent --show-error http://localhost:$ACTUATOR_PORT/actuator/info
echo