JMeter 3.3 keeps stating class not found - jdbc

I have seen multiple questions asking something similar to what I'm asking but for some reason, it's not working for me. I'm using the Jmeter 3.3 app (the latest at this point in time) so maybe the advice doesn't work on the newest version of JMeter.
I'm trying to create a test plan with JMeter to test hitting my DB.
Database URL: jdbc:impala://server.domain.com:21050/default;auth=noSasl
JDBC Driver class: com.cloudera.impala.core.ImpalaJDBCDriver
One answer/advice said to copy the jar (in my case ImpalaJDBC4.jar) to the lib dir, then restart JMeter, which I did. I also put it in the lib/ext dir too. However, it still doesn't work for me. I keep getting the same error in jmeter.log:
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class com.cloudera.impala.core.ImpalaJDBCDriver. See log file for details.
Not sure if path matters but I run jmeter from:
$ ~/tmp/apache-jmeter-3.3> bin/jmeter
and from
$ ~/tmp/apache-jmeter-3.3/bin> jmeter
Is there something I'm missing here? Am I putting it in the wrong place in JMeter? I know the driver class is there because I checked the contents of the jar file:
jar tvf ImpalaJDBC4.jar | less
2680 Thu Jan 04 08:11:12 PST 2018 com/cloudera/impala/core/ImpalaJDBCDriver.class
Thanks in advance for your help. I'm tired of banging my head against the wall.
Here are the logs. I tried to sanitize it so please ignore anything that might not be correct to do my sanitization.
2018-02-05 17:14:05,321 INFO o.a.j.u.JMeterUtils: Setting Locale to
en_US 2018-02-05 17:14:05,331 INFO o.a.j.JMeter: Loading user
properties from:
/Users/first.last/tmp/apache-jmeter-3.3/bin/user.properties 2018-02-05
17:14:05,332 INFO o.a.j.JMeter: Loading system properties from:
/Users/first.last/tmp/apache-jmeter-3.3/bin/system.properties
2018-02-05 17:14:05,336 INFO o.a.j.JMeter: Copyright (c) 1998-2017 The
Apache Software Foundation 2018-02-05 17:14:05,336 INFO o.a.j.JMeter:
Version 3.3 r1808647 2018-02-05 17:14:05,336 INFO o.a.j.JMeter:
java.version=1.8.0_162 2018-02-05 17:14:05,336 INFO o.a.j.JMeter:
java.vm.name=Java HotSpot(TM) 64-Bit Server VM 2018-02-05 17:14:05,336
INFO o.a.j.JMeter: os.name=Mac OS X 2018-02-05 17:14:05,336 INFO
o.a.j.JMeter: os.arch=x86_64 2018-02-05 17:14:05,337 INFO
o.a.j.JMeter: os.version=10.12.6 2018-02-05 17:14:05,337 INFO
o.a.j.JMeter: file.encoding=UTF-8 2018-02-05 17:14:05,337 INFO
o.a.j.JMeter: Max memory =536870912 2018-02-05 17:14:05,337 INFO
o.a.j.JMeter: Available Processors =8 2018-02-05 17:14:05,340 INFO
o.a.j.JMeter: Default Locale=English (United States) 2018-02-05
17:14:05,340 INFO o.a.j.JMeter: JMeter Locale=English (United States)
2018-02-05 17:14:05,340 INFO o.a.j.JMeter:
JMeterHome=/Users/first.last/tmp/apache-jmeter-3.3 2018-02-05
17:14:05,340 INFO o.a.j.JMeter: user.dir
=/Users/first.last/tmp/apache-jmeter-3.3 2018-02-05 17:14:05,341 INFO o.a.j.JMeter: PWD =/Users/first.last/tmp/apache-jmeter-3.3
2018-02-05 17:14:05,342 INFO o.a.j.JMeter: IP: 127.0.0.1 Name:
MSJCIT1050435 FullName: localhost 2018-02-05 17:14:06,930 INFO
o.a.j.g.a.LookAndFeelCommand: Using look and feel:
com.apple.laf.AquaLookAndFeel [Mac OS X, System] 2018-02-05
17:14:06,935 INFO o.a.j.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties 2018-02-05 17:14:07,722 INFO
o.a.j.e.u.CompoundVariable: Note: Function class names must contain
the string: '.functions.' 2018-02-05 17:14:07,722 INFO
o.a.j.e.u.CompoundVariable: Note: Function class names must not
contain the string: '.gui.' 2018-02-05 17:14:08,320 WARN
o.j.r.PluginManager: Found JAR conflict:
/Users/first.last/tmp/apache-jmeter-3.3/lib/ext/ImpalaJDBC4.jar and
/Users/first.last/tmp/apache-jmeter-3.3/lib/ImpalaJDBC4.jar 2018-02-05
17:14:09,830 INFO o.j.r.PluginManager: Plugins Status:
[jpgc-graphs-basic=2.0, jpgc-functions=2.0, jpgc-casutg=2.5,
jpgc-dummy=0.2, jpgc-ffw=2.0, jpgc-fifo=0.2, jpgc-perfmon=2.1,
jpgc-plugins-manager=0.19, jpgc-webdriver=2.3, jpgc-tst=2.1, webs
ocket-sampler=1.0.2-SNAPSHOT, websocket-samplers=1.1, jmeter-core=3.3,
jmeter-ftp=3.3, jmeter-http=3.3, jmeter-jdbc=3.3, jmeter-jms=3.3,
jmeter-junit=3.3, jmeter-java=3.3, jmeter-ldap=3.3, jmeter-mail=3.3,
jmeter-mongodb=3.3, jmeter-native=3.3, jmeter-tcp
=3.3, jmeter-components=3.3, jpgc-standard=2.0] 2018-02-05 17:14:09,863 INFO o.a.j.g.u.MenuFactory: Skipping
org.apache.jmeter.assertions.BSFAssertion 2018-02-05 17:14:09,964 INFO
o.a.j.g.u.MenuFactory: Skipping
org.apache.jmeter.extractor.BSFPostProcessor 2018-02-05 17:14:09,987
INFO o.a.j.g.u.MenuFactory: Skipping
org.apache.jmeter.modifiers.BSFPreProcessor 2018-02-05 17:14:10,013
INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-02-05 17:14:10,013 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for
application/xhtml+xml is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-02-05 17:14:10,013 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for
application/xml is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-02-05 17:14:10,013 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for
text/xml is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-02-05 17:14:10,013 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for
text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 2018-02-05
17:14:10,013 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is
org.apache.jmeter.protocol.http.parser.CssParser 2018-02-05
17:14:10,434 INFO o.a.j.e.KeyToolUtils: keytool found at 'keytool'
2018-02-05 17:14:10,435 INFO o.a.j.p.h.p.ProxyControl: HTTP(S) Test
Script Recorder SSL Proxy will use keys that support embedded 3rd
party resources in file
/Users/first.last/tmp/apache-jmeter-3.3/bin/proxyserver.jks 2018-02-05
17:14:10,557 INFO o.a.j.g.u.MenuFactory: Skipping
org.apache.jmeter.protocol.java.sampler.BSFSampler 2018-02-05
17:14:10,586 INFO o.a.j.s.FileServer: Default
base='/Users/first.last/tmp/apache-jmeter-3.3' 2018-02-05 17:14:10,639
INFO o.a.j.g.u.MenuFactory: Skipping
org.apache.jmeter.protocol.mongodb.config.MongoSourceElement
2018-02-05 17:14:10,639 INFO o.a.j.g.u.MenuFactory: Skipping
org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler
2018-02-05 17:14:10,727 INFO o.a.j.g.u.MenuFactory: Skipping
org.apache.jmeter.timers.BSFTimer 2018-02-05 17:14:10,743 INFO
o.a.j.g.u.MenuFactory: Skipping
org.apache.jmeter.visualizers.BSFListener 2018-02-05 17:14:10,834 INFO
o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2018-02-05 17:14:10,835 INFO o.a.j.s.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1 2018-02-05
17:14:10,835 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2018-02-05 17:14:10,835 INFO o.a.j.s.SampleResult:
sampleresult.nanoThreadSleep=5000 2018-02-05 17:14:40,008 INFO
o.a.j.g.a.Load: Loading file: /Users/first.last/tmp/impala.jmx
2018-02-05 17:14:40,009 INFO o.a.j.s.FileServer: Set new
base='/Users/first.last/tmp' 2018-02-05 17:14:40,125 INFO
o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL)
version: 2.2 2018-02-05 17:14:40,129 INFO o.a.j.s.SaveService: Using
SaveService properties file encoding UTF-8 2018-02-05 17:14:40,130
INFO o.a.j.s.SaveService: Using SaveService properties version 3.2
2018-02-05 17:14:40,132 INFO o.a.j.s.SaveService: Loading file:
/Users/first.last/tmp/impala.jmx 2018-02-05 17:14:40,479 INFO
o.a.j.s.FileServer: Set new base='/Users/first.last/tmp' 2018-02-05
17:14:44,337 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2018-02-05 17:14:44,337 INFO o.a.j.s.SampleEvent: List of
sample_variables: [] 2018-02-05 17:14:44,337 INFO o.a.j.s.SampleEvent:
List of sample_variables: [] 2018-02-05 17:14:44,356 INFO
o.a.j.g.u.JMeterMenuBar: setRunning(true, local) 2018-02-05
17:14:44,516 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup:
1 : Thread Group 2018-02-05 17:14:44,517 INFO
o.a.j.e.StandardJMeterEngine: Starting 3 threads for group Thread
Group. 2018-02-05 17:14:44,517 INFO o.a.j.e.StandardJMeterEngine:
Thread will continue on error 2018-02-05 17:14:44,517 INFO
o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=3
ramp-up=1 perThread=333.33334 delayedStart=false 2018-02-05
17:14:44,521 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2018-02-05 17:14:44,522 INFO o.a.j.e.StandardJMeterEngine: All thread
groups have been started 2018-02-05 17:14:44,522 INFO
o.a.j.t.JMeterThread: Thread started: Thread Group 1-1 2018-02-05
17:14:44,525 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group
1-1 2018-02-05 17:14:44,526 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.NoClassDefFoundError: org/apache/thrift/protocol/TProtocol
at com.cloudera.impala.core.ImpalaJDBCDriver.(Unknown Source) ~[ImpalaJDBC4.jar:ImpalaJDBC_2.5.42.1062]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_162]
at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_162]
at org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2124)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.jmeter.protocol.jdbc.config.DataSourceElement$DataSourceComponentImpl.getConnection(DataSourceElement.java:326)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.protocol.jdbc.config.DataSourceElement.getConnection(DataSourceElement.java:191)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:79)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:498)
~[ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:424)
~[ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
~[ApacheJMeter_core.jar:3.3 r1808647]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162] Caused by: java.lang.ClassNotFoundException:
org.apache.thrift.protocol.TProtocol
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_162]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_162]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_162]
... 13 more 2018-02-05 17:14:44,860 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-2 2018-02-05 17:14:44,862 INFO
o.a.j.t.JMeterThread: Thread finished: Thread Group 1-2 2018-02-05
17:14:44,862 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.NoClassDefFoundError: Could not initialize class
com.cloudera.impala.core.ImpalaJDBCDriver
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_162]
at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_162]
at org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2124)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.jmeter.protocol.jdbc.config.DataSourceElement$DataSourceComponentImpl.getConnection(DataSourceElement.java:326)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.protocol.jdbc.config.DataSourceElement.getConnection(DataSourceElement.java:191)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:79)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:498)
~[ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:424)
~[ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
~[ApacheJMeter_core.jar:3.3 r1808647]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162] 2018-02-05 17:14:45,191 INFO o.a.j.t.JMeterThread: Thread started:
Thread Group 1-3 2018-02-05 17:14:45,192 INFO o.a.j.t.JMeterThread:
Thread finished: Thread Group 1-3 2018-02-05 17:14:45,192 ERROR
o.a.j.JMeter: Uncaught exception: java.lang.NoClassDefFoundError:
Could not initialize class com.cloudera.impala.core.ImpalaJDBCDriver
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_162]
at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_162]
at org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2124)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.1.1.jar:2.1.1]
at org.apache.jmeter.protocol.jdbc.config.DataSourceElement$DataSourceComponentImpl.getConnection(DataSourceElement.java:326)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.protocol.jdbc.config.DataSourceElement.getConnection(DataSourceElement.java:191)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:79)
~[ApacheJMeter_jdbc.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:498)
~[ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:424)
~[ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
~[ApacheJMeter_core.jar:3.3 r1808647]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162] 2018-02-05 17:14:45,193 INFO o.a.j.e.StandardJMeterEngine: Notifying
test listeners of end of test 2018-02-05 17:14:45,195 INFO
o.a.j.g.u.JMeterMenuBar: setRunning(false, local)

