2 INSTALL_DIR=/var/opt/OpenECOMP_ETE
4 # Execute tags built to support the hands on demo,
8 echo "Usage: runSoak.sh [-p <filename> -d <seconds> -c <seconds>]"
11 echo " - name of JSON file containing test profile"
13 echo " -d, --duration"
14 echo " - Duration of soak test (overrides value --profile)"
16 echo " -c, --cyclelength"
17 echo " - Time between starting iterations of profile"
18 echo " If longer than total run time of a single iteration,"
19 echo " additional wait is added before starting the next iteration."
20 echo " Value has no effect if it is shorter than the total run time"
21 echo " of a single iteration over the profile."
22 echo " (overrides value in --profile)"
27 export PYTHONPATH=${INSTALL_DIR}/robot/library
28 python -m loadtest.TestMain $@ --logfile /share/logs/soak_$$.log