Adding JMeter listeners: Simple Data Writer, View Results in Table

304 views
Skip to first unread message

arr...@gmail.com

unread,
Jul 16, 2018, 6:22:31 AM7/16/18
to codename-taurus
I'm trying to replace the current JMX files I have as they're becoming cumbersome and full of awkward scripts. I'm converting to Taurus and it's been great up until sorting out reporting. I've been running JMeter through TeamCity and have a writer to write each test to a CSV file (with one request per line), which I can then turn into a nice HTML report that can be viewed within TeamCity. JMeter handled most of this with the use of the report generator.

It looks like Taurus can't do this? The only way to get granular data is by using Blazemeter, which is a no-go as it'd be displayed outside of TC. 

If I could add a listener via Taurus in the same way I add JSR223 scripts I feel like this could all be resolved. When will these be added?

Am I missing some other method of getting the data? I had a look at the kpi.jtl file but it doesn't look like you can change the filenames for them

Thanks

Andrey Pokhilko

unread,
Jul 17, 2018, 7:02:38 AM7/17/18
to codenam...@googlegroups.com

Hi,

Yes, kpi.jtl is supposed to be used for that. From YAML scripting, there is no way to add more listeners. But I wonder why can't you point your script onto kpi.jtl...

--

Andrey Pokhilko
Open Source Initiatives Leader
CA
          BlazeMeter

16.07.2018 13:22, arr...@gmail.com пишет:
CAUTION: This email originated from outside of CA. Do not click links or open attachments unless you recognize the sender and know the content is safe.

--
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/593ce9bf-899f-449a-aab3-2de07e20dbee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

arr...@gmail.com

unread,
Jul 17, 2018, 12:35:26 PM7/17/18
to codename-taurus
So I'm having a couple of problems at the moment with trying to use that:

1) Changing the columns that get logged - when I try to output the report with JMeter it says I have a different set of columns (14) instead of the 13 it think I should have. I have tried altering the JMeter module like so:

"jmeter": {
      "properties": {
        "jmeter.save.saveservice.hostname": "false"
      }
    }

But this doesn't work; I've also tried "system-properties".


2) If I have more than one scenario in my scenarios list, I get multiple kpi.jtl files. I can't rename these. Since they're a one to one mapping (by the looks of it), shouldn't they be <scenario_name>.jtl or <scenario_name>_kpi.jtl?


Thanks for the quick response!

Andrey Pokhilko

unread,
Jul 18, 2018, 7:34:23 AM7/18/18
to codenam...@googlegroups.com

Columns in kpi.jtl are hard-fixed by Taurus. But the file always have CSV header line, so most of CSV reader libraries are able to read values by column names and not order.

The order of file naming is like this: kpi.jtl, kpi-1.jtl, kpi-2.jtl and so on.

--

Andrey Pokhilko
Open Source Initiatives Leader
CA
          BlazeMeter

17.07.2018 19:35, arr...@gmail.com пишет:

arr...@gmail.com

unread,
Jul 18, 2018, 11:25:42 AM7/18/18
to codename-taurus
Overriding the name of kpi.jtl to be its scenario name would be extremely useful. Or perhaps having subfolders in the artifacts directory with the folder name being the scenario name? There are a number of files for each scenario: .err, .log, .out, .properties, .jtl, modified_requests.jmx, requests.jmx etc... pretty much every file is specific to each scenario. 
Reply all
Reply to author
Forward
0 new messages