From the error you are missing class org/apache/thrift/protocol/TProtocol which is part of apache thrift jar - libthrift-X.X.X.jar. Impala driver have list of mandatory jars,
See Configure Impala JDBC:
download the JAR files to each client machine that will use JDBC with Impala:...
libthrift-X.X.X.jar
To enable JDBC support for Impala on the system where you run the JDBC application:
Download the JAR files listed above to each client machine.
Full list of dependencies:
commons-logging-X.X.X.jar
hadoop-common.jar
hive-common-X.XX.X-cdhX.X.X.jar
hive-jdbc-X.XX.X-cdhX.X.X.jar
hive-metastore-X.XX.X-cdhX.X.X.jar
hive-service-X.XX.X-cdhX.X.X.jar
httpclient-X.X.X.jar
httpcore-X.X.X.jar
libfb303-X.X.X.jar
libthrift-X.X.X.jar
log4j-X.X.XX.jar
slf4j-api-X.X.X.jar
slf4j-logXjXX-X.X.X.jar

Related

I'm getting 100% ERROR in Blaze meter when I run my JMX script which has 3 CSV data config files

KPI log
timeStamp,elapsed,label,responseCode,responseMessage,threadName,success,bytes,grpThreads,allThreads,Latency,Hostname,Connect
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-3,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-1,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-4,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-5,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-2,false,2976,5,5,0,3d8ec0ef127d,392388
When I run the JMX script which has 3 CSV data config file in JMETER it working fine, but When I run the same file in Blaze meter with (5 ur,1min duration) getting the error 443(connection timed out, browser crash)error rate is 100%. running test in private account in blaze meter
1.uploaded the 3 csv files and JMX in blaze meter
2.In the place of path of csv in csv config I have given the name of csv file not path
3.In blaze meter it shows response as-non http
I have tried every thing "Implementation" added some lines in "user. Properties"
using the latest version of JMeter
Thanks in advance
***I have used http samplers.
JMETER LOG
2021-11-23 17:42:27,293 INFO o.a.j.u.JMeterUtils: Setting Locale to en_US
2021-11-23 17:42:27,307 INFO o.a.j.JMeter: Loading user properties from: /shared/.bzt/jmeter-taurus/5.2.1/bin/user.properties
2021-11-23 17:42:27,308 INFO o.a.j.JMeter: Loading system properties from: /shared/.bzt/jmeter-taurus/5.2.1/bin/system.properties
2021-11-23 17:42:27,308 INFO o.a.j.JMeter: Loading additional properties from: /tmp/artifacts/jmeter-bzt.properties
2021-11-23 17:42:27,309 INFO o.a.j.JMeter: Copyright (c) 1998-2019 The Apache Software Foundation
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Version 5.2.1
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.version=1.8.0_292
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.name=Linux
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.arch=amd64
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.version=4.14.225-168.357.amzn2.x86_64
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: file.encoding=UTF-8
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.awt.headless=true
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Max memory =4250402816
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Available Processors =8
2021-11-23 17:42:27,313 INFO o.a.j.JMeter: Default Locale=English (United States)
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: JMeter Locale=English (United States)
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: JMeterHome=/shared/.bzt/jmeter-taurus/5.2.1
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: user.dir =/tmp/artifacts
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: PWD =/tmp/artifacts
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: IP: 172.17.0.2 Name: 3d8ec0ef127d FullName: 3d8ec0ef127d
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: user.classpath=/tmp/artifacts:/tmp/artifacts
2021-11-23 17:42:27,315 INFO o.a.j.JMeter: Adding to classpath and loader: /tmp/artifacts
2021-11-23 17:42:27,315 INFO o.a.j.JMeter: Adding to classpath and loader: /tmp/artifacts
2021-11-23 17:42:27,320 INFO o.a.j.s.FileServer: Default base='/tmp/artifacts'
2021-11-23 17:42:27,321 INFO o.a.j.s.FileServer: Set new base='/tmp/artifacts'
2021-11-23 17:42:27,427 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2021-11-23 17:42:27,432 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2021-11-23 17:42:27,437 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2021-11-23 17:42:27,443 INFO o.a.j.s.SaveService: Loading file: /tmp/artifacts/modified_sample_report_portal.jmx
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2021-11-23 17:42:27,544 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2021-11-23 17:42:27,545 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2021-11-23 17:42:27,545 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2021-11-23 17:42:27,546 INFO o.a.j.JMeter: Starting Beanshell server (9000,)
2021-11-23 17:42:27,552 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2021-11-23 17:42:27,552 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2021-11-23 17:42:27,893 INFO o.a.j.JMeter: Running test (1637689347893)
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Report_Portal
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Starting 5 threads for group Report_Portal.
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2021-11-23 17:42:27,955 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2021-11-23 17:42:27,955 INFO c.b.j.t.c.ConcurrencyThreadStarter: Start supplying threads
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to UTF-8
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-2
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-5
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-1
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-4
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-3
2021-11-23 17:42:27,993 INFO o.a.j.s.FileServer: Stored: launch_names.csv
2021-11-23 17:42:28,009 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = 3d8ec0ef127d
2021-11-23 17:42:28,015 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2021-11-23 17:42:28,125 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2021-11-23 17:42:28,134 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2021-11-23 17:42:28,134 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2021-11-23 17:43:27,978 INFO c.b.j.t.c.ConcurrencyThreadStarter: Done supplying threads
No one will be able to help unless you provide more details like:
schematic view of your test plan so we could see which Samplers are being used
JMeter Log file
kpi.jtl from Test Artifacts
optionally bzt.log
If you're a BlazeMeter customer it may make more sense considering opening a BlazeMeter Support Ticket

