Question/Feature Request: How to run a specific/particular scenario #1929
Replies: 2 comments 10 replies
-
Hi @eliezercazarestravelport! Currently there is no way to skip a single scenario within a test script. What you can do instead is extract the configuration and split the scenarios in two different files, like so:
Each test script can then run separately, as you can share configuration with both test scripts using the artillery run --config config.yml scenario-1.yml
artillery run --config config.yml scenario-2.yml Hope that helps! Checkout our docs on reusing config › |
Beta Was this translation helpful? Give feedback.
-
For everyone coming here, after Artillery v2.0.0-38, you can also use |
Beta Was this translation helpful? Give feedback.
-
As we know, in our yaml we have several scenarios inside the flow.
If I want to run just one of those scenarios, I am assuming I could do it by name.
So my question is:
Are there any parameters for the cmd command to indicate one scenario in particular to be run?
Are there any tags like - ignore that I could put in the YAML to file to ignore/skip certain scenarios?
Beta Was this translation helpful? Give feedback.
All reactions