Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Inject Status Code

Attack

Attack

Returns a fixed status code.
Targets:
AWS Lambdas
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.
Targets:
AWS Lambdas
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.
The experiment execution view when returning a fixed status code.The experiment execution view when returning a fixed status code.

Introduction

This action leverages https://github.com/gunnargrosch/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.

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
cloud
rds
ec2
fis
lambda
Homepage
github.com/steadybit/extension-aws
License
MIT
MaintainerSteadybit

More AWS Lambda Actions

See all
Block TCP Connections

Blocks TCP connection to listed host(s)

Attack

Attack

AWS Lambdas

Start using Steadybit for free

Steadybit is free for personal use. Start your journey towards reliability!

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
HubActionsTargetsExtensionsRecipes
© 2023 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon