Files
spring-cloud-sleuth/scripts/runJmeterBenchmarks.sh
2016-03-24 16:55:42 +01:00

9 lines
393 B
Bash
Executable File

#!/bin/bash
echo "Killing the remaining apps - if something went wrong previously"
pkill -f SleuthBenchmarkingSpringApp || echo "No apps to kill"
echo "Running JMeter Benchmarks"
./mvnw clean verify --projects benchmarks --also-make -Pbenchmarks,jmeter
echo "Killing the remaining apps - if something went wrong after the tests"
pkill -f SleuthBenchmarkingSpringApp || echo "No apps to kill"