JMeter Web Runner is a super simple java tool that allows you to trigger jmeter to run (on a server) from a web browser and see the output in real time.
- Download the latest jar from "Packages"
- run the jar like this:
java -DjmeterHome=/home/colin/dev/apache-jmeter-5.5 -Dport=8080 -jar jmeter-web-runner-0.1.1-full.jar
- Open a web browser and navigate to
http://localhost:8080
- Enter the JMX test file name e.g. test.jmx and click "Start"
- Add the dependency into your project:
<dependency> <groupId>io.github.colinzhu</groupId> <artifactId>jmeter-web-runner</artifactId> <version>0.1.1</version> </dependency>
- Implement your own starter. Example:
DefaultStarter.java