Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Inject Status Code

Attack

Attack

Returns a fixed status code.
Install now

Inject Status Code

Returns a fixed status code.
Attack

Attack

Targets:

AWS Lambdas

Install now

Inject Status Code

Attack

Attack

Returns a fixed status code.
Install now

Inject Status Code

Returns a fixed status code.
Attack

Attack

Targets:

AWS Lambdas

Install now
Go back to list
The Inject Status Code step within the experiment editor.The Inject Status Code step within the experiment editor.

Introduction

This action leverages steadybit/failure-lambda and the AWS Systems Manager API to return a fixed status code from an AWS Lambda.

Use Cases

  • Understand how other (e.g. upstream services, monitoring) behaves when the lambda is answering with abnormal status codes.

Prerequisites

The AWS Lambda Function to attack must be wrapped with the failure-lambda library.

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

Parameters

ParameterDescriptionDefault
DurationThe duration of the attack.30s
RateThe rate of invocations to affect. (100 = all request, 50 = half of all requests)100%
Status CodeThe status code to return.500
Statistics
-Stars
Tags
AWS
AWS Lambda
Cloud
Homepage
hub.steadybit.com/extension/com.steadybit.extension_aws
License
MIT
MaintainerSteadybit
Install now

More AWS Lambda Actions

See all
Block TCP Connections

Blocks TCP connection to listed host(s)

Attack

Attack

AWS Lambdas

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!

Steadybit logoResilience Hub
Try Steadybit
© 2024 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon