{"id":49216120,"url":"https://github.com/jossmoff/gatling-stepfunction-extension","last_synced_at":"2026-04-24T00:03:32.866Z","repository":{"id":157973039,"uuid":"630543994","full_name":"jossmoff/gatling-stepfunction-extension","owner":"jossmoff","description":"⚡ A Gatling extension to analyse the execution of a step function","archived":false,"fork":false,"pushed_at":"2024-08-29T08:55:49.000Z","size":473,"stargazers_count":5,"open_issues_count":10,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-29T10:13:23.985Z","etag":null,"topics":["aws","gatling","gatling-extension","load-testing","stepfunctions"],"latest_commit_sha":null,"homepage":"https://gatlingsfnextension.docs.joss.dev/","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jossmoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-20T15:52:23.000Z","updated_at":"2024-08-29T08:55:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"23e3edaf-24cf-43f7-8df8-b8386cb5bdc9","html_url":"https://github.com/jossmoff/gatling-stepfunction-extension","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/jossmoff/gatling-stepfunction-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmoff%2Fgatling-stepfunction-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmoff%2Fgatling-stepfunction-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmoff%2Fgatling-stepfunction-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmoff%2Fgatling-stepfunction-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jossmoff","download_url":"https://codeload.github.com/jossmoff/gatling-stepfunction-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmoff%2Fgatling-stepfunction-extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32203363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T20:19:26.138Z","status":"ssl_error","status_checked_at":"2026-04-23T20:19:23.520Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","gatling","gatling-extension","load-testing","stepfunctions"],"created_at":"2026-04-24T00:03:28.813Z","updated_at":"2026-04-24T00:03:32.842Z","avatar_url":"https://github.com/jossmoff.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gatling AWS Step Function Extension\n\nThis is a custom Gatling extension that allows you to perform load testing on AWS Step Functions using the AWS SDK. With this extension, you can start a Step Function execution and wait for it to complete, allowing you to test the performance of your Step Functions under load.\n\n## Prerequisites\n\nTo use this extension, you'll need the following:\n\n- Java 8 or later\n- Gatling 3.0\n- AWS SDK\n\n## Installation\n\nTo use this extension, you can add it as a dependency to your Gatling project. Add the following dependency to your Gatling project's `build.gradle`:\n\n```\nimplementation 'dev.joss:gatling-stepfunction-extension:1.4.0'\n```\nFor other build tools see the maven central repository [overview](https://central.sonatype.com/artifact/dev.joss/gatling-stepfunction-extension/1.3.1/overview#Overview).\n\n## Usage\n\nTo use this extension in your Gatling simulation, you can import the `dev.joss.gatling.sfn.Predef._` package and use the `Sfn` DSL to create a new simulation. Here's an example:\n\n```scala\nimport dev.joss.gatling.sfn.Predef._\nimport dev.joss.gatling.sfn.protocol.SfnProtocol\nimport io.gatling.core.Predef._\nimport io.gatling.core.scenario.Simulation\n\nimport software.amazon.awssdk.services.sfn.SfnClient\n\nimport scala.concurrent.duration.DurationInt\nimport scala.language.postfixOps\n\nclass ExampleSimulation extends Simulation {\n  var sfnClient: SfnClient = SfnClient.builder().build()\n  var sfnArn =\n    \"arn:aws:states:eu-west-1:000000000000:stateMachine:some-arn\"\n\n  val scn = scenario(\"SFN DSL test\")\n    .exec(\n      sfn(\"Start Hello World Execution\").startExecution\n        .arn(sfnArn)\n        .payload(\"{}\")\n    )\n    .pause(5000.milliseconds)\n    .exec(sfn(\"Check the response\").checkSucceeded)\n\n  val requests = scn.inject {\n    constantUsersPerSec(100) during (5 minutes)\n  }\n  setUp(requests).protocols(SfnProtocol(sfnClient))\n\n}\n\n```\n\nThis example creates a new Gatling scenario that starts an execution, waits 5 seconds and then checks the step function has succeeded.\nFor a more applied example, see the `example` project which tests AWS's Hello World step function using localstack.\n## License\n\nThis extension is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjossmoff%2Fgatling-stepfunction-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjossmoff%2Fgatling-stepfunction-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjossmoff%2Fgatling-stepfunction-extension/lists"}