Closed ramgiteng closed 2 years ago
hi @ramgiteng
The config.environments
feature may be what you're looking for. You can use it to create several different environments (or profiles), each with its own load phases, plugins etc.
Multiple config
or scenarios
sections in one YAML file are not supported (as YAML would treat them as duplicate keys in an object)
A common pattern for having multiple scenarios is to store each scenario in its own file.
Hello,
I am trying to create a complex config.yml file, which consists of a combination of configurations. I would like to create multiple configs - each of which has its own set of processors, load phases, and scenarios.
Use Case:
To Combine multiple configs and/or processors in the same YAML file
YAML File 1:
YAML File 2:
Expected Outcome:
Using either one of the above configurations, ../Script1.js to execute first with its specified load phases and corresponding scenario (function 1) before executing ../Script2.js with its corresponding load phases and scenario (function 2).
Actual Outcomes:
Questions:
artillery run config1.yml config2.yml
? (This seems to run both config.yml files simultaneously)