Global configuration to use existing jmeter

52 views
Skip to first unread message

Tong Sun

unread,
Mar 10, 2021, 6:30:24 PM3/10/21
to codename-taurus
Just as for the same .jmx file, I can open (test with) different version of jmeter, I don't want to specify which jmeter to use in yaml Configuration file. 

However, I'll get the following if my yaml doesn't specify which jmeter to use:

$ bzt quick_test.yml
17:33:55 INFO: Taurus CLI Tool v1.15.2
17:33:55 INFO: Starting with configs: ['quick_test.yml']
17:33:55 INFO: Configuring...
17:33:55 INFO: Preparing...
17:33:55 WARNING: Failed to check for updates
17:33:55 INFO: Will install JMeter into /Users/master/.bzt/jmeter-taurus/5.2.1
100% [                                                          ] ETA:  --:--:--
17:33:55 ERROR: Internal Error: JMeter download failed: No more links to try

Is there anyway that I define which of my existing jmeter to use, say in some global yaml configuration file? thx


DT

unread,
Mar 11, 2021, 1:22:50 AM3/11/21
to codename-taurus
When you install Taurus it generates .bzt-rc file in your home folder where default configuration lives.

You can put whatever overrides you want there, for example you can specify existing JMeter installation location as:

modules:
  jmeter:
    path: c:/somefolder/jmeter

Alternatively you can specify the path via -o command-line argument like:

bzt -o modules.jmeter.path=c:/somefolder/jmeter test.yaml

Reply all
Reply to author
Forward
0 new messages