Products

Problems
we solve

We can help your business

Request a Free Demo / trial

Insights

Insights | How to | Performance Testing
26 May, 2022

What is Chaos Engineering? (and Why You Need It)

What is Chaos Engineering

Bang!! All of a sudden, one of your production servers goes down. What happens next? How does your system respond? Fortunately, the outage was only in your test environment, at least this time. It was introduced randomly, but deliberately, by chaos engineering.

To understand the need for chaos testing, it’s worth thinking about a few questions:

  • Do you know what would happen when outages happen in your production system?
  • Are you vulnerable to failures or attacks in your live infrastructure?
  • How do you respond to CPU failures, network failures, software service failures, etc?

How Chaos Testing Helps 

Incidents like those mentioned above have often been seen as too difficult, too expensive, or too low a priority to test. If you did test attacks and failures, you were in the minority, and you typically had one shot to get it right.

Chaos engineering allows you to throw a spanner in the works. Easily, repeatedly and affordably.

Chaos engineering identifies weaknesses before they become outages. It proactively tests how a system responds under stress and infrastructure failure. Chaos engineering lets you identify and fix weaknesses before they end up in the news.

What is Chaos Engineering?

Chaos engineering introduces failures into a distributed computing system to test its resilience.

Also known as chaos testing, chaos engineering was popularised by Netflix when they introduced ‘Chaos Monkey’ to test their redundant architecture. If you are running customer-facing systems, chaos testing is a useful and straightforward process. Of course, you need to have the right tools and testing processes in place.

It is worth noting that chaos engineering is essentially a modern take on ‘resilience testing’, which has been around the tech industry since the year dot.

Usually, with software testing you are assessing your solution’s ability to carry out your business processes. However, you assume that the underlying architecture is fully operational.

With chaos engineering, you still assess your business processes, but failures are deliberately introduced into the underlying architecture.

Incidents tested by chaos engineering include:

•             Severed network connections

•             Server outages

•             Software component crashes

•             Component degradation

•             Any many more

Why is Chaos Engineering Important?

We told you earlier about Netflix’s involvement. Since then, chaos testing has been adopted by Google, Microsoft, Amazon, LinkedIn, Facebook, and many others.  As well as tech companies, finance and retail are also seeing significant benefits.

There is often an underlying fear with software systems, an elephant in the room. What happens if part of your system goes down? How resilient are your systems?

Most systems nowadays are heavily interconnected, with multiple customer access points. If even a small component were to fall over, it could lead to much larger issues.

A lot of companies choose to bury their head in the sand. Ignoring these potential issues in the hope that they won’t happen. Unfortunately, though, they do happen.

Chaos engineering directly addresses these issues.

When you randomly introduce failures into your systems, you can:

•             Understand how failures affect your solution

•             Test your redundant systems (if you have any)

•             Identify components that need additional resilience

How Can I Get Started with Chaos Testing?

As part of its ongoing development, Micro Focus LoadRunner Professional (LRP) users can now integrate with Gremlin, one of the leading chaos engineering tools, to introduce chaos testing during performance testing.

LoadRunner Professional uses integrated Gremlin APIs to orchestrate chaos testing. LoadRunner sends a request to Gremlin to execute the predefined scenario and is called when you add Gremlin scenarios.

You can then compare how your solution responds during an attack against how it performs normally.

Visit the Micro Focus LoadRunner Help Center to learn how to incorporate Gremlin attacks into your LoadRunner Professional scenarios

How Does Gremlin Chaos Engineering Work?

Gremlin is one of the foremost chaos engineering tools and helps you test how your system responds under stress. By incorporating Gremlin attacks into your LRP load tests, you can understand how unexpected failures will impact your infrastructure and applications.

Once a Gremlin disruption event has been added to your LRP scenario, this will affect your chosen component for a specified duration.

For example, you could choose to run a CPU attack event for 5 minutes, starting after half an hour. When you run this scenario script, at the 30-minute mark, Gremlin will attack the chosen CPU.  

Gremlin allows you to define virtual attacks on different elements of your solution. You can perform high levels attacks on systems such as databases or web servers. You can also perform more specific, attacks, on components such as the CPU, disk, memory, etc. 

Attacks will generally impact the regular workflow, limiting response or reducing performance, so that the webserver works more slowly than usual and there are fewer successful transactions.

