Mani Maran
Mani Maran

Reputation: 21

Can't able to run jmeter in non GUI mode

I am able to open and work on Jmeter in GUI.But when i try to open in non gui mode I get the following error,

Creating summariser Created the tree successfully using D:\testlan.jmx Starting standalone test @ 2023 May 8 18:13:27 IST (1683549807865) Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445 Uncaught Exception java.lang.ExceptionInInitializerError in thread Thread[StandardJMeterEngine,5,main]. See log file for details.

Jmeter command : jmeter -Jenvironment="perf" -n -t D:\testplan.jmx -f -l results.jtl -e -o report

Java : 17 Jmeter : 5.5

Upvotes: 0

Views: 344

Answers (1)

Dmitri T
Dmitri T

Reputation: 168157

The error messages says See log file for details. so this is something you should do. If you're not able to figure out the root cause of the problem by looking into the log file you can:

Most common problems which prevent JMeter test from being executed are:

  • The test plan uses a JMeter Plugin which is not installed
  • You're suffering from a form of a Jar Hell
  • There is an obvious error in your test plan and/or JMeter configuration

Upvotes: 2

Related Questions