JMETER GUI IS NOT LAUNCHING

726 views
Skip to first unread message

santhosh soma

unread,
Aug 21, 2015, 6:21:24 PM8/21/15
to codename-taurus
Hi,

I have followed the document to install Taurus and successfully installed.

I have been running the following command to run recorded script  by downloading YML file form Blaze meter chrome addon.

The problem here is that  "Taurus Console and JMETER UI is not launching".

Executed the below command:

c:\Python2_7_10\Lib\site-packages\bzt-0.3.7.1-py2.7.egg\bzt>cli.py "RECORD 08-21-15 11-09-05 PM.yaml" -gui -o modules.jmeter.gui=true

Error Logs:

03:35:22 INFO: Terminating process PID: 8752
03:35:23 INFO: Terminating process PID: 8752
03:35:24 ERROR: Error while shutting down: Traceback (most recent call last):
  File "C:\Python2_7_10\lib\site-packages\bzt-0.3.7.1-py2.7.egg\bzt\engine.py",
line 156, in _shutdown
    self.provisioning.shutdown()
  File "C:\Python2_7_10\lib\site-packages\bzt-0.3.7.1-py2.7.egg\bzt\modules\pro
isioning.py", line 58, in shutdown
    executor.shutdown()
  File "C:\Python2_7_10\lib\site-packages\bzt-0.3.7.1-py2.7.egg\bzt\modules\jme
er.py", line 185, in shutdown
    raise RuntimeWarning(msg % self.kpi_jtl)
RuntimeWarning: Empty results JTL, most likely JMeter failed: c:\Python2_7_10\L
b\site-packages\bzt-0.3.7.1-py2.7.egg\bzt\2015-08-22_03-30-40.zvj7lf\kpi.jtl

03:35:24 ERROR: Exception: Empty results JTL, most likely JMeter failed: c:\Pyt
on2_7_10\Lib\site-packages\bzt-0.3.7.1-py2.7.egg\bzt\2015-08-22_03-30-40.zvj7lf
kpi.jtl
03:35:24 WARNING: Please wait for graceful shutdown...
03:35:24 INFO: Post-processing...
03:35:24 INFO: Test duration: 0:04:41
03:35:25 INFO: Artifacts dir: c:\Python2_7_10\Lib\site-packages\bzt-0.3.7.1-py2
7.egg\bzt\2015-08-22_03-30-40.zvj7lf
03:35:25 INFO: Done performing with code: 2
bzt.log
requests.jmx
system.properties
effective.json
effective.yml
jmeter-bzt.properties
merged.json
merged.yml
modified_requests.jmx.jmx
overrides_nhck2w.ini
RECORD 08-21-15 11-09-05 PM.yaml

vasi...@blazemeter.com

unread,
Aug 24, 2015, 2:45:54 AM8/24/15
to codename-taurus
Hi santhosh soma!
Thank you for request, we are investigating this issue.

vasi...@blazemeter.com

unread,
Aug 24, 2015, 7:01:37 AM8/24/15
to codename-taurus
Unfortunately, I can't confirm this bug. On my test environment -gui option works as intended.
Don't you forget start your test in appeared jmeter window?

btw, why are you using cli.py instead of bzt command? Option -o modules.jmeter.gui=true is redundant, you have already provided -gui option.
Right command line is: bzt "RECORD 08-21-15 11-09-05 PM.yaml" -gui

santhosh soma

unread,
Aug 24, 2015, 8:24:55 AM8/24/15
to vasi...@blazemeter.com, codename-taurus
Hi,

Thanks for the response. I have installed bzt in windows 7. The command BZT is not working as per expectation.

I am getting below error.

'bzt' is not recognized as an internal or external command,
operable program or batch file.

Thanks
Santhosh.


--
You received this message because you are subscribed to a topic in the Google Groups "codename-taurus" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codename-taurus/u6li8EeE3xY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/22a63a32-212b-4623-8552-81532aac0580%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Andrey Pokhilko

unread,
Aug 24, 2015, 9:36:17 AM8/24/15
to codenam...@googlegroups.com
Hi,

Most likely you did not checked "Add python.exe to Path" when you were installing python.

You can find "bzt.exe" on your computer and use it from its directory.

Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/CAEegF%3DZ%2BRqE4Y-FKobBJGRWX9aiQEnNfu%2BGEHyoc%2BtgujqxOEQ%40mail.gmail.com.