By using chaos engineering during performance testing, you add value to the process and learn about how your systems will cope with failures or attacks. Chaos engineering allows you to establish how resilient you are when something goes… bang!

To learn more about Chaos Engineering, contact Calleo today

Stephen Davis
by Stephen Davis

Stephen Davis is the founder of Calleo Software, a OpenText (formerly Micro Focus) Gold Partner. His passion is to help test professionals improve the efficiency and effectiveness of software testing.

To view Stephen's LinkedIn profile and connect 

Stephen Davis LinkedIn profile

26th May 2022
video to defect

How to Generate Defect Reports from Videos!

Testers can now convert video recordings into detailed defect reports. This groundbreaking functionality accelerates project timelines with AI-powered speed and accuracy. Not only does this technology provide the holy trinity of speed, quality and cost savings, but it also solves a huge—often unspoken—issue on many projects: the breakdown of dev/test relations at the worst possible time.

Video to Software Tests

A Testing Revolution? How to Turn Videos into Manual and Automated Test Cases

Imagine being able to record a user story and instantly turn it into manual and automated tests—how much time and effort would you save? Whether you’re preparing for SIT, UAT or streamlining regression testing, you can now generate manual and codeless automated test cases directly from video recordings, leveraging cutting-edge AI technology to streamline your testing processes.

Test Automation what's new

What’s New: Exciting Test Automation Tool Updates

As great as OpenText is at software development, it’s not always the best at keeping people informed about changes. So, today, I’m sharing a few recent updates to the OpenText automation tools. These are just a tiny sample of recently implemented changes. They focus on cloud capabilities, AI-powered object detection, codeless testing, and streamlined workflows that make test automation more accessible and efficient than ever.

Software Testing in 2030

Software Testing in 2030: 4 Ways QA Will Change

Over the next five years, software and software testing are set to evolve at a rate we’ve never seen. In fact, it has already started. Over the last few years, everyone remotely involved in tech has witnessed the constant change in the way things are done. This seemingly non-stop innovation has been driven by emerging technologies, shifting development paradigms, and businesses reevaluating their priorities… and is set to accelerate.

Software Testers v Rogue AI

Software Testers: Humanity’s Best Chance Against Rogue AI

In the race to protect us against rogue AI, our best defence might not be scientists or politicians, but the often-overlooked heroes of the tech world: software testers. As AI systems increasingly mediate healthcare, criminal justice, and military decisions, this unlikely profession could hold the key to preventing existential catastrophe.

4 testing breakthroughs

Software Testing AI: 4 Breakthroughs You Can’t Ignore in 2025

It’s 2025 and software testing AI can no longer be ignored. AI innovations in software testing can deliver unprecedented efficiency gains and bridge the gap between manual and automated workflows. This article contains four software testing AI breakthroughs you can’t ignore in 2025.

Remote Software Testing

Remote Testing Teams: 4 Strategies to Avoid Collaboration Disaster

It’s been years since the pandemic. Still, many companies I speak to have struggled to adapt to changing practices and have failed to implement effective working habits. Unfortunately, you can’t just continue as if nothing has changed—this approach just won’t cut it anymore. In this week’s insight, I provide four actionable approaches that I have picked up from the many successful testing projects I talk to. These easy fixes will help you prevent collaboration disasters in your remote testing teams.

Top Software Lists

Exposed Why ‘Top Software’ Lists Can’t Be Trusted!

You see them everywhere. Top 10 this, top 20 that. We have all searched for lists that rank products. Whether cars, phones, software, or anything else. But how trustworthy are the ‘top software’ lists on the internet?

How to Choose A Test Management Tool

How to Choose The Right Test Management Tool

Test management tools ensure efficient, effective, and auditable testing processes. When choosing an enterprise-level test management solution, it’s essential to use a proven and trusted solution.

Insights

Search

Related Articles

To get other software testing insights, like this, direct to you inbox join the Calleo mailing list.

You can, of course, unsubscribe 

at any time!

By signing up you consent to receiving regular emails from Calleo with updates, tips and ideas on software testing along with the occasional promotion for software testing products. You can, of course, unsubscribe at any time. Click here for the privacy policy.

Sign up to receive the latest, Software Testing Insights, news and to join the Calleo mailing list.

You can, of course, unsubscribe at any time!

By signing up you consent to receiving regular emails from Calleo with updates, tips and ideas on software testing along with the occasional promotion for software testing products. You can, of course, unsubscribe at any time. Click here for the privacy policy.