JMeter reporting

Published on November 24, 2017

bash, jmeter

JMeter installation, execution and reporting dashboard, using shell script

#!/bin/bash

# Download and install JMeter
wget http://mirror.reverse.net/pub/apache//jmeter/binaries/apache-jmeter-3.3.tgz && wget https://www.apache.org/dist/jmeter/binaries/apache-jmeter-3.3.tgz.asc && wget -O - https://www.apache.org/dist/jmeter/KEYS |gpg --import && gpg --verify apache-jmeter-3.3.tgz.asc && tar -zxf apache-jmeter-3.3.tgz && rm apache-jmeter-3.3.tgz
# Run load test and create dashboard with stats and graphs
./apache-jmeter-3.3/bin/jmeter -n -t load-test-plan.jmx -l ../reports/html/jmeterreport2.jtl -e -o /dashboard"