{"id":13651028,"url":"https://github.com/Pravoru/gatling-remote-sbt","last_synced_at":"2025-04-22T22:30:23.831Z","repository":{"id":96666879,"uuid":"97818902","full_name":"Pravoru/gatling-remote-sbt","owner":"Pravoru","description":"Remote execution plugin for gatling load tests.","archived":false,"fork":false,"pushed_at":"2020-04-29T07:35:57.000Z","size":62,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-25T05:40:45.473Z","etag":null,"topics":["gatling","load-testing","remote-execution","sbt-plugin"],"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/Pravoru.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-07-20T09:47:53.000Z","updated_at":"2021-06-15T06:57:05.000Z","dependencies_parsed_at":"2024-01-03T05:41:13.816Z","dependency_job_id":"3c8e5d11-e583-4dc0-9fd5-79bc8e52b80d","html_url":"https://github.com/Pravoru/gatling-remote-sbt","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pravoru%2Fgatling-remote-sbt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pravoru%2Fgatling-remote-sbt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pravoru%2Fgatling-remote-sbt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pravoru%2Fgatling-remote-sbt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pravoru","download_url":"https://codeload.github.com/Pravoru/gatling-remote-sbt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250333835,"owners_count":21413466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["gatling","load-testing","remote-execution","sbt-plugin"],"created_at":"2024-08-02T02:00:44.030Z","updated_at":"2025-04-22T22:30:23.561Z","avatar_url":"https://github.com/Pravoru.png","language":"Scala","funding_links":[],"categories":["Tools"],"sub_categories":["Plugins"],"readme":"# Gatling remote sbt plugin \n\n## Goal\n\nGatling is excellent load test framework, but is has some limitations. The biggest limitation is absence of remote execution. \nThis plugin brings ability to run simulation remotely through ssh.\n\n## Dependencies \n\n* [gatling-sbt](https://github.com/gatling/gatling-sbt)\n* [sbt-native-packager](https://github.com/sbt/sbt-native-packager)\n* [sshj](https://github.com/hierynomus/sshj)\n\n## Installation\nWe mimic gatling-sbt versioning. For our purposes we use fourth digit in version number. \n\n`plugins.sbt`\n```scala\naddSbtPlugin(\"ru.pravo\" %% \"gatling-remote-sbt\" % \"3.0.0.1\")\naddSbtPlugin(\"com.typesafe.sbt\" %% \"sbt-native-packager\" % \"1.3.6\")\naddSbtPlugin(\"io.gatling\" %% \"gatling-sbt\" % \"3.0.0\")\n```\n\n`build.sbt`\n```scala\nenablePlugins(GatlingPlugin, JavaAppPackaging, GatlingRemotePlugin)\n```\n\n`gatling-remote.conf`\n```\nhosts = [\n  {\n    host = \"localhost\",\n    login = \"root\",\n    password = \"root\",\n    port = 2222\n  }\n]\n```\n\n## Configuration\n\nThere are multiple setting for configuration:\n\nSetting | Description | Default \n------- | ----------- | -------\n|`gatlingConfigFilePath`|Path to `gatling.conf` file|`src/test/resources/gatling.conf`|\n|`gatlingAkkaConfigFilePath`|Path to `gatling-akka.conf` file|`src/test/resources/gatling-akka.conf`|\n|`gatlingRemoteConfigFilePath`|Path to `gatling-remote.conf` file|`src/test/resources/gatling-remote.conf`|\n|`logbackConfigFilePath`|Path to `logback.xml` file|`src/test/resources/logback.xml`|\n|`remoteWorkDirectoryPath`|Path to work directory on remote server|`/tmp`|\n|`deployTimeoutDuration`|Timeout for deploying operation|`Infinite`|\n|`runTimeoutDuration`|Timeout for running operation|`Infinite`|\n|`grafiteRootPathPrefix`|Root path that will be overwritten in run.sh|`gatling`|\n|`configurationFiles`|Configuration files that will be deployed into /conf directory|`Seq(gatling.conf, gatling-akka.conf, gatling-remote.conf, logback.xml)`|\n|`userFilesDataFiles`|User files that will be deployed into /user-files/body directory|`Seq()`|\n\nYou can override any of these settings. For example \n\n```scala\ngatlingConfigFilePath in Gatling := (resourceDirectory in Compile).value / \"gatling.conf\"\n```\n\nwill force plugin to take `gatling.conf` from `/src/resources/gatling.conf`\n\n## Using\n\nRun simulation\n```bash\nsbt gatling:testOnlyRemote basic.BasicExampleSimulationFails\n```\n\nGet assembled project \n```bash\nsbt gatling:assembleProject\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPravoru%2Fgatling-remote-sbt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPravoru%2Fgatling-remote-sbt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPravoru%2Fgatling-remote-sbt/lists"}