Taurus master shuts down test run when connecting to jmeter slaves in the same network on azure

Error image
I am running taurus in master node in distributed mode and jmeter in slave node. Slave is running jmeter server properly but master is unable to perform the test. Master instance is able to reach the remote host on the ip but the test plan execution fails. I am pinging bng url in taurus yml scenario.
Below is the jmeter log for reference.
13:07:38 ERROR: JMeter log:
2021-10-12 13:07:29,533 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN
2021-10-12 13:07:29,550 INFO o.a.j.JMeter: Loading user properties from: /opt/apache-jmeter-5.4/bin/user.properties
2021-10-12 13:07:29,550 INFO o.a.j.JMeter: Loading system properties from: /opt/apache-jmeter-5.4/bin/system.properties
2021-10-12 13:07:29,551 INFO o.a.j.JMeter: Loading additional properties from: /root/bzt/2021-10-12_13-07-24.364107/jmeter-bzt.properties
2021-10-12 13:07:29,551 INFO o.a.j.JMeter: Setting Global properties from the file /root/bzt/2021-10-12_13-07-24.364107/jmeter-bzt.properties
2021-10-12 13:07:29,551 INFO o.a.j.JMeter: Setting System properties from file: /root/bzt/2021-10-12_13-07-24.364107/system.properties
2021-10-12 13:07:29,615 INFO o.a.j.JMeter: Copyright (c) 1998-2020 The Apache Software Foundation
2021-10-12 13:07:29,615 INFO o.a.j.JMeter: Version 5.4
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: java.version=1.8.0_275
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: os.name=Linux
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: os.arch=amd64
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: os.version=4.15.0-1113-azure
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: file.encoding=UTF-8
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: java.awt.headless=true
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: Max memory =4294967296
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: Available Processors =1
2021-10-12 13:07:29,625 INFO o.a.j.JMeter: Default Locale=English (EN)
2021-10-12 13:07:29,625 INFO o.a.j.JMeter: JMeter Locale=English (EN)
2021-10-12 13:07:29,625 INFO o.a.j.JMeter: JMeterHome=/opt/apache-jmeter-5.4
2021-10-12 13:07:29,625 INFO o.a.j.JMeter: user.dir =/root/bzt
2021-10-12 13:07:29,626 INFO o.a.j.JMeter: PWD =/root/bzt
2021-10-12 13:07:29,626 INFO o.a.j.JMeter: IP: 10.97.104.71 Name: wk-caas-72db06a10f1e40fba0235dcea9465aaf-bd09aa1593d47434818635 FullName: wk-caas-72db06a10f1e40fba0235dcea9465aaf-bd09aa1593d47434818635
2021-10-12 13:07:29,626 INFO o.a.j.JMeter: user.classpath=/root/bzt/2021-10-12_13-07-24.364107:/root/bzt/2021-10-12_13-07-24.364107
2021-10-12 13:07:29,626 INFO o.a.j.JMeter: Adding to classpath and loader: /root/bzt/2021-10-12_13-07-24.364107
2021-10-12 13:07:29,627 INFO o.a.j.JMeter: Adding to classpath and loader: /root/bzt/2021-10-12_13-07-24.364107
2021-10-12 13:07:29,635 INFO o.a.j.s.FileServer: Default base='/root/bzt'
2021-10-12 13:07:29,636 INFO o.a.j.s.FileServer: Set new base='/root/bzt/2021-10-12_13-07-24.364107'
2021-10-12 13:07:29,963 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2021-10-12 13:07:30,057 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2021-10-12 13:07:30,063 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2021-10-12 13:07:30,072 INFO o.a.j.s.SaveService: Loading file: /root/bzt/2021-10-12_13-07-24.364107/modified_requests.jmx
2021-10-12 13:07:30,144 INFO o.a.j.p.h.c.CacheManager: Will only cache the following methods: [GET]
2021-10-12 13:07:30,146 INFO o.a.j.p.h.c.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2021-10-12 13:07:30,227 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2021-10-12 13:07:30,339 INFO o.a.j.e.DistributedRunner: Configuring remote engine: 10.97.104.70:1099
2021-10-12 13:07:30,341 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:30,421 INFO o.a.j.e.DistributedRunner: Starting distributed test with remote engines: [10.97.104.70:1099] # Tue Oct 12 13:07:30 GMT 2021 (1634044050419)
2021-10-12 13:07:30,421 INFO o.a.j.e.ClientJMeterEngine: running clientengine run method
2021-10-12 13:07:30,427 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2021-10-12 13:07:30,427 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2021-10-12 13:07:31,313 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,313 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,316 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2021-10-12 13:07:31,323 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000
2021-10-12 13:07:31,323 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2021-10-12 13:07:31,323 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,323 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,324 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000
2021-10-12 13:07:31,324 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2021-10-12 13:07:31,325 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,325 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:32,217 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:32,217 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:32,350 INFO o.a.j.e.ClientJMeterEngine: sent test to 10.97.104.70:1099 basedir='2021-10-12_13-07-24.364107'
2021-10-12 13:07:32,351 INFO o.a.j.e.ClientJMeterEngine: Sending properties {user.classpath=/root/bzt/2021-10-12_13-07-24.364107:/root/bzt/2021-10-12_13-07-24.364107, jmeterengine.force.system.exit=true, jmeter.save.saveservice.timestamp_format=ms, summariser.name=, sampleresult.default.encoding=UTF-8, jmeterengine.nongui.port=4445, client.rmi.localport=1099, jmeter.save.saveservice.connect_time=true, jmeter.save.saveservice.autoflush=true, server.rmi.ssl.disable=True, loops=10, rampup=10, jmeterengine.nongui.maxport=4445, threads=2}
2021-10-12 13:07:32,423 INFO o.a.j.e.ClientJMeterEngine: sent run command to 10.97.104.70:1099
2021-10-12 13:07:32,423 INFO o.a.j.e.DistributedRunner: Remote engines have been started:[10.97.104.70:1099]
2021-10-12 13:07:32,439 INFO o.a.j.JMeter: Started remote host: 10.97.104.70:1099 (1634044052439)
2021-10-12 13:07:32,561 INFO o.a.j.JMeter: Finished remote host: 10.97.104.70:1099 (1634044052561)
2021-10-12 13:07:32,561 INFO o.a.j.JMeter: All remote engines have ended test, starting RemoteTestStopper thread
2021-10-12 13:07:37,565 INFO o.a.j.JMeter: Interrupting RMI Reaper
13:07:38 INFO: Artifacts dir: /root/bzt/2021-10-12_13-07-24.364107
13:07:38 WARNING: Done performing with code: 1
2021-10-12 13:07:32,439 INFO o.a.j.JMeter: Started remote host: 10.97.104.70:1099 (1634044052439)
2021-10-12 13:07:32,561 INFO o.a.j.JMeter: Finished remote host: 10.97.104.70:1099 (1634044052561)
Are you sure that your test is supposed to finish in 122 milliseconds?
If yes, are you sure that the slave can reach the master in order to transfer the results back?
Make sure that you can connect from the slave to the port you define as the client.rmi.localport, this port is open in OS firewall and in Azure Network Security Groups, etc.
Also jmeter-server.log file from the slave should contain some information regarding the failure.
More information:
Remote hosts and RMI configuration
JMeter Distributed Testing with Docker - there you can see how and what ports to open and how to specify the ports on the master and slaves

