From the course: DevOps Foundations: Chaos Engineering
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Running your experiment
From the course: DevOps Foundations: Chaos Engineering
Running your experiment
- [Instructor] Now it's time to run our experiment. First, we'll make sure that our Python service from the lab setup is still running by going to localhost port 8080 on our web browser and seeing if the content of the example.dat file are still there. So, if I just refresh this I can see that that date and time just updated, so that means that that service is still running. If it isn't running for whatever reason we can restart it by using the service.py file in the exercise files and running the following command from that file's location, python3 service.py. However, it's currently running in this instance so I don't need to run that right now. Now we're going to run our Chaos experiment by executing the following command, chaos run experiment.json. Now, when I run the experiment the following information should be reported: The syntax of the experiment.json file is checked. The experiment starts to execute. The steady state hypothesis that we created is checked to ensure that the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.