# Chaos engineering for testers <iframe width="560" height="315" src="https://www.youtube.com/embed/z1-_R-h2unE" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> ## Thumbnail ![[chaos-vs-testing-thumbnail.png]] ## Title 1. Chaos engineering for testers 2. Chaos engineering for testers in 6 minutes 3. ==Basics of chaos engineering for testers== ## Hook Possibly the best part of chaos engineering is its marketing. How can you not want to talk about work in terms of Monkeys, Simian Armies, and Gremlins in your data centers? The terminology may be as confusing as it is cute, but if you're a software tester like me, you may be surprised to find out you already know more about it than you think. In this video, I'm going to talk about what chaos engineering is, and what it has to do with software testing. ## Structure - What is chaos engineering? What does it mean to engineer chaos? - Define and prepare a steady state. - Identify a hypothesis. - Execute chaos experiments. - Analyze the results. - Wait, isn't that testing? - Establish the baseline - Formalize objectives into requirements - Write and execute test cases - Analyze the results. - Well, not EXACTLY. Here are the differences: - Attitude - Testing _verifies_ that something works as expected. - Chaos _takes as a given_ that there are situations where it _doesn't_, and seeks to reproduce and prepare for those situations. - Purpose - Testing: Fix known defects before an application goes live. (Starfleet) - Chaos: Make the application resilient against the unknown. (Maquis) - Despite this, they do have similarities: - Process - General intention: improve system quality - Mindset required. Someone: - Talented in multiple disciplines: as familiar with programming as with talking to people - Intellectually skeptical - Curious - The natural temperament of a tester makes us perfectly suited for this. - And that's why, even though they may have originated to address slightly different needs, I think chaos engineering is a testing discipline. ## Outro For more about chaos testing, check out this video that includes a demo on how I ran a load test and a chaos test in the same script. If you want to take a step back and understand what I do for a living, check out this one on what load testing is. Thanks for watching! ## Related videos and resources Chaos monkey meme: https://medium.com/pagedraw/is-anyone-doing-in-process-chaos-monkey-38fd898540e6 Targeting Kubernetes Cluster with Gremlin Chaos Test: https://medium.com/appfleet/targeting-kubernetes-cluster-with-gremlin-chaos-test-277a86042edf The Maquis, from The Templin Institute: https://www.youtube.com/watch?v=8bFrGsBmK18 Starfleet Command, from The Templin Institute: https://www.youtube.com/watch?v=QJ0eOVNEc7g ## Timestamps 0:00 Intro 0:28 What is chaos engineering? 2:54 Chaos engineering vs. software testing: differences 4:30 Similarities between chaos engineering and software testing ## Pre-production - [x] Take a thumbnail photo and create one for YouTube (1280 x 720). - [x] Add description. - [x] Include the title and any keywords in the first few sentences, but in a natural way. - [x] Add related videos and resources as links. - [x] Add end screen. - [x] Add cards if necessary. - [x] Add video to relevant playlist(s), or create a playlist if necessary. - [x] Create captions using Descript or using the script, then edit them. - [x] Add chapters for YouTube if longer than 5 minutes. - [x] Schedule on YouTube. ## Post-production - [ ] Promote on personal social media. - [ ] Twitter - [ ] LinkedIn - [ ] Create a blog post on [site](https://nicolevanderhoeven.com). - [ ] Add to weekly newsletter.