{"id":36418738,"url":"https://github.com/chatwork/gatling-akka","last_synced_at":"2026-01-11T17:01:38.779Z","repository":{"id":57718179,"uuid":"83523194","full_name":"chatwork/gatling-akka","owner":"chatwork","description":" a gatling plugin to execute stress tests for Akka actor application","archived":false,"fork":false,"pushed_at":"2024-02-27T07:03:34.000Z","size":67,"stargazers_count":5,"open_issues_count":6,"forks_count":2,"subscribers_count":67,"default_branch":"develop","last_synced_at":"2025-03-05T19:52:08.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/chatwork.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}},"created_at":"2017-03-01T07:03:10.000Z","updated_at":"2020-03-24T03:36:19.000Z","dependencies_parsed_at":"2022-08-24T13:38:15.830Z","dependency_job_id":null,"html_url":"https://github.com/chatwork/gatling-akka","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/chatwork/gatling-akka","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatwork%2Fgatling-akka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatwork%2Fgatling-akka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatwork%2Fgatling-akka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatwork%2Fgatling-akka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chatwork","download_url":"https://codeload.github.com/chatwork/gatling-akka/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatwork%2Fgatling-akka/sbom","scorecard":{"id":274977,"data":{"date":"2025-08-11","repo":{"name":"github.com/chatwork/gatling-akka","commit":"9391efbcad55006906e5abc5efe79528f5ad9ce9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/23 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T14:12:14.328Z","repository_id":57718179,"created_at":"2025-08-17T14:12:14.329Z","updated_at":"2025-08-17T14:12:14.329Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: 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":[],"created_at":"2026-01-11T17:01:37.755Z","updated_at":"2026-01-11T17:01:38.773Z","avatar_url":"https://github.com/chatwork.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"gatling-akka\n--------------\n\ngatling-akka is [gatling](https://github.com/gatling/gatling) plugin for stress tests of Akka application.\n\ngatling-akka enables to simulate message passing between actors and measure latency and throughput of the requests and responses.\n\n## Installation\n\nFor sbt users, add following lines to build.sbt.\n\n### Scala 2.11\n\n```scala\nlibraryDependencies ++= Seq(\n  \"io.gatling.highcharts\" % \"gatling-charts-highcharts\" % \"2.2.5\",\n  \"io.gatling\" % \"gatling-test-framework\" % \"2.2.5\",\n  \"com.chatwork\" %% \"gatling-akka\" % \"0.1.14\"\n)\n```\n\n### Scala 2.12\n\n```scala\nlibraryDependencies ++= Seq(\n  \"io.gatling.highcharts\" % \"gatling-charts-highcharts\" % \"3.1.3\",\n  \"io.gatling\" % \"gatling-test-framework\" % \"3.1.3\",\n  \"com.chatwork\" %% \"gatling-akka\" % \"0.1.15\"\n)\n```\n\n## Example\n\n```scala\nimport _root_.io.gatling.core.Predef._\nimport com.chatwork.gatling.akka.Predef._\n\nclass BasicSimulation extends Simulation {\n\n  val config = ConfigFactory.load()\n  implicit val system = ActorSystem(\"BasicSimulation\", config)\n\n  // gatling-akka protocol configuration\n  val akkaConfig = akkaActor.askTimeout(3 seconds)\n\n  // recipient actorRef\n  val ponger = system.actorOf(PingerPonger.ponger)\n\n  // scenario definition\n  val s = scenario(\"ping-pong-ping-pong\")\n    .exec {\n      // ask a request to ponger actor and check its response with expectMsg and then save it in session if the check passes\n      akkaActor(\"ping-1\").to(ponger) ? PingerPonger.Ping check expectMsg(PingerPonger.Pong).saveAs(\"pong\")\n    }\n    .exec {\n      val pf: PartialFunction[Any, Unit] = {\n        case PingerPonger.Pong =\u003e\n      }\n\n      akkaActor(\"ping-2\").to(ponger).ask { session =\u003e\n        // ask based on session value\n        session(\"pong\").as[PingerPonger.Pong.type] match {\n          case PingerPonger.Pong =\u003e PingerPonger.Ping\n        }\n      }.check(expectMsgPF(pf)) // check a response with partial function with expectMsgPF\n    }\n    .exec {\n      // message content check, same as expectMsg\n      akkaActor(\"ping-3\").to(ponger) ? PingerPonger.Ping check message.is(PingerPonger.Pong)\n    }\n    .exec {\n      // find recipient and save it in session\n      akkaActor(\"ping-4\").to(ponger) ? PingerPonger.Ping check recipient.find.exists.saveAs(\"recipient\")\n    }\n\n  // inject configurations\n  setUp(\n    s.inject(constantUsersPerSec(10) during (10 seconds))\n  ).protocols(akkaConfig).maxDuration(10 seconds)\n}\n\n// simple ping-pong actor definition\nobject PingerPonger {\n\n  def ponger: Props = Props(new Ponger)\n\n  class Ponger extends Actor {\n    override def receive: Receive = {\n      case Ping =\u003e sender() ! Pong\n    }\n  }\n\n  case object Ping\n\n  case object Pong\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatwork%2Fgatling-akka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatwork%2Fgatling-akka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatwork%2Fgatling-akka/lists"}