Newer
Older
istex-api-harvester / bash / run.sh
@perrin perrin on 10 Aug 2015 1 KB Commit -- 10/08/2015 @ 17:54:37
#!/usr/bin/env bash
########################################################################
#
# Lanceur de tests de harvesting
#
########################################################################

# ----------------------------------------------------------------------
# Test INTERNE + PROXY
# ----------------------------------------------------------------------
export http_proxy="http://proxyout.inist.fr:8080"
export https_proxy="http://proxyout.inist.fr:8080"
export HTTP_PROXY="http://proxyout.inist.fr:8080"
export HTTPS_PROXY="http://proxyout.inist.fr:8080"
URL="http://192.168.128.14:53332"
./harvest-perf.sh "$URL"

# ----------------------------------------------------------------------
# Test INTERNE - PROXY
# ----------------------------------------------------------------------
unset http_proxy
unset https_proxy
unset HTTP_PROXY
unset HTTPs_PROXY
URL="http://192.168.128.14:53332"
./harvest-perf.sh "$URL"

# ----------------------------------------------------------------------
# Test EXTERNE (ADSL)
# ----------------------------------------------------------------------
export http_proxy="http://adsl.inist.fr:8080"
export https_proxy="http://adsl.inist.fr:8080"
export HTTP_PROXY="http://adsl.inist.fr:8080"
export HTTPS_PROXY="http://adsl.inist.fr:8080"
URL="https://api.istex.fr"
./harvest-perf.sh "$URL"