1

Given a single (.jmx) file - what is the equivalent to the following configuration in the image seen below.

Taurus (.yml) Configuration

included-configs:  
- Variables-local.yml # the file containing your properties definitions

execution:
  iterations: 1
  concurrency: 1
  scenario:
    script: AutomatedTests.jmx

modules:
  jmeter:
    class: bzt.modules.jmeter.JMeterExecutor
    path: C:/JMeter
    properties:
      jmeter.save.saveservice.autoflush: 'true'

reporting:
- module: junit-xml
  filename: TEST-Taurus.xml

Image Reference to JMeter UI Functionality

Rob
  • 53
  • 1
  • 9

1 Answers1

2

Amend you "execution" block and add all the modifications you want to make to the original JMeter script there like:

included-configs:
  - Variables-local.yml # the file containing your properties definitions

execution:
  iterations: 1
  concurrency: 1
  scenario:
    script: AutomatedTests.jmx
    modifications:
      set-prop:
        "Test Plan>TestPlan.serialize_threadgroups": true

modules:
  jmeter:
    class: bzt.modules.jmeter.JMeterExecutor
    path: C:/JMeter
    properties:
      jmeter.save.saveservice.autoflush: 'true'

reporting:
  - module: junit-xml
    filename: TEST-Taurus.xml

More information:

Dmitri T
  • 159,985
  • 5
  • 83
  • 133