console reporting doesn't work ('final-stats' instead)

148 views
Skip to first unread message

bushne...@gmail.com

unread,
Aug 28, 2017, 8:36:39 AM8/28/17
to codename-taurus
Hello, 

During performance tests, I want to push metrics into Blazemeter but in addition to that, I want to see console reporting as well. As far as I remember, I used combination of "console" and "blazemeter" modules in reporting section. But now I see 'final-stats' reporting instead of a console always. I guess it is related to the fact that I pass some additional params via command line but still don't see the way how I can deal with that.

I use that command to run the script:
> bzt tests/nonfunctional-tests/src/test/performance/taurus/CombinedPerforamnceTest.yml -o modules.blazemeter.report-name="Some report name"

My script:
---
execution:
- scenario: combined-performance

scenarios:
combined-performance:
script: .......jmx

services:
- module: passfail
criteria:
- subject: failures
condition: '>'
threshold: 30%
timeframe: 20s
logic: for
fail: true
stop: true

reporting:
- module: blazemeter
project: Some project
test: Some test
- module: console
settings:
artifacts-dir: /tmp/taurus/%Y--m-%d_%H-%M-%S.%f



And when I runn the script I see:
15:14:13 INFO: Started data feeding: https://a.blazemeter.com/app/#/masters/16576504
15:14:44 INFO: Current: 5 vu    1 succ  0 fail  0.683 avg rt    /       Cumulative: 0.683 avg rt, 0% failures
15:14:46 INFO: Changed data analysis delay to 33s
15:15:17 INFO: Current: 5 vu    1 succ  0 fail  16.678 avg rt   /       Cumulative: 8.681 avg rt, 0% failures
15:15:21 INFO: Current: 5 vu    1 succ  0 fail  0.676 avg rt    /       Cumulative: 6.012 avg rt, 0% failures
15:15:27 INFO: Current: 6 vu    1 succ  0 fail  0.747 avg rt    /       Cumulative: 3.807 avg rt, 0% failures
15:15:33 INFO: Current: 6 vu    1 succ  0 fail  1.947 avg rt    /       Cumulative: 3.063 avg rt, 0% failures

Will be very glad for any kind of help. 

Dimitri Pribysh

unread,
Aug 28, 2017, 8:41:14 AM8/28/17
to bushne...@gmail.com, codename-taurus

Hello,

Do you observe any warnings about console reporting? Please, post a `bzt.log` and `effective.yml` files here so we can have a look.

BTW, you usually shouldn't specify 'console' reporting, as it's enabled by default.


  Dmitri

--
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/c4b3436e-1a87-452b-bca3-567fc7963340%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yuri Bushnev

unread,
Aug 28, 2017, 8:48:13 AM8/28/17
to Dimitri Pribysh, codename-taurus
Yeah, I know. Just to show that I even tried to specify it manually and do not have 'final-stats' reporting at all. I have attached both mentioned log files. Probably I need to consider an update. 


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-taurus+unsubscribe@googlegroups.com.




-

Iurii Bushnev
Senior Software Developer in Test
AlphaSense  |  Tammasaarenkatu 3  |  00180 Helsinki, Finland
Mobile: +358 40 866 82 85

bzt.log
effective.yml

Dimitri Pribysh

unread,
Aug 28, 2017, 9:05:48 AM8/28/17
to Yuri Bushnev, codename-taurus

Examining `effective.yml` indicates that you have 'modules.console.disable' option set to 'true'. That's why it only dumps one-line test summaries.

Do you have an explicit `disable: true` for console in your `CombinedPerforamnceTest.yml` or your `~/.bzt-rc` file?

Yuri Bushnev

unread,
Aug 28, 2017, 9:15:48 AM8/28/17
to Dimitri Pribysh, codename-taurus
No. "~/.bzt-rc" is the default one with just comments inside (didn't change anything there) while "CombinedPerforamnceTest.yml`" is fully attached on the first code snippet =(
--
-- 

Dimitri Pribysh

unread,
Aug 28, 2017, 9:33:53 AM8/28/17
to Yuri Bushnev, codename-taurus

There should be a reason why console is explicitly disabled.

In the meantime, what happens if you run Taurus with explicitly enabling console? (add `-o modules.console.disable=false` command line argument)

Yuri Bushnev

unread,
Aug 29, 2017, 7:42:01 AM8/29/17
to Dimitri Pribysh, codename-taurus
should be...  But I don't see it =( So I attached yml script, "~/.bzt-rc" is the default (only comments inside) and you can see the run command which I use...

Yes, command line option it did the trick. Will use that way, for now, thank you very much! 
Reply all
Reply to author
Forward
0 new messages