3 curl localhost:9200/_cluster/health?pretty=true
5 echo "BE health-Check:"
6 curl http://localhost:8080/sdc2/rest/healthCheck
10 echo "FE health-Check:"
11 curl http://localhost:8181/sdc1/rest/healthCheck
16 http_code=$(curl -o out.html -w '%{http_code}' -H "Accept: application/json" -H "Content-Type: application/json" -H "USER_ID: jh0003" http://localhost:8080/sdc2/rest/v1/user/demo;)
17 if [[ ${http_code} != 200 ]]
19 echo "Error [${http_code}] while user existance check"
22 echo "check user existance: OK"