Hello,
I am struggling with running an .yml file and I have no clue what's wrong with my JMeter.
When I run this command
C:\Python27\Scripts>bzt PRE_PerformanceClientSide_distributed.yml -report
I get this (well when I run on my computer I've also used API Key, such as '-o modules.blazemeter.token=...' ):
18:48:48 INFO: Taurus CLI Tool v1.0.0
18:48:48 INFO: Starting with configs: ['PRE_PerformanceClientSide_distributed.yml']
18:48:48 INFO: Configuring...
18:48:48 INFO: No personal config: C:\Users\c.lupu\.bzt-rc
18:48:48 INFO: Artifacts dir: C:\Python27\Scripts\2016-01-18_18-48-48.324000
18:48:48 WARNING: There is newer version of Taurus 1.1.0 available, consider upgrading
18:48:48 INFO: Preparing...
18:48:48 WARNING: No BlazeMeter API key provided, will upload anonymously
18:48:50 WARNING: No BlazeMeter API key provided, will upload anonymously
18:48:50 INFO: Starting...
18:48:50 INFO: Initiating data feeding...
18:48:51 INFO: Started data feeding:
https://a.blazemeter.com/app/?public-token=0b2p7BmJBlvUP6FSQxuFIS7kI1Y3d6hUZA50dAWCLBkdL6tJ3P#reports/r-ext-569d17731b90a/summary18:48:51 INFO: Initiating data feeding...
18:48:52 INFO: Started data feeding:
https://a.blazemeter.com/app/?public-token=dYBtpIFyaP46qWr9NXcdx6UiHqR9w1jyLXXMOZnhPFgcDm2IhW#reports/r-ext-569d17741afcf/summary18:48:52 INFO: Waiting for finish...
18:48:52 INFO: Waiting to get first results...
18:48:52 INFO: Waiting to get first results...
18:48:54 INFO: Shutting down...
18:48:54 INFO: Post-processing...
18:48:54 ERROR: Error while post-processing: Traceback (most recent call last):
File "c:\python27\lib\site-packages\bzt\engine.py", line 209, in post_process
module.post_process()
File "c:\python27\lib\site-packages\bzt\modules\provisioning.py", line 64, in post_process
executor.post_process()
File "c:\python27\lib\site-packages\bzt\modules\jmeter.py", line 225, in post_process
raise RuntimeWarning(msg % self.kpi_jtl)
RuntimeWarning: Empty results JTL, most likely JMeter failed: C:\Python27\Scripts\2016-01-18_18-48-48.324000\kpi.jtl
18:48:55 INFO: Test duration: 0:00:05
18:48:55 INFO: Uploading C:\Python27\Scripts\2016-01-18_18-48-48.324000\jmeter.log
18:48:57 INFO: Ending data feeding...
18:48:58 WARNING: Failed to finish online: HTTP Error 401: Unauthorized
18:48:58 INFO: Online report link:
https://a.blazemeter.com/app/?public-token=0b2p7BmJBlvUP6FSQxuFIS7kI1Y3d6hUZA50dAWCLBkdL6tJ3P#reports/r-ext-569d17731b90a/summary18:48:59 INFO: Uploading C:\Python27\Scripts\2016-01-18_18-48-48.324000\jmeter.log
18:49:00 INFO: Ending data feeding...
18:49:01 WARNING: Failed to finish online: HTTP Error 401: Unauthorized
18:49:01 INFO: Online report link:
https://a.blazemeter.com/app/?public-token=dYBtpIFyaP46qWr9NXcdx6UiHqR9w1jyLXXMOZnhPFgcDm2IhW#reports/r-ext-569d17741afcf/summary18:49:01 WARNING: Failed post-processing
18:49:01 ERROR: RuntimeWarning: Empty results JTL, most likely JMeter failed: C:\Python27\Scripts\2016-01-18_18-48-48.324000\kpi.jtl
18:49:01 INFO: Artifacts dir: C:\Python27\Scripts\2016-01-18_18-48-48.324000
18:49:01 WARNING: Done performing with code: 1
If run again, I receive something similar with some changes:
i.e.
18:55:28 INFO: Post-processing...
18:55:28 ERROR: Error while post-processing: Traceback (most recent call last):
File "c:\python27\lib\site-packages\bzt\engine.py", line 209, in post_process
module.post_process()
File "c:\python27\lib\site-packages\bzt\modules\provisioning.py", line 64, in post_process
executor.post_process()
File "c:\python27\lib\site-packages\bzt\modules\jmeter.py", line 225, in post_process
raise RuntimeWarning(msg % self.kpi_jtl)
RuntimeWarning: Empty results JTL, most likely JMeter failed: C:\Python27\Scripts\2016-01-18_18-55-06.380000\kpi.jtl
18:55:28 ERROR: Error while post-processing: Traceback (most recent call last):
File "c:\python27\lib\site-packages\bzt\engine.py", line 209, in post_process
module.post_process()
File "c:\python27\lib\site-packages\bzt\modules\aggregator.py", line 572, in post_process
for point in self.datapoints(True):
File "c:\python27\lib\site-packages\bzt\modules\aggregator.py", line 379, in datapoints
for datapoint in self._calculate_datapoints(final_pass):
File "c:\python27\lib\site-packages\bzt\modules\aggregator.py", line 592, in _calculate_datapoints
self._process_underlings(final_pass)
File "c:\python27\lib\site-packages\bzt\modules\aggregator.py", line 577, in _process_underlings
for data in [x for x in underling.datapoints(final_pass)]:
File "c:\python27\lib\site-packages\bzt\modules\aggregator.py", line 379, in datapoints
for datapoint in self._calculate_datapoints(final_pass):
File "c:\python27\lib\site-packages\bzt\modules\jmeter.py", line 877, in _calculate_datapoints
for point in super(JTLReader, self)._calculate_datapoints(final_pass):
File "c:\python27\lib\site-packages\bzt\modules\aggregator.py", line 474, in _calculate_datapoints
self.__process_readers(final_pass)
File "c:\python27\lib\site-packages\bzt\modules\aggregator.py", line 426, in __process_readers
for result in self._read(final_pass):
File "c:\python27\lib\site-packages\bzt\modules\jmeter.py", line 849, in _read
concur = int(row["grpThreads"])
TypeError: int() argument must be a string or a number, not 'NoneType'
Have no clue what to do more, I have JMeter 2.13, updated bzt.
Another thing is that when I run for the first time, lots of JMeter plugins were installed.
Is there something I can do to make it work?
Thanks a lot!