{"id":24580057,"url":"https://github.com/vdaburon/elastic-apm-jmeter-plugin","last_synced_at":"2026-05-14T23:11:22.060Z","repository":{"id":219791340,"uuid":"749938251","full_name":"vdaburon/elastic-apm-jmeter-plugin","owner":"vdaburon","description":"A JMeter plugin to integrate the Elastic APM into JMeter script","archived":false,"fork":false,"pushed_at":"2025-01-14T13:12:04.000Z","size":229,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T15:17:15.763Z","etag":null,"topics":["apm","elastic-apm","elasticsearch","elasticsearch-apm","jmeter","jmeter-plugin","jmeter-plugins","monitoringx"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"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/vdaburon.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-29T17:30:09.000Z","updated_at":"2025-01-14T13:07:14.000Z","dependencies_parsed_at":"2025-01-14T14:22:07.884Z","dependency_job_id":"5cd4a261-e3af-4f13-b841-a12d6de66089","html_url":"https://github.com/vdaburon/elastic-apm-jmeter-plugin","commit_stats":null,"previous_names":["vdaburon/elastic-apm-jmeter-plugin"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vdaburon/elastic-apm-jmeter-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdaburon%2Felastic-apm-jmeter-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdaburon%2Felastic-apm-jmeter-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdaburon%2Felastic-apm-jmeter-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdaburon%2Felastic-apm-jmeter-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdaburon","download_url":"https://codeload.github.com/vdaburon/elastic-apm-jmeter-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdaburon%2Felastic-apm-jmeter-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274002301,"owners_count":25205412,"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-09-07T02:00:09.463Z","response_time":67,"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":["apm","elastic-apm","elasticsearch","elasticsearch-apm","jmeter","jmeter-plugin","jmeter-plugins","monitoringx"],"created_at":"2025-01-24T01:32:24.238Z","updated_at":"2026-05-14T23:11:17.032Z","avatar_url":"https://github.com/vdaburon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/vdaburon/elastic-apm-jmeter-plugin/blob/main/doc/elasticapmjmplugin_logo.png\" alt=\"elastic apm jmeter logo\"/\u003e\n\n  \u003cp align=\"center\"\u003eApache JMeter tool plugin to Manage the integration of Elastic Application Performance Monitoring in a JMeter script.\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/vdaburon/elastic-apm-jmeter-plugin\"\u003eLink to github project elastic-apm-jmeter-plugin\u003c/a\u003e\u003c/p\u003e\n\u003c/p\u003e\n\n# Apache JMeter tool plugin to manage the Elastic Application Performance Monitoring (ELASTIC APM) in JMeter script\n\nAn article \"Why and How To Integrate Elastic APM in Apache JMeter\" about this plugin and some advices: \u003cbr/\u003e\nhttps://dzone.com/articles/integrating-elastic-apm-in-apache-jmeter\n\n## GUI interface in the JMeter Tools Menu\nThis tool is present in the Menu Tools \u003e vdn@github - ELASTIC APM Integration Tool\n\n![Menu Tools](doc/images/jmeter_menu_tools_with_elastic_apm.png)\n\nWhen you click and the menu line \"ELASTIC APM Integration Tool\", the tool GUI is display\n\n![Menu Tools](doc/images/elastic_apm_integration_tool_gui.png)\n\n### Parameters\nParameters are :\n* file_in the JMeter script to read\n* file_out the file result, if the text field is empty then the file_out is the file name of file_in without the extension with suffix \"_modif.jmx\" \u003cbr/\u003e\n  e.g. file_in = script1.jmx, file_out is empty then file_out will be script1_modif.jmx\n* action = ADD or REMOVE, \n  * ADD = Add \"User Defined Variables for ELASTIC APM\" and add \"JSR223 groovy api apm call\"\n  * REMOVE = remove \"User Defined Variables for ELASTIC APM\" and remove \"JSR223 groovy api apm call\", the script will be as before action ADD\n* regex the regular expression matches the \"Transaction Controller\" label, if the label doesn't match the regular expression then **NO** \"JSR223 groovy api apm\" surround the \"Transaction Controller\"\n  * default all = .* (this regular expression matches all labels)\n  * e.g. regex = SC\\d+_P.+ matches labels \"SC01_P01_LOGIN\" or \"SC20_P12B_LOGOUT\" or SC01_P01_LOGIN|SC02_P02_FIND|SC02_P012_LOGOUT for some Transaction Controllers\n\nButton \"MODIFY SCRIPT\", this button launch the tool with parameters.\u003cbr/\u003e\nButton \"MODIFY SCRIPT AND LOAD NEW SCRIPT\", this button launch the tool with parameters and next if no error LOAD the generated script in the current JMeter.\n\nStatus, the status line contains the tool status or the tool result.\n\ne.g. : Status Results **OK**\n* Tool ELASTIC APM Integration Finished OK, ACTION = ADD, fileOut=C:\\Temp\\script1_add.jmx\n* Tool ELASTIC APM Integration Finished OK, ACTION = REMOVE, fileOut=C:\\Temp\\script1_add_modif.jmx\n\ne.g. : Status Results **KO**\n* Tool ELASTIC APM Integration Finished KO, CAN'T READ jmx fileIn = C:\\Temp\\script1zzzz.jmx\n* Tool ELASTIC APM Integration Finished KO, exception = java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 1 .*)\n* Tool ELASTIC APM Integration Finished KO, CAN'T CREATE or jmx file doesn't exist (look in the log file), fileOut  = c:\\toto (in log file : java.io.FileNotFoundException: c:\\toto (Access denied)\n  )\n\n## More documentation from jmeter-elastic-apm project\nFor more documentation (Architecture schema, kibana APM dashboard,  JMeter script modified ...) look at README from [jmeter-elastic-apm](https://github.com/vdaburon/jmeter-elastic-apm)\n\n## Command line tool (CLI)\nThis tool could be use with script shell Windows or Linux.\n\nScripts shell are in \u0026lt;JMETER_HOME\u0026gt;/bin\n* elastic-apm-integrate.cmd for Windows OS\n* elastic-apm-integrate.sh for Linux/Mac OS\n\nHelp to see all parameters :\n\n\u003cpre\u003e\nC:\\apache-jmeter\\bin\u0026gt;elastic-apm-integrate.cmd -help\nusage: io.gihub.vdaburon.jmeter.elasticapmxml.ElasticApmJMeterManager -action \u0026lt;action\u0026gt; [-extract_end \u0026lt;extract_end\u0026gt;]\n       [-extract_start \u0026lt;extract_start\u0026gt;] [-extract_udv \u0026lt;extract_udv\u0026gt;] -file_in \u0026lt;file_in\u0026gt; -file_out \u0026lt;file_out\u0026gt; [-help]\n       [-regex \u0026lt;regex\u0026gt;]\nio.soprasteria.vdaburon.jmeter.elasticapmxml.ElasticApmJMeterManager\n -action \u0026lt;action\u0026gt;                 action ADD or REMOVE, ADD : add groovy api call and REMOVE : remove groovy api call\n -extract_end \u0026lt;extract_end\u0026gt;       optional, file contains groovy end call api (e.g : extract_end.xml), default read file\n                                  in the jar\n -extract_start \u0026lt;extract_start\u0026gt;   optional, file contains groovy start call api (e.g : extract_start.xml), default read\n                                  file in the jar\n -extract_udv \u0026lt;extract_udv\u0026gt;       optional, file contains User Defined Variables (e.g : extract_udv.xml), default read\n                                  file in the jar\n -file_in \u0026lt;file_in\u0026gt;               JMeter file to read (e.g : script.jmx)\n -file_out \u0026lt;file_out\u0026gt;             JMeter file modified to write (e.g : script_add.jmx)\n -help                            Help and show parameters\n -regex \u0026lt;regex\u0026gt;                   regular expression matches Transaction Controller Label (default .*) (e.g : SC[0-9]+_.\n                                  for SC01_P01_HOME or SC09_P12_LOGOUT)\nE.g : java -jar elastic-apm-jmeter-xml-\u0026lt;version\u0026gt;-jar-with-dependencies.jar -file_in script1.jmx -file_out script1_add.jmx\n-action ADD -regex SC.*\nE.g : java -jar elastic-apm-jmeter-xml-\u0026lt;version\u0026gt;-jar-with-dependencies.jar -file_in script1_add.jmx -file_out\nscript1_remove.jmx -action REMOVE -regex .*\n\u003c/pre\u003e\n\ne.g. action = ADD :\n\u003cpre\u003e\nC:\\apache-jmeter\\bin\u003eelastic-apm-integrate.cmd -file_in C:\\temp\\script1.jmx -file_out C:\\temp\\script1_add_cli.jmx -action ADD -regex SC.*\n\u003c/pre\u003e\n\ne.g. action = REMOVE :\n\u003cpre\u003e\n/var/opt/apache-jmeter/bin\u003eelastic-apm-integrate.sh -file_in /tmp/script1_add.jmx -file_out /tmp/script1_remove_cli.jmx -action REMOVE\n\u003c/pre\u003e\n\n## Tool installed with jmeter-plugins-manager\nThis tool could be installed with the jmeter-plugins-manager from jmeter.plugins.org.\u003cbr\u003e\nThe tool name is : \"vdn@github - elastic-apm-tool\"\n\n## Usage Maven\nThe maven groupId, artifactId and version, this plugin is in the **Maven Central Repository** [![Maven Central elastic-apm-jmeter-plugin](https://maven-badges.herokuapp.com/maven-central/io.github.vdaburon/elastic-apm-jmeter-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.vdaburon/elastic-apm-jmeter-plugin)\n\n```xml\n\u003cgroupId\u003eio.github.vdaburon\u003c/groupId\u003e\n\u003cartifactId\u003eelastic-apm-jmeter-plugin\u003c/artifactId\u003e\n\u003cversion\u003e2.0\u003c/version\u003e\n```\n## Versions\nVersion 2.0 2025-01-14, Choose only a jmx file not a directory and add button \"MODIFY SCRIPT AND LOAD NEW SCRIPT\"\n\nversion 1.0  2024-02-06, First release\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdaburon%2Felastic-apm-jmeter-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdaburon%2Felastic-apm-jmeter-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdaburon%2Felastic-apm-jmeter-plugin/lists"}