mirror of https://github.com/apache/jmeter.git
16 lines
480 B
Bash
Executable File
16 lines
480 B
Bash
Executable File
#!/bin/sh
|
|
USAGE=$0" [-h remote-host] [-p policy-file] [-f property-file]"
|
|
|
|
PROPERTIES=jmeter.properties
|
|
POLICY=`pwd`/default-policy
|
|
|
|
while getopts h:f:p: x; do
|
|
case $x in
|
|
h) JAVA_PROPS=$OPTARG;;
|
|
p) POLICY=$OPTARG;;
|
|
f) PROPERTIES=$OPTARG;;
|
|
?) echo $USAGE; exit -1;;
|
|
esac;
|
|
done
|
|
|
|
java -classpath $CLASSPATH:`dirname $0`/../lib/xerces.jar:`dirname $0`/ApacheJMeter.jar -Djava.security.policy=$POLICY org.apache.jmeter.engine.RemoteJMeterEngineImpl $PROPERTIES $JAVA_PROPS |