Load property for Jmeter from additional property file

99 views
Skip to first unread message

Beng Sovannak

unread,
Jul 14, 2021, 3:21:56 AM7/14/21
to codename-taurus
Hello I have custom_jmeter.properties file which use for multiple YAML file I to added it in my YAML file by: 

included-configs:
- custom_jmeter.properties

But it doesn't show the value of key I set.

Is there anyway to load property from the file in Taurus for using in the Jmeter?

Thank you!

DT

unread,
Jul 15, 2021, 3:30:13 AM7/15/21
to codename-taurus
I don't think Taurus supports .properties files, if you want to re-use a set of custom properties in multiple scripts you need to declare them in Taurus YAML format like:

modules:
  jmeter:
    properties:
      your_property_1foo
      your_property_2bar
      your_property_3baz

and this file can be added via included-configs like:

included-configs:  
custom-jmeter-properties.yml

Beng Sovannak

unread,
Jul 22, 2021, 4:06:37 AM7/22/21
to codename-taurus
this method work for me thank you 

Vladimir Vakhlov

unread,
Feb 11, 2024, 10:14:51 PM2/11/24
to codename-taurus
Yep - this one is working. Instead of feeding the file to Taurus, need to convert properties into yml file and specify it in startup settings as above.

Thanks.

Reply all
Reply to author
Forward
0 new messages