Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Inject Latency

AttackAttack
Beta
Injects latency
Targets:
App Configurations
Install now

Inject Latency

Injects latency
AttackAttack
Install now

Inject Latency

AttackAttack
Beta
Injects latency
Install now

Inject Latency

Injects latency
AttackAttack
Install now
Go back to list

Introduction

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

Use Cases

  • Understand how an Azure Function or ASP.NET application behaves when it experiences latency.

Prerequisites

Azure Functions

Azure Function must be using v4 isolated worker model and .NET 8 or higher.

Azure Function must be wrapped with the Steadybit Injection Middleware.

Please note that multiple parallel failure injections on the same azure function are not supported.

ASP.NET

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

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

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. In Azure Functions, this might present itself as flaky due to how the Azure Function Consumption Plan operates, which reuses instances with the previous state (you need one request beforehand to get the refreshed configuration).

Parameters

ParameterDescriptionDefault
DurationThe duration of the attack.30s
RateThe rate of invocations to affect. (100 = all request, 50 = half of all requests)100%
Minimum LatencyMinimum latency to inject.500ms
Maximum LatencyMaximum latency to inject.500ms

More App Configuration Actions

See all
Fill Diskspace
Beta
Fills tmp diskspace of the function
AttackAttack
App Configurations
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
Azure Functions
Cloud
.NET
ASP.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