santhosh soma

unread,
Aug 25, 2015, 12:35:14 PM8/25/15
to Andrey Pokhilko, codename-taurus
I have updated System Environment variable  "PATH" with Python Installed folder location(C:\Python2_7_10).

One more thing, I have not find the file bzt.exe in my system after successfully installation of Taurus by following the steps mentioned in the Taurus Wiki.

Please correct me if am wrong anywhere.

vasi...@blazemeter.com

unread,
Aug 25, 2015, 1:25:29 PM8/25/15
to codename-taurus, and...@blazemeter.com
Could you provide us with installation log?
Try to reinstall bzt:
pip uninstall bzt
pip install bzt
Check if bzt.exe (and pip.exe) exists n C:\Python2_7_10\Scripts

santhosh soma

unread,
Aug 25, 2015, 1:39:52 PM8/25/15
to vasi...@blazemeter.com, codename-taurus, Andrey Pokhilko
bzt.exe and pip.exe files are already available in C:\Python2_7_10\Scripts.

Am doing wrong here?


Thanks
Santhosh.

santhosh soma

unread,
Aug 25, 2015, 1:46:32 PM8/25/15
to vasi...@blazemeter.com, codename-taurus, Andrey Pokhilko
I have opened command prompt  and changed the current directory to C:\Python2_7_10\Scripts.

Run the below command to open Jmeter GUI but no luck. Please find the attached logs.

C:\Python2_7_10\Scripts>bzt "D2C EVAL PLAN CHECKOUT.yaml" -gui
bzt.log

vasi...@blazemeter.com

unread,
Aug 25, 2015, 1:49:19 PM8/25/15
to codename-taurus, vasi...@blazemeter.com, and...@blazemeter.com
Please check if directory C:\Python2_7_10\Scripts added to "PATH" variable.

Andrey Pokhilko

unread,
Aug 25, 2015, 2:02:27 PM8/25/15
to codename-taurus
CAn you post here what's inside "D2C EVAL PLAN CHECKOUT.yaml" file?


Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter

santhosh soma

unread,
Aug 25, 2015, 2:07:01 PM8/25/15
to Andrey Pokhilko, codename-taurus
Please find the yaml attachment.



D2C EVAL PLAN CHECKOUT.yaml

Andrey Pokhilko

unread,
Aug 25, 2015, 2:11:40 PM8/25/15
to santhosh soma, codename-taurus
It's strange since I'm trying with your config and it works fine. Is there any suspicious lines in your jmeter.log ?


Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter

santhosh soma

unread,
Aug 25, 2015, 2:13:32 PM8/25/15
to Andrey Pokhilko, codename-taurus
I am not able to find any jmeter.log file.  Am is using correct command to launch J Meter GUI?

Andrey Pokhilko

unread,
Aug 25, 2015, 2:51:46 PM8/25/15
to santhosh soma, codename-taurus
I found the reason in bzt.log:

[2015-08-25 23:11:12,895 DEBUG bzt.utils] Executing shell: ['C:\\Users\\ssoma\\.bzt\\jmeter-taurus\\bin\\jmeter.bat', '-j', 'c:\\users\\ssoma\\appdata\\local\\temp\\jmeterzo_givlog', '--version']
[2015-08-25 23:11:13,457 DEBUG Engine.JMeterExecutor.JMeter] JMeter check: ('Error: Java version -- 1.5.0_11 -- is too low to run JMeter. Needs a Java version greater than or equal to 1.6.0\r\nerrorlevel=3\r\nPress any key to continue . . . \r\n', None)


Which means you need to upgrade your Java to 1.6 at least, 1.7 or 1.8 even better.


Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter

santhosh soma

unread,
Aug 26, 2015, 9:42:57 AM8/26/15
to Andrey Pokhilko, codename-taurus
I am using Java 1.6 only.

C:\Users\ssoma>java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

C:\Users\ssoma>javac -version
javac 1.6.0_27


Andrey Pokhilko

unread,
Aug 26, 2015, 9:45:16 AM8/26/15
to santhosh soma, codename-taurus
You can see yourself in bzt.log that Java gives version 1.5. This may mean that you starting bzt under different environment, for example under admin instead of normal user.


Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter
Reply all
Reply to author
Forward
0 new messages