{"id":13650895,"url":"https://github.com/anasoid/jmeter-as-code","last_synced_at":"2025-10-10T08:15:38.815Z","repository":{"id":37905396,"uuid":"295720674","full_name":"anasoid/jmeter-as-code","owner":"anasoid","description":"Jmeter as code is the easy way to write jmeter test as code.","archived":false,"fork":false,"pushed_at":"2025-09-23T10:47:58.000Z","size":2395,"stargazers_count":39,"open_issues_count":7,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-23T12:32:43.081Z","etag":null,"topics":["code","dsl","java","jmeter","jmx","performance","performance-testing"],"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/anasoid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-15T12:26:40.000Z","updated_at":"2025-09-23T10:47:18.000Z","dependencies_parsed_at":"2022-07-09T17:17:57.917Z","dependency_job_id":"4dbf19be-9f45-4263-ae55-4e1e8c81c597","html_url":"https://github.com/anasoid/jmeter-as-code","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/anasoid/jmeter-as-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasoid%2Fjmeter-as-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasoid%2Fjmeter-as-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasoid%2Fjmeter-as-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasoid%2Fjmeter-as-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anasoid","download_url":"https://codeload.github.com/anasoid/jmeter-as-code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasoid%2Fjmeter-as-code/sbom","scorecard":{"id":191321,"data":{"date":"2025-08-11","repo":{"name":"github.com/anasoid/jmeter-as-code","commit":"70cbd7d72375943a9e9b9090fedb1ec39e933913"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6,"checks":[{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 15 changesets","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":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/audit.yml:1","Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/snapshot.yml:1","Info: no jobLevel write permissions found"],"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":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:89: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:106: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/snapshot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/snapshot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/snapshot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/snapshot.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/snapshot.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/snapshot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/anasoid/jmeter-as-code/snapshot.yml/master?enable=pin","Info:   0 out of  24 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) 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-16T20:44:19.030Z","repository_id":37905396,"created_at":"2025-08-16T20:44:19.030Z","updated_at":"2025-08-16T20:44:19.030Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003303,"owners_count":26083555,"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":"2025-10-10T02:00:06.843Z","response_time":62,"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":["code","dsl","java","jmeter","jmx","performance","performance-testing"],"created_at":"2024-08-02T02:00:42.220Z","updated_at":"2025-10-10T08:15:38.796Z","avatar_url":"https://github.com/anasoid.png","language":"Java","funding_links":[],"categories":["Automation"],"sub_categories":["DSL"],"readme":"# Write Jmeter tests as code.\n\nAn API that give access to full Jmeter feature as code, All designed object in GUI can be written as code.\n\n![Build \u0026 Test](https://github.com/anasoid/jmeter-as-code/actions/workflows/main.yml/badge.svg)\n![Audit](https://github.com/anasoid/jmeter-as-code/actions/workflows/audit.yml/badge.svg)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=anasoid_jmeter-as-code\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=anasoid_jmeter-as-code)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=anasoid_jmeter-as-code\u0026metric=ncloc)](https://sonarcloud.io/dashboard?id=anasoid_jmeter-as-code)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=anasoid_jmeter-as-code\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=anasoid_jmeter-as-code)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=anasoid_jmeter-as-code\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=anasoid_jmeter-as-code)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=anasoid_jmeter-as-code\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=anasoid_jmeter-as-code)\n\n![Maven Central](https://img.shields.io/maven-central/v/org.anasoid.jmc/jmc-core)\n[![javadoc](https://javadoc.io/badge2/org.anasoid.jmc/jmc-core/javadoc.svg)](https://javadoc.io/doc/org.anasoid.jmc/jmc-core)\n\n## Where to start\n\nIf you are new with **Jmeter as code**, try [examples project](https://github.com/anasoid/jmc-examples)  and see [documentation website](https://jmc.anasoid.org).\n\n###### A basic script example:\n\n````java\n    TestPlanWrapper testPlan = TestPlanWrapper.builder()\n        .addThread(ThreadGroupWrapper.builder()\n            .addSampler(\n                HTTPSamplerProxyWrapper.builder()\n                    .withName(\"Home\")\n                    .withDomain(\"https://github.com\")\n                    .withProtocol(\"https\")\n                    .withPath(\"/anasoid\")\n                    .build())\n            .build())\n        .build();\n\n            \n  ApplicationTest applicationTest = new ApplicationTest(testPlanWrapper);\n \n  applicationTest.run();\n  //OR\n  applicationTest.toJmx(new File(\"mytest.jmx\"));\n````\n\n###### A basic script example using template:\n````java\n    TestPlanWrapper testPlan = TestPlanWrapper.builder()\n        .addThread(ThreadGroupWrapper.builder()\n            .addSampler(new HomePage())\n            .build())\n        .build();\n\n    ApplicationTest applicationTest = new ApplicationTest(testPlanWrapper);\n\n    applicationTest.run();\n    //OR\n    applicationTest.toJmx(new File(\"mytest.jmx\"));\n    \nclass HomePage extends\n    AbstractJmcTemplate\u003cHTTPSamplerProxyWrapper, HTTPSamplerProxyWrapperBuilder\u003c?, ?\u003e\u003e {\n\n  @Override\n  protected void prepareBuilder(HTTPSamplerProxyWrapperBuilder\u003c?, ?\u003e builder) {\n    super.prepareBuilder(builder);\n    builder.withName(\"Home\")\n        .withDomain(\"https://github.com\")\n        .withProtocol(\"https\")\n        .withPath(\"/anasoid\");\n  }\n\n  @Override\n  protected JmcWrapperBuilder\u003c?\u003e init() {\n    return HTTPSamplerProxyWrapper.builder();\n  }\n}\n\n            \n\n  \n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanasoid%2Fjmeter-as-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanasoid%2Fjmeter-as-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanasoid%2Fjmeter-as-code/lists"}