Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command-line mode doesn't stop and keeps running tests repeatedly #6271

Open
tmulle opened this issue Apr 16, 2024 · 1 comment
Open

Command-line mode doesn't stop and keeps running tests repeatedly #6271

tmulle opened this issue Apr 16, 2024 · 1 comment

Comments

@tmulle
Copy link

tmulle commented Apr 16, 2024

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 to Slashdot.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)

@tmulle
Copy link
Author

tmulle commented Apr 17, 2024

Just tried with 5.6.3 and the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant