{"id":35658953,"url":"https://github.com/sbernard31/benchmark-clients","last_synced_at":"2026-01-05T16:02:16.974Z","repository":{"id":47443943,"uuid":"142992767","full_name":"sbernard31/benchmark-clients","owner":"sbernard31","description":"Command line tool base on https://www.eclipse.org/leshan/ to simulate a fleet of clients","archived":false,"fork":false,"pushed_at":"2023-01-16T10:26:57.000Z","size":79,"stargazers_count":15,"open_issues_count":5,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-14T00:41:30.912Z","etag":null,"topics":["java","lwm2m","lwm2m-client","simulator"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbernard31.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-31T09:29:35.000Z","updated_at":"2023-04-22T13:27:07.000Z","dependencies_parsed_at":"2023-02-10T02:30:37.462Z","dependency_job_id":null,"html_url":"https://github.com/sbernard31/benchmark-clients","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/sbernard31/benchmark-clients","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbernard31%2Fbenchmark-clients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbernard31%2Fbenchmark-clients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbernard31%2Fbenchmark-clients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbernard31%2Fbenchmark-clients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbernard31","download_url":"https://codeload.github.com/sbernard31/benchmark-clients/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbernard31%2Fbenchmark-clients/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28217519,"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","status":"online","status_checked_at":"2026-01-05T02:00:06.358Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["java","lwm2m","lwm2m-client","simulator"],"created_at":"2026-01-05T16:01:04.533Z","updated_at":"2026-01-05T16:02:16.957Z","avatar_url":"https://github.com/sbernard31.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# benchmark-clients\nA Command line tool base on https://www.eclipse.org/leshan/ to simulate a fleet of LWM2M clients.\n\nGet the [last version of benchmark-clients-*.jar](https://github.com/sbernard31/benchmark-clients/releases/latest/).\n\nTo launch it : \n```  \n`java -jar benchmark-clients-*.jar -u coap://leshan.eclipseprojects.io`\n```\n**(Please :pray:! Do not use this tool to kill(Dos) the leshan sandbox :sweat_smile:**)\n\nHere is the command option :\n\n```\nUsage: leshan-clients-launcher [[-g] [--graphite-url=\u003cserverAddress\u003e]\n                               [--graphite-polling-period=\u003cpollingPeriodInSec\u003e]]\n                                [-bfhrV] [-c=\u003ccommunicationPeriodInSeconds\u003e]\n                               [-d=\u003cdurationInSeconds\u003e] [-e=\u003cendpointPattern\u003e]\n                               [-i=\u003cpskIdPattern\u003e] [-k=\u003cpskKeyPattern\u003e]\n                               [-n=\u003cnbClients\u003e] [-s=\u003cstartTime\u003e] -u=\u003cserverURL\u003e\n                               [-a=\u003cString=String\u003e]...\nLaunch several LWM2M clients. CoAP and CoAPs with PSK is supported\n  -u, --server-url=\u003cserverURL\u003e\n                          URL of the LWM2M Server or LWM2M bootstrap server if\n                            -b option is used, e.g: coap://localhost:5683. Use\n                            coaps to use PSK.\n  -n, --number-of-client=\u003cnbClients\u003e\n                          Number of clients to simulate.\n                          Default: 1 client.\n  -s, --start-time=\u003cstartTime\u003e\n                          Time to start all clients in seconds.\n                          Default: number-of-client*3 seconds.\n  -c, --communication-period=\u003ccommunicationPeriodInSeconds\u003e\n                          Number of time between 2 update requests in seconds.\n                          Default: 60 seconds.\n  -b, --bootstrap         Use this option to bootstrap instead of register.\n  -r, --reconnect-on-update\n                          Try to resume connection when it's possible.\n  -f, --no-resume         Do not try to resume session always do a full\n                            handshake.\n  -d, --duration=\u003cdurationInSeconds\u003e\n                          Duration of the simulation in seconds.\n                          Default: no limit.\n  -e, --endpoint-pattern=\u003cendpointPattern\u003e\n                          A String.format pattern used to create the client\n                            endpoint name from this index number.\n                          Default: LESHAN%08d.\n  -i, --pskid-pattern=\u003cpskIdPattern\u003e\n                          A String.format pattern used to create the psk\n                            identity from this index number.\n                          Default: use --endpoint-pattern.\n  -k, --pskkey-pattern=\u003cpskKeyPattern\u003e\n                          A String.format pattern used to create the psk\n                            identity from this index number. Value must be an\n                            Hexadecimal String.\n                          Default 1234567890ABCDEF%08X\n  -a, --additional-attributes=\u003cString=String\u003e\n                          Additional attribute use at registration.\n  -g, --graphite-report   Report to graphite server.\n      --graphite-url=\u003cserverAddress\u003e\n                          Url of graphite server.\n                          Default: \"localhost/127.0.0.1:2003\".\n      --graphite-polling-period=\u003cpollingPeriodInSec\u003e\n                          Polling period to push data to graphite in seconds.\n                          Default: 5 seconds.\n  -h, --help              Show this help message and exit.\n  -V, --version           Print version information and exit.\n\n```\n\nYou can report stats on [graphite](https://graphiteapp.org/).  \nUsing the ugly default UI, this looks like this :  \n![graphite_leshan](https://user-images.githubusercontent.com/840294/76007822-f6062480-5f0e-11ea-9ea7-9ec0416be492.png)\n\nTo build it :\n\n```\nmvn clean install\n```\nthen run it :\n\n```\njava -jar target/benchmark-clients-*-SNAPSHOT-jar-with-dependencies.jar -u coap://leshan.eclipseprojects.io\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbernard31%2Fbenchmark-clients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbernard31%2Fbenchmark-clients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbernard31%2Fbenchmark-clients/lists"}