#!/usr/bin/env bash source "$DIR/federation_scenario-$scenario-env" if [[ -z "$password" ]]; then exit 1 fi if [[ -z "$port" ]]; then exit 1 fi status_code="$(curl -o /dev/null -w '%{http_code}' "http://localhost:$port/")" if [[ "$status_code" != "200" ]]; then exit 1 fi