Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Inject Exception

AttackAttack
New
Beta
Injects exception
Targets:
Container Apps
Install now

Inject Exception

Injects exception
AttackAttack
Install now

Inject Exception

AttackAttack
New
Beta
Injects exception
Install now

Inject Exception

Injects exception
AttackAttack
Install now
Go back to list

Introduction

This action leverages steadybit/failure-azure-functions-net and the Azure App Configuration to inject an exception into an ASP.NET application.

Use Cases

  • Understand how an ASP.NET application behaves when it encounters an exception.

Prerequisites

ASP.NET application must use .NET 8 or higher.

ASP.NET application must be wrapped with the Steadybit Injection Middleware.

ASP.NET application must have STEADYBIT_FAILURE_INJECTION_ENDPOINT environment variable set to the Azure App Configuration endpoint.

Please note that multiple parallel failure injections on the same ASP.NET application are not supported.

Important Considerations

The default implementation of the Azure App Configuration middleware in .NET is non-blocking. Therefore, the configuration refresh does not occur in the request where refresh started; instead, it is active from that request onward.

Parameters

ParameterDescriptionDefault
DurationThe duration of the attack.30s
RateThe rate of invocations to affect. (100 = all request, 50 = half of all requests)100%
MessageMessage of the thrown exception

More Container App Actions

See all
Fill Diskspace
New
Beta
Fills tmp diskspace of the container app
AttackAttack
Container Apps
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Statistics
-Stars
Tags
Azure
ASP.NET
Cloud
.NET
Homepage
hub.steadybit.com/extension/com.steadybit.extension_azure
License
MIT
MaintainerSteadybit
Install now
Steadybit logoResilience Hub
Try Steadybit
© 2025 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon