简体   繁体   中英

JMeter with Yaml file (AWS Distribution Testing)

I have question can we call the variables from yaml(.yml) file into JMeter? As I am facing an issue.

The reason to use YAML(.yml) file instead of.properties file is that our script is running fine in local when we pass the variables ie Numbers of user, in config.properties file but when we run in AWS distribution testing we are getting an issue. So I am trying with YML. As someone suggested but how to call the variables in JMeter of yml. We are facing an challenge. Any Idea or any other approach.

I fail to see how YAML file will help there.

If you have config.properties file you can "feed" it to the JMeter Slaves as follows:

  1. Either start JMeter slave process providing the path to the config.properties file using -q command-line argument
  2. Or pass the config.properties file from the master machine to the slaves using -G command-line argument

More information:

If by "AWS Distribution Testing" you mean Distributed Load Testing on AWS then check out JMeter Properties and Variables article of Taurus documentation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM