performancejmetergatlingtaurus

JMeter : Generating the default html report not possible with Taurus


I am currently making a POC with Taurus tool.

In our company we use both JMeter and Gatling for now.

I was able to obtain in my tests the Gatling report without any complex configuration but it was not possible with JMeter to obtain its report.

Could anybody tell me:

The reason behind this request is that in our company :

I hope it is possible as if not it would be a NO-GO to using Taurus.


Solution

  • It seems that as of now (August 2018 Taurus 1.12.1) , it is not possible in a satisfying and simple way, based on my own tests and answers I got from project here:

    Although it is partly possible as per @dmitri-t answer, it is not fully satisfying as there will be some missing information in report and you need to customize per platform which kinds of removes some simplification benefits of Taurus. But hopefully, there are chances it might be introduced in future versions. Maybe you can add a note on google group topic.

    Edit on 23/08/2018:

    This is the best way I found to have all the graphs generated, still it's not fully satisfying as Taurus overrides for an unknown reason the "Generate Parent Sampler" in Transaction Controller which is a problem for JMeter report:

    Due to previous problem, with JMeter 4.0 a lot of graphs are empty, so I used a version that will be upcoming 5.0.

    So I added a Simple Data Writer to the test plan.

    Notice that I checked in Configure button all CSV fields needed for report:

    Simple Data Writer for JMeter Report

    Notice also I use a property "output" and __P function:

    ${__P(output,)}

    And finally in the YAML file, I configure:

    And my particular property "output":

    I end up with:

    settings:
      env:
         jmeterVersion: r1839007
    
    
    execution:
    - scenario: existing
      concurrency: 5
      hold-for: 10s
      ramp-up: 3s
    
    scenarios:
      existing:
        script: demo.jmx
    
    modules:
      jmeter:
        path: ~/.bzt/jmeter-taurus/${jmeterVersion}/bin/jmeter
        version: ${jmeterVersion}
        download-link: https://ci.apache.org/projects/jmeter/nightlies/${jmeterVersion}/apache-jmeter-${jmeterVersion}.zip
        detect-plugins: false
        properties:
          jmeter.reportgenerator.apdex_satisfied_threshold: 1000
          jmeter.reportgenerator.report_title: JMeter Taurus Demo
          jmeter.reportgenerator.overall_granularity: 1000
          jmeter.reportgenerator.exporter.html.series_filter: ^(ClickNext|HP|scenario)(-success|-failure)?$
          output: ${TAURUS_ARTIFACTS_DIR}/output/
    
    services:
    - module: shellexec
      post-process:
      - ~/.bzt/jmeter-taurus/${jmeterVersion}/bin/jmeter -p ~/.bzt/jmeter-taurus/${jmeterVersion}/bin/jmeter.properties -q ${TAURUS_ARTIFACTS_DIR}/jmeter-bzt.properties -g ${TAURUS_ARTIFACTS_DIR}/output/output.csv -o ${TAURUS_ARTIFACTS_DIR}/folder
    
    
    reporting:
    - module: final-stats
    - module: console