{"id":13651048,"url":"https://github.com/Pravoru/gatling-junitrunner","last_synced_at":"2025-04-22T22:30:29.441Z","repository":{"id":57742766,"uuid":"98412042","full_name":"Pravoru/gatling-junitrunner","owner":"Pravoru","description":"JUnit wrapper around gatling simulations","archived":false,"fork":false,"pushed_at":"2018-11-09T08:34:53.000Z","size":19,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-01-25T05:40:55.237Z","etag":null,"topics":["debugging","gatling","junit"],"latest_commit_sha":null,"homepage":null,"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}},"created_at":"2017-07-26T10:43:01.000Z","updated_at":"2021-06-29T19:17:23.000Z","dependencies_parsed_at":"2022-09-09T11:22:48.995Z","dependency_job_id":null,"html_url":"https://github.com/Pravoru/gatling-junitrunner","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pravoru%2Fgatling-junitrunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pravoru%2Fgatling-junitrunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pravoru%2Fgatling-junitrunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pravoru%2Fgatling-junitrunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pravoru","download_url":"https://codeload.github.com/Pravoru/gatling-junitrunner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250333851,"owners_count":21413468,"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":["debugging","gatling","junit"],"created_at":"2024-08-02T02:00:44.343Z","updated_at":"2025-04-22T22:30:29.206Z","avatar_url":"https://github.com/Pravoru.png","language":"Scala","readme":"# JUnit wrapper around Gatling simulations\n\n## Goal\n\nGatling do not has an ability to be run as normal unit test. Gatling team has its reasons for this, however we need to debug simulation before running it under heavy load.\n\n## Instalation\nWe mimic gatling versioning. For our purposes we use fourth digit in version number.\n`build.sbt`\n```scala\nlibraryDependencies += \"ru.pravo\" %% \"gatling-junitrunner\" % \"3.0.0.0\"\n```\n\n## Using\n\nJust add `@RunWith(classOf[JUnitRunner])` annotation to your simulation classes.\n\n```scala\nimport io.gatling.core.Predef._\nimport io.gatling.http.Predef._\nimport org.junit.runner.RunWith\nimport ru.pravo.qa.gatling.junit.JUnitRunner\n\n@RunWith(classOf[JUnitRunner])\nclass ExampleSimulation extends Simulation {\n  val httpConf = http\n    .baseUrl(\"http://google.com\")\n\n  val scn = scenario(\"Positive Scenario\")\n    .exec(\n      http(\"request_1\").get(\"/\")\n    )\n\n  setUp(scn.inject(atOnceUsers(1)).protocols(httpConf))\n}\n```\n\n","funding_links":[],"categories":["Tools"],"sub_categories":["Plugins"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPravoru%2Fgatling-junitrunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPravoru%2Fgatling-junitrunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPravoru%2Fgatling-junitrunner/lists"}