JMeter.bat runs but doesn't start application

I downloaded JMeter v5.1.1 and tried to run it (double click on 'jmeter.bat') but only Commpand Prompt window starts for a brief while and closes automatically. After that nothing happens
I verified that I have a Java installed with following output
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
As I read other threads there might be a problem with my Java version OR path system variable so here it is
User Path var contains: %JAVA_HOME%\bin
System Path var contains: %JAVA_HOME%\bin
System Java_Home var: C:\Program Files\Java\jdk1.8.0_181
I verified that Java path is correct and contains java.exe file. Any help? Maybe somebody had similar issue
As of a question asked I paste here jmeter.log
2019-04-30 09:48:24,538 INFO o.a.j.u.JMeterUtils: Setting Locale to en_US
2019-04-30 09:48:24,584 INFO o.a.j.JMeter: Loading user properties from: user.properties
2019-04-30 09:48:24,585 INFO o.a.j.JMeter: Loading system properties from: system.properties
2019-04-30 09:48:24,598 INFO o.a.j.JMeter: Copyright (c) 1998-2019 The Apache Software Foundation
2019-04-30 09:48:24,598 INFO o.a.j.JMeter: Version 5.1.1 r1855137
2019-04-30 09:48:24,598 INFO o.a.j.JMeter: java.version=9
2019-04-30 09:48:24,599 INFO o.a.j.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2019-04-30 09:48:24,599 INFO o.a.j.JMeter: os.name=Windows 10
2019-04-30 09:48:24,599 INFO o.a.j.JMeter: os.arch=amd64
2019-04-30 09:48:24,599 INFO o.a.j.JMeter: os.version=10.0
2019-04-30 09:48:24,599 INFO o.a.j.JMeter: file.encoding=Cp1252
2019-04-30 09:48:24,599 INFO o.a.j.JMeter: java.awt.headless=null
2019-04-30 09:48:24,600 INFO o.a.j.JMeter: Max memory =3185573888
2019-04-30 09:48:24,600 INFO o.a.j.JMeter: Available Processors =4
2019-04-30 09:48:24,615 INFO o.a.j.JMeter: Default Locale=English (United States)
2019-04-30 09:48:24,616 INFO o.a.j.JMeter: JMeter Locale=English (United States)
2019-04-30 09:48:24,616 INFO o.a.j.JMeter: JMeterHome=E:\JMeter\apache-jmeter-5.1.1
2019-04-30 09:48:24,616 INFO o.a.j.JMeter: user.dir =E:\JMeter\apache-jmeter-5.1.1\bin
2019-04-30 09:48:24,616 INFO o.a.j.JMeter: PWD =E:\JMeter\apache-jmeter-5.1.1\bin
2019-04-30 09:48:24,619 INFO o.a.j.JMeter: IP: *XXX.XXX.XXX.XXX* Name: *XXXXXXXXXX* FullName: *XXXXXXXXXX*
2019-04-30 09:48:25,583 INFO o.a.j.g.a.LookAndFeelCommand: Installing Darcula LAF
2019-04-30 09:48:25,591 INFO o.a.j.g.a.LookAndFeelCommand: Using look and feel: com.bulenkov.darcula.DarculaLaf [Darcula]
2019-04-30 09:48:25,592 INFO o.a.j.JMeter: Setting LAF to: com.bulenkov.darcula.DarculaLaf
2019-04-30 09:48:25,712 INFO o.a.j.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2019-04-30 09:48:27,998 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2019-04-30 09:48:27,999 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2019-04-30 09:48:27,999 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2019-04-30 09:48:28,000 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2019-04-30 09:48:28,000 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2019-04-30 09:48:28,000 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2019-04-30 09:48:29,188 INFO o.a.j.e.KeyToolUtils: keytool found at 'keytool'
2019-04-30 09:48:29,189 INFO o.a.j.p.h.p.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file E:\JMeter\apache-jmeter-5.1.1\bin\proxyserver.jks
2019-04-30 09:48:29,490 INFO o.a.j.s.FileServer: Default base='E:\JMeter\apache-jmeter-5.1.1\bin'
2019-04-30 09:48:30,491 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2019-04-30 09:48:30,492 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2019-04-30 09:48:30,492 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2019-04-30 09:48:30,492 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
NOT A FIX, RATHER WORKAROUND
I started to mess around with files in jmeter/bin directory and found out that double click on ApacheJMeter.jar instead of trying to use jmeter.bat starts the application!
I dunno why and what is happening. I did not make any changes in my system, everything is as it is said in a question. Application starts and works properly (after 1 working day of playing with it, it didn't crush nor I found any misbehavior based on tutorials)

Jmeter on linux command line able to run only limited number of threads

I have a jmeter test plan which has run 40000 threads and ramp up time is 600 seconds.
I am running it with command line.
./jmeter -n -t ../../HttpTestPlan.jmx
It runs fine on windows 64 bit machine. It able to execute all 40000 threads without any problem.
But when I run the same test plan in ec2 (with root privilege) it can execute only 31208 threads and then it will stop the execution.
What should I do to make sure it runs all the threads on linux ec2 box?
Thanks
2018-09-05 08:04:58,148 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN
2018-09-05 08:04:58,164 INFO o.a.j.JMeter: Loading user properties from: user.properties
2018-09-05 08:04:58,165 INFO o.a.j.JMeter: Loading system properties from: system.properties
2018-09-05 08:04:58,170 INFO o.a.j.JMeter: Copyright (c) 1998-2018 The Apache Software Foundation
2018-09-05 08:04:58,170 INFO o.a.j.JMeter: Version 4.0 r1823414
2018-09-05 08:04:58,170 INFO o.a.j.JMeter: java.version=1.8.0_181
2018-09-05 08:04:58,170 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2018-09-05 08:04:58,170 INFO o.a.j.JMeter: os.name=Linux
2018-09-05 08:04:58,170 INFO o.a.j.JMeter: os.arch=amd64
2018-09-05 08:04:58,170 INFO o.a.j.JMeter: os.version=3.10.0-862.3.3.el7.x86_64
2018-09-05 08:04:58,171 INFO o.a.j.JMeter: file.encoding=UTF-8
2018-09-05 08:04:58,171 INFO o.a.j.JMeter: Max memory =1073741824
2018-09-05 08:04:58,171 INFO o.a.j.JMeter: Available Processors =2
2018-09-05 08:04:58,175 INFO o.a.j.JMeter: Default Locale=English (EN)
2018-09-05 08:04:58,175 INFO o.a.j.JMeter: JMeter Locale=English (EN)
2018-09-05 08:04:58,175 INFO o.a.j.JMeter: JMeterHome=/home/pardema/apache-jmeter-4.0
2018-09-05 08:04:58,175 INFO o.a.j.JMeter: user.dir =/home/pardema/apache-jmeter-4.0/bin
2018-09-05 08:04:58,176 INFO o.a.j.JMeter: PWD =/home/pardema/apache-jmeter-4.0/bin
2018-09-05 08:04:58,180 INFO o.a.j.JMeter: IP: xxxxxxxxxx Name: xxxxxxxxxxx: xxxxxxxxxxxxxx
2018-09-05 08:04:58,183 INFO o.a.j.s.FileServer: Default base='/home/pardema/apache-jmeter-4.0/bin'
2018-09-05 08:04:58,189 INFO o.a.j.s.FileServer: Set new base='/home/pardema/apache-jmeter-4.0/bin/../..'
2018-09-05 08:04:58,336 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2018-09-05 08:04:58,355 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2018-09-05 08:04:58,360 INFO o.a.j.s.SaveService: Using SaveService properties version 4.0
2018-09-05 08:04:58,366 INFO o.a.j.s.SaveService: Loading file: ../../HttpTestPlan.jmx
2018-09-05 08:04:58,409 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-09-05 08:04:58,409 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-09-05 08:04:58,409 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-09-05 08:04:58,409 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-09-05 08:04:58,410 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2018-09-05 08:04:58,410 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2018-09-05 08:04:58,433 INFO o.a.j.JMeter: Creating summariser
2018-09-05 08:04:58,440 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2018-09-05 08:04:58,441 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2018-09-05 08:04:58,441 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2018-09-05 08:04:58,445 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2018-09-05 08:04:58,445 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2018-09-05 08:04:58,851 INFO o.a.j.JMeter: Running test (1536149098851)
2018-09-05 08:04:58,890 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2018-09-05 08:04:58,891 INFO o.a.j.e.StandardJMeterEngine: Starting 50000 threads for group Thread Group.
2018-09-05 08:04:58,891 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2018-09-05 08:04:58,891 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=50000 ramp-up=600 perThread=12.0 delayedStart=false
2018-09-05 08:04:58,900 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1
2018-09-05 08:04:58,913 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-2
2018-09-05 08:04:58,919 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = 10-118-9-93.ebiz.verizon.com
2018-09-05 08:04:58,925 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2018-09-05 08:04:58,932 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-3
2018-09-05 08:04:58,933 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2018-09-05 08:04:58,933 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2018-09-05 08:04:58,933 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2018-09-05 08:04:58,933 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2018-09-05 08:04:58,946 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-4
2018-09-05 08:04:58,950 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-5
2018-09-05 08:04:58,962 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-6
2018-09-05 08:04:58,975 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-7
2018-09-05 08:04:59,001 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-9
2018-09-05 08:04:59,006 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-8
2018-09-05 08:04:59,026 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-10
2018-09-05 08:04:59,026 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-11
You might need to amend /proc/sys/kernel/threads-max setting
Also check limits.conf as you may need to increase the maximum number of open handles
Be aware that 40k threads is quite big amount for a single JMeter engine so you might need to consider Distributed Testing , ensure that the machine(s) have enough headroom to operate in terms of CPU, RAM, network, disk IO, etc. as if JMeter will not be able to send requests fast enough you will get lower throughput even if your application will not be overloaded and stick to JMeter Best Practices.
Most probably you had a hs_err_pid.log file generated due to crash of your JVM.
Search for such file for root cause of JVM crash.
Among hypothesis:
Linux memory, process, file descriptor limits
Not enough memory on your system
Note that 40k threads requires a powerful machine and most probably more than one to overcome:
- network limits of your card
- CPU
- Other resources required
Your machine (2 CPUs , 1Gb RAM) is very very short for that.

Jmeter - getting Exception - while running my suite in a new machine

I copied my complete Jmeter folder from one machine to other and tried to run. Stuck with the error - ArrayIndexOutOfBoundsException: 0. Please help
INFO - jmeter.gui.util.MenuFactory: Skipping
org.apache.jmeter.assertions.BSFAssertion
INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.extractor.BSFPostProcessor
INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.modifiers.BSFPreProcessor
INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
INFO - jorphan.exec.KeyToolUtils: keytool found at 'keytool'
INFO - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd
party resources in file
G:\official\JMeter\apache-jmeter-3.1\bin\proxyserver.jks
INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.java.sampler.BSFSampler
INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.config.MongoSourceElement
INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler
INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.timers.BSFTimer
INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.BSFListener
INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.MonitorHealthVisualizer
INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times
INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
INFO - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true
INFO - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000
INFO - jmeter.services.FileServer: Default base='G:\official\JMeter\apache-jmeter-3.1\bin'
INFO - jmeter.gui.action.Load: Loading file: G:\official\JMeter\apache-jmeter-3.1\bin\Cafyne_3.0.jmx
INFO - jmeter.services.FileServer: Set new base='G:\official\JMeter\apache-jmeter-3.1\bin'
INFO - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
INFO - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8
INFO - jmeter.save.SaveService: Using SaveService properties version 3.1
INFO - jmeter.save.SaveService: All converter versions present and correct
INFO - jmeter.save.SaveService: Loading file: G:\official\JMeter\apache-jmeter-3.1\bin\Cafyne_3.0.jmx
INFO - jmeter.protocol.http.control.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix:
COOKIE_
INFO - jmeter.services.FileServer: Set new base='G:\official\JMeter\apache-jmeter-3.1\bin'
ERROR - jmeter.gui.action.ActionRouter: Error processing org.apache.jmeter.gui.action.Start#71687585
java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.jmeter.gui.action.Start.startEngine(Start.java:193) at org.apache.jmeter.gui.action.Start.startEngine(Start.java:174) at
org.apache.jmeter.gui.action.Start.startEngine(Start.java:164) at
org.apache.jmeter.gui.action.Start.doAction(Start.java:108) at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
at java.awt.event.InvocationEvent.dispatch(Unknown Source) at
java.awt.EventQueue.dispatchEventImpl(Unknown Source) at
java.awt.EventQueue.access$500(Unknown Source) at
java.awt.EventQueue$3.run(Unknown Source) at
java.awt.EventQueue$3.run(Unknown Source) at
java.security.AccessController.doPrivileged(Native Method) at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at
java.awt.EventDispatchThread.run(Unknown Source)
I know the question is old but I went through the same problem and found no solutions. Then I analyzed the source code of JMeter and I leave here the solution for other people who go through it.
In my case when I created a test plan, by default it was disabled.
After I enabled the test plan (right click -> enable) it started working!
Code is: (failed in testTree.getArray()[0])
HashTree testTree = gui.getTreeModel().getTestPlan();
JMeter.convertSubTree(testTree);
if(threadGroupsToRun != null && threadGroupsToRun.length>0) {
removeThreadGroupsFromHashTree(testTree, threadGroupsToRun);
}
testTree.add(testTree.getArray()[0], gui.getMainFrame());
It seems that test plan is empty.
can you check G:\official\JMeter\apache-jmeter-3.1\bin\Cafyne_3.0.jmx
maybe file wasn't copied ok
Thanks to the two solutions/hints above, the reason is that the first item in the list (as you see below), which is the Test Plan itself, was disabled and gray (and usually is not noticed at the first glance).
Just enable it and run your test.

Resources