I want to add a new line for the file apache-jmeter 4.0/bin/jmeter
The last 2 lines of the file is as follows
fi
"$JAVA_HOME/bin/java" $ARGS $JVM_ARGS $JMETER_OPTS -jar. "$PRGDIR/ApacheJMeter.jar" "$@"
I want to add a line above the last line of the file to make the output to be like as below
fi
#JVM_ARGS="-Xbootclasspath/p:/home/ubuntu/alpnboot.jar"
"$JAVA_HOME/bin/java" $ARGS $JVM_ARGS $JMETER_OPTS -jar. "$PRGDIR/ApacheJMeter.jar" "$@"
The relevant sed command would be something like:
Remember that sed uses Posix Basic Regular Expressions therefore you will need to escape any of
$.*/[\]^
characters with a backslash.If you're going to use HTTP2 Sampler you can make the change permanent, this
-Xbootclasspath
option will make no harm, there is not much sense in turning it on and off.