Reputation: 1603
I have 3 instances in AWS with Jmeter installed - one master and two slaves. I want to test 1M requests against my application. I have a script, which runs 100 threads concurrently 10,000 times.
When running the test on localhost or on a single instance only it runs fine. My issue is that when I run the test using remote servers it exits immediately on both machines. The only logs I get from this are these:
Starting the test on host 10.229.48.10 @ Mon Dec 02 15:21:49 UTC 2019 (1575300109383)
Warning: Nashorn engine is planned to be removed from a future JDK release
Finished the test on host 10.229.48.10 @ Mon Dec 02 15:22:00 UTC 2019 (1575300120030)
I get nothing else even with verbose logging enabled. This is the command I use to run the test:
JVM_ARGS="-Xms2048m -Xmx2048m" ./bin/jmeter -n -t test.jmx -R 10.229.48.10,10.
System load: 0.0 Processes: 122 │229.48.23
Both machines are fully open to the master instance. Why does the script run fine on a single instance but craps out when using remote hosts?
Upvotes: 0
Views: 605
Reputation: 11
Which version of JDK are you using? Is it JDK 8 or something else? Make sure the following things, a. Internal Networking is enabled in all three instances. b. JDK 8 is installed from official resources. c. You are able to communicate with the instances individually. d. Installed JMeter from the official resource instead of "apt install jmeter"
Upvotes: 0
Reputation: 168157
The general checklist for troubleshooting JMeter master-slave configuration is:
jmeter.log
file on the master and jmeter-server.log
on the slavesUpvotes: 2