function install_jmeter() {
#NOTE: $TESTDIR is set by the component triggering this script
- cd ${TESTDIR}/automate-performance
+ cd ${TESTDIR}/automate-s3p-test
sudo apt-get update
function teardown() {
echo "Removing temp directories.."
- rm -r ${TESTDIR}/automate-performance
+ rm -r ${TESTDIR}/automate-s3p-test
echo "Removed directories"
echo "==========================="
echo "Executing tests"
echo "==========================="
- cd ${TESTDIR}/automate-performance || exit
+ cd ${TESTDIR}/automate-s3p-test || exit
nohup jmeter -n -t $2 -l s3pTestResults.jtl
# TODO: Generate report on on_exit()
teardown
else
echo "Invalid arguments provided. Usage: $0 [option..] {run | uninstall}"
-fi
\ No newline at end of file
+fi