{"id":13622109,"url":"https://github.com/zalopay-oss/jmeter-grpc-plugin","last_synced_at":"2025-06-14T10:35:31.061Z","repository":{"id":39942944,"uuid":"245603379","full_name":"zalopay-oss/jmeter-grpc-plugin","owner":"zalopay-oss","description":"A JMeter plugin supports load test gRPC","archived":false,"fork":false,"pushed_at":"2023-06-14T22:27:15.000Z","size":239,"stargazers_count":41,"open_issues_count":11,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-07T18:14:01.445Z","etag":null,"topics":["benchmark","grpc","jmeter","jmeter-plugin","load-testing","stress-testing","test-grpc"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zalopay-oss.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}},"created_at":"2020-03-07T09:26:41.000Z","updated_at":"2024-03-31T14:23:33.000Z","dependencies_parsed_at":"2024-04-15T11:20:14.076Z","dependency_job_id":"d1ec6abe-57ac-4e84-a0f0-8b7c5ee8f917","html_url":"https://github.com/zalopay-oss/jmeter-grpc-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalopay-oss%2Fjmeter-grpc-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalopay-oss%2Fjmeter-grpc-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalopay-oss%2Fjmeter-grpc-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalopay-oss%2Fjmeter-grpc-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zalopay-oss","download_url":"https://codeload.github.com/zalopay-oss/jmeter-grpc-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225449610,"owners_count":17476095,"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":["benchmark","grpc","jmeter","jmeter-plugin","load-testing","stress-testing","test-grpc"],"created_at":"2024-08-01T21:01:14.287Z","updated_at":"2024-11-20T00:46:44.196Z","avatar_url":"https://github.com/zalopay-oss.png","language":"Java","funding_links":[],"categories":["Java","Tools","Performance Testing"],"sub_categories":["Testing","RPC Frameworks"],"readme":"# JMeter gRPC Plugin\n\nA JMeter plugin supports load test grpc service.\n\n## Installation\n\n```sh\n$ mvn clean install\n\n$ cp target/jmeter-grpc-client-sampler.jar path/to/jmeter/lib/ext\n```\n\n## Usage\n\n\u003e *Note*: Please read [example](./docs/example/README.md) first if you want to skip the step by step below\n\n**Step 1.** Create a ***.jar** which contains java code generated from  ***.proto** file  and copy to `jmeter/lib/ext`.\n\n*Example:*\n\n```sh\n$ cp hello.proto grpc-lib/src/main/proto/\n\n$ cd grpc-lib \u0026\u0026 mvn package\n\n$ cp target/grpc-lib-0.0.1.jar ../apache-jmeter-5.2/lib/ext/\n```\n\n**Step 2.** Create test plan :\n  *  `TestPlan \u003e Add \u003e Thread (Users) \u003e Thread Group`\n  * `Thread Group \u003e Add \u003e Sampler \u003e GRPC Client Sampler`\n  * Config host, port, package, service... (see [more](docs/description.md))\n  * Save your test plan with name \u003cyour_test_script\u003e.jmx\n\n*Example:* [hello.jmx](./docs/example/hello.jmx)\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"docs/images/create-grpc-sampler.png\"  width=\"95%\"/\u003e\n\u003c/div\u003e\n\n### Run\n\n```sh\n# view all command in jmeter\n$ jmeter/bin/jmeter -h\n\n# run load test\n$ jmeter/bin/jmeter -n -t \u003cyour_test_script\u003e.jmx -l \u003cresult_file\u003e.csv\n\n# generate report\n$ jmeter/bin/jmeter -g \u003cresult_file\u003e.csv -o \u003creport\u003e\n```\n\n### Report\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"docs/images/report-results.png\"  width=\"90%\"/\u003e\n\u003c/div\u003e\n\n\n## Acknowledgements\n\nThanks to @A1Darkwing (Thanh Tran), @anhldbk (Anh Le), @VoxT (Thieu Vo) who dedicated to help me review and refactor the source code of project.\n\nIf you would like to work with the simple request by json, see [jmeter-grpc-request](https://github.com/zalopay-oss/jmeter-grpc-request)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalopay-oss%2Fjmeter-grpc-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzalopay-oss%2Fjmeter-grpc-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalopay-oss%2Fjmeter-grpc-plugin/lists"}