Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
7.97k
stars
2.02k
forks
source link
Command-line mode doesn't stop and keeps running tests repeatedly #6271
Open
tmulle opened 4 weeks ago
Expected behavior
When I run my test in the GUI it runs just fine.
My sample is just to hit slashot.org with 1 thread and 1 time.
Running in the GUI it runs once and then stops.
I am using this as a reproducer, my real test hits our web server to test REST endpoints.
Actual behavior
When I run my Slashot.jmx file from the command-line it never stops and just keeps running the same tests over and over.
Steps to reproduce the problem
Load the attached Test plan and run it in both the GUI and command-line.
Rename the
Slashdot.jmx.txt
toSlashdot.jmx
I had to rename it to upload it.Run with command line:
jmeter -n -t Slashdot.jmx -l results.txt -e -o output
You can also see the results I get and then ultimately kill it with Ctrl-C.
It's like the command-line mode is ignoring my Thread Group settings since I said to use 1 thread for 1 count.
jmeter.log results.txt Slashdot.jmx.txt
JMeter Version
5.6
Java Version
JDK 17
OS Version
MacOS and Linux (Fedora 39)