Reputation: 713
I am trying to use jmeter on the command line using:
./jmeter.sh -n -t testplan.jmx -l log.jtl
It works 8/10 times but some times it gets stuck on the message: waiting for possible shutdown message..
. I am using CentOS 6 and JMeter version 2.9 r1437961. My test plan has two thread groups which are configured to run consecutively from the GUI. Any suggestions as to what the problem might be?
Upvotes: 9
Views: 28142
Reputation: 1
Check if you are passing quotes when providing the jmx file location. Example : -n -t "testplan.jmx". If so, remove and try. -n -t testplan.jmx
Upvotes: 0
Reputation: 738
I started seeing this error when I mistakenly disabled my Test Suite in JMeter UI. I kept on running the jmeter command in terminal and was getting this error. Re-enabling it fixed the error. It was a dumb mistake but worth mentioning 😅
Upvotes: 0
Reputation: 1
To further breakdown UBIK LOAD PACK's comments,
Navigate to Testplan level and Add--> config Element --> HTTP Request Defaults.
Set the protocol, server Name and port (Not sure if you really need it, but worked for me)
Navigate to advanced tab and add timeout periods(milliseconds) to Connect and response timeouts( I set as 10000)
Upvotes: 0
Reputation: 34526
Did you set timeouts to your HTTP requests ? If not , then jmeter will wait infinitely for a response from server which can lead to such issue.
So fix is to set a timeout on connect and read in HTTP Request Defaults.
Also you shoud upgrade to JMeter 2.13.
Upvotes: 1