#!/bin/bash
SCRIPTPATH="$(cd "$(dirname "$0")" && pwd -P)"
JMETER_HOME=${JMETER_HOME:=~/apache-jmeter-3.3}
HONO_HOST=$1
HONO_HOST=${HONO_HOST:=127.0.0.1}
OUT=$SCRIPTPATH/results
HONO_HOME=${HONO_HOME:=$SCRIPTPATH/../../..}
TRUST_STORE_PATH=$HONO_HOME/demo-certs/certs/trusted-certs.pem
SAMPLE_LOG=load-test-messaging-router.jtl
TEST_LOG=load-test-messaging-router.log

rm -rf $OUT
rm $SAMPLE_LOG

$JMETER_HOME/bin/jmeter -n -f \
-l $SAMPLE_LOG -j $TEST_LOG \
-t $SCRIPTPATH/jmeter/amqp_messaging_throughput_test.jmx \
-Jplugin_dependency_paths=$HONO_HOME/jmeter/target/plugin \
-Jjmeterengine.stopfail.system.exit=true \
-JdefaultTrustStorePath=$TRUST_STORE_PATH \
-Lorg.eclipse.hono.client.impl=WARN -Lorg.eclipse.hono.jmeter=INFO
-JdeviceCount=4 \


#!/bin/bash
SCRIPTPATH="$(cd "$(dirname "$0")" && pwd -P)"
JMETER_HOME=${JMETER_HOME:=~/apache-jmeter-3.3}
HONO_HOST=$1
HONO_HOST=${HONO_HOST:=127.0.0.1}
OUT=$SCRIPTPATH/results
HONO_HOME=${HONO_HOME:=$SCRIPTPATH/../../..}
TRUST_STORE_PATH=$HONO_HOME/demo-certs/certs/trusted-certs.pem
SAMPLE_LOG=load-test-messaging-router.jtl
TEST_LOG=load-test-messaging-router.log

rm -rf $OUT
rm $SAMPLE_LOG

$JMETER_HOME/bin/jmeter -n -f \
-l $SAMPLE_LOG -j $TEST_LOG \
-t $SCRIPTPATH/amqp_messaging_throughput_test.jmx \
-Jplugin_dependency_paths=$HONO_HOME/jmeter/target/plugin \
-Jjmeterengine.stopfail.system.exit=true \
-JdefaultTrustStorePath=$TRUST_STORE_PATH \
-Lorg.eclipse.hono.client.impl=WARN -Lorg.eclipse.hono.jmeter=INFO \
-JdeviceCount=4


Fix typos in AMQP jmeter launch script
Fix typos in AMQP jmeter launch script

Signed-off-by: Benjamin Cabé <0c00826fd0b69081f0efcc9667099841ac9b4917@eclipse-foundation.org>
