[{"data":1,"prerenderedAt":50},["ShallowReactive",2],{"workflow-step-functions-load-testing":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":13,"description":16,"diagram":17,"extension":18,"framework":19,"gitHub":20,"introBox":27,"level":31,"meta":32,"resources":33,"s3URL":36,"services":37,"simplicity":40,"stem":41,"testing":42,"type":46,"usecase":47,"videoId":48,"__hash__":49},"workflows\u002Fworkflows\u002Fstep-functions-load-testing.json","Serverless Load Generator using Distributed Map",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11,12],"content\u002Fcontributors\u002Frakshith-rao.json","content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":14},[15],"sam deploy --guided","This example creates a serverless load generator using AWS Step Functions to load an AWS Lambda function. It can also be extended to load test other workloads like HTTP endpoints, APIs, or other services that AWS Step Functions support.","\u002Fassets\u002Fimages\u002Fworkflows\u002Fstep-functions-load-testing.png","json","AWS SAM",{"template":21,"payloads":26},{"repoURL":22,"templateDir":23,"templateFile":24,"ASL":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fstep-functions-load-testing\u002F","step-functions-load-testing","template.yaml","statemachine\u002Fload-orchestrator-statemachine.asl.json",[],{"headline":28,"text":29},"How it works",[30],"When the Step Function is triggered, it first starts the ramp-up phase. In this phase, it starts a timer to monitor if the ramp-up time is reached. It then uses a distributed map to call the Lambda function in parallel. After each execution of the distributed map ends, the Step Function checks if the ramp-up time is reached and increases the concurrency of the distributed map. Once the ramp-up time is reached, the state machine then sends the load to the Lambda for the time specified in input.","200",{},{"headline":34,"bullets":35},"Additional resources",[],null,[38,39],"sfn","lambda","2 - Pattern","workflows\u002Fstep-functions-load-testing",{"headline":43,"text":44},"Testing",[45],"See the GitHub repo for detailed testing instructions.","Standard","Load Testing","","CsRU0m5u6iumoxg82LtswLe3C_dgsQiZn8_jO50gjF4",1778846889613]