Products

Problems
we solve

We can help your business

Request a Free Demo / trial

Insights

Insights | Performance Testing
8 November, 2023

Chaos Testing: How to Integrate Steadybit with LoadRunner Professional

chaos testing with steadybit

There is often an underlying and unspoken fear with software systems: How resilient is your solution to unexpected outages and system failures? Sure, you’ve tested your solution’s functionality and performance, but have you tested against system outages? This is where chaos testing comes in.

Chaos testing is a technique that helps to identify how systems behave under unexpected or turbulent conditions. By incorporating these unpredictable disruptions into LoadRunner Professional (LRP) scenarios, you can gauge the resilience of your applications and systems.

Chaos Testing Address Issues That Other Testing Techniques Don’t

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.

With chaos testing, you can directly address these issues, introducing system failures into your LoadRunner Professional scenarios to mimic random, real-world outages.

For more information on Chaos testing, check out What is Chaos Engineering? (and Why You Need It)

A Few Chaos Testing Examples

Terminating Server Instances

You could randomly shut down server instances to assess whether your solution can withstand the loss of any single instance without affecting the overall user experience.

Network Disruption

In network chaos testing you intentionally introduce delays, packet loss, or outages to simulate network issues and test how well your solution handles network instability.

Application Dependency Failure

You can deliberately disable access to an application’s external dependencies to understand how it responds when third-party services, APIs, or data stores go down.

Understanding Chaos Testing

When you initiate chaos tests, you simulate attacks on various system components, such as databases, web servers, CPU, or memory. Within an LRP test, disruption events are added to your scenario.

The EventsHandlerMicroservice in the Controller then communicates with the chaos platform, in this case, Steadybit, to execute these predefined disruptions. The goal is to see how these disruptions affect the system in conjunction with the LRP scenario.

A chaos test hinders typical workflows, which may slow down services and reduce successful transactions. Comparing system responses between scenarios with and without these disruptions will offer insights into the system’s resilience.

Steadybit and LoadRunner Professional

Steadybit is one of the platforms compatible with LRP, and it operates in both public clouds or on-premises through a private cloud.

Within Steadybit, you define experiments that may consist of multiple disruptions. These experiments are then added to the LRP scenarios.

steadybit process flow

To coordinate the chaos tests, LRP employs integrated Steadybit APIs. However, ensure the Steadybit agent is running on your Application Under Test (AUT) machines. It’s often beneficial to bundle several disruptions into a single experiment instead of running a series of shorter, separate experiments.

Chaos Testing From the Cloud

You can also use a cloud-based chaos testing tool, Gremlin, to introduce chaos events into LoadRunner scenarios – check out this article for more information.

Incorporating Disruption Events into LoadRunner Professional Scenarios

To utilise disruption events within your LRP scenarios:

  1. Setup: Initialize your chaos engineering platform (Steadybit) and outline the disruptions for the application in question.
  2. Connection: Before diving into the Controller, validate the connection between the Steadybit agent and the platform.
  3. Scenario Design: Launch your LRP scenario and navigate to the ‘Controller Design’ tab. You’ll find the ‘Disruption Events’ button under the’ Scenario Schedule’ pane.
  4. Event Addition: Select’ Add Event’ within the ‘Disruption Events’ dialogue. Choose ‘Steadybit’ as the chaos engineering provider type and input the necessary API Key. Check the ‘On-prem’ box for private cloud operations and provide the necessary URL.
  5. Event Selection: A table populated with disruption events (or experiments) from Steadybit will appear once connected. You can select the desired events and hit ‘Add’. You can even search for specific events or see a brief about the experiment.
  6. Scheduling: After adding the events, define the start time relative to the overall LRP scenario start time. A scheduling graph visually represents the event timelines against the overall Vusers schedule.
  7. Event Error Handling: From version 2023 R1, the ‘continue on error’ feature allows you to decide if the scenario should proceed even if a scheduled disruption fails.
  8. Save: After completing the setup, save your changes.

As the LoadRunner Professional scenario progresses, you can observe how the chaos events from Steadybit influence the monitored machines with real-time updates on the scenario graphs.

Configure and Review Disruption Event Logs

You can configure different logging levels like Trace, Debug, Information, Warning, Error, or Critical.

To review the logs for these disruption events:

  • For microservice-related logs, refer to <LoadRunner root folder>\Logs\EventsHandlerSrv\events_handler.log.
  • Controller-related logs can be found at %TEMP%\lr_disruption_events_err.log.

Summary

In short, chaos testing lets you see whether you solution can take an unexpected hit.

Adding chaos events into your LoadRunner Professional scenarios introduces outages into your test environment, letting you assess how your solution responds.

Chaos testing with LoadRunner and Steadybit is a straightforward process that gets your software ready for the unexpected.

Related Products

LoadRunner Professional
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

8th November 2023
What can testers learn from SpaceX

What Can Testers Learn From SpaceX?

As a test professional, I’ve seen countless projects where defects are treated as disasters rather than learning opportunities. But what if we flipped that mindset? What if software development projects embraced failure as SpaceX does—not as an end, but as the beginning of progress?

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?

Insights

Search

Related Products

LoadRunner Professional

Related Articles

InsightsTrending

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.