Run fault Scenarios
In this guide, you will learn how to run fault scenarios and read the generated report.
Prerequisites
-
Install fault
If you haven’t installed fault yet, follow the installation instructions.
-
Generate Scenario Files
If you haven’t created a scenario file, please read this guide.
Run a Scenario File
We will explore now how to run scenarios generated to verify the resilience of the fault demo application itself.
-
Start demo application provided by fault
- The application under test must be started for the scenario to be meaningful. Otherwise, the scenarios will all fail.
-
Run a scenario file
Run Many Scenario Files
We will explore now how to run scenarios generated to verify the resilience of the fault demo application itself. In this specific use case, we assume you want to run many scenario files at once and that they are located in the same directory.
-
Start demo application provided by fault
- The application under test must be started for the scenario to be meaningful. Otherwise, the scenarios will all fail.
-
Run scenario files located in a directory
- fault will load all YAML files in that directory.
Next Steps
- Learn how to explore the generated report from running these scenarios.
- Explore the specification reference for scenarios.