Skip to content

Instantly share code, notes, and snippets.

@nobiit
Created August 9, 2022 07:28
Show Gist options
  • Save nobiit/b789dbd5d0161a6709aa24c50c784d67 to your computer and use it in GitHub Desktop.
Save nobiit/b789dbd5d0161a6709aa24c50c784d67 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -e
DOMAIN=${1}
URI=${2}
COUNT=${3:-100}
printf "Testing WS Status for %s (%d count) ...\n" ${DOMAIN} ${COUNT}
for _ in $(seq 1 ${COUNT}); do
$(dirname ${0})/test-ws-status.sh ${DOMAIN} ${URI} | grep -v '^Testing'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment