{"id":1631,"date":"2020-09-12T09:59:12","date_gmt":"2020-09-12T09:59:12","guid":{"rendered":"https:\/\/loadfocus.com\/blog\/?p=1631"},"modified":"2020-09-12T09:59:13","modified_gmt":"2020-09-12T09:59:13","slug":"where-to-find-the-configuration-files-for-jmeter-when-installed-with-homebrew","status":"publish","type":"post","link":"https:\/\/loadfocus.com\/blog\/2020\/09\/where-to-find-the-configuration-files-for-jmeter-when-installed-with-homebrew","title":{"rendered":"Where to find the configuration files for JMeter when installed with Homebrew?"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> &lt; 1<\/span> <span class=\"rt-label rt-postfix\">minute read<\/span><\/span><!-- pn-tldr --><h2>Key takeaways<\/h2><ul><li>Homebrew installs JMeter under its own prefix, so the config is not where the docs say.<\/li><li>Use brew &#8211;prefix to locate the install rather than guessing the path.<\/li><li>Edit the properties file there, and remember an upgrade can replace it.<\/li><\/ul><!-- \/pn-tldr -->\n<p class=\"lead\">When you choose to install JMeter using Homebrew you may find yourself a bit lost with JMeter configuration files and ask yourself: &#8220;What is the location of the configuration files now?&#8221;<\/p>\n\n\n\n<p>To make it easy for you to find the folders please see below the mapping for the folders in the <strong>Standard JMeter<\/strong> vs <strong>Homebrew installed JMeter<\/strong> table.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-left\" data-align=\"left\">Configuration item<\/th><th class=\"has-text-align-left\" data-align=\"left\">Standard JMeter<\/th><th class=\"has-text-align-left\" data-align=\"left\">Homebrew installed JMeter<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><em>Configuration\/bin folder<\/em><\/td><td class=\"has-text-align-left\" data-align=\"left\">&lt;jmeter home&gt;\/bin<\/td><td class=\"has-text-align-left\" data-align=\"left\">\/usr\/local\/Cellar\/jmeter\/5.3\/libexec\/bin\/<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><em>Library folder for plugin dependencies<\/em><\/td><td class=\"has-text-align-left\" data-align=\"left\">&lt;jmeter home&gt;\/lib\/ext<\/td><td class=\"has-text-align-left\" data-align=\"left\">\/usr\/local\/Cellar\/jmeter\/5.3\/libexec\/lib\/<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><em>Plugins folder<\/em><\/td><td class=\"has-text-align-left\" data-align=\"left\">&lt;jmeter home&gt;\/lib\/ext<\/td><td class=\"has-text-align-left\" data-align=\"left\">\/usr\/local\/Cellar\/jmeter\/5.3\/libexec\/lib\/ext<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>By using the location from above you will now be able to:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>edit user.properties \/ jmeter.properties file in \u201cConfiguration\/bin folder\u201d<\/li><li>add a dependency to JMeter in \u201cLibrary folder\u201d<\/li><li>add an extra plugin to JMeter in \u201cPlugins folder\u201d<\/li><\/ul>\n\n\n\n<p>Written by <a href=\"https:\/\/coursinator.com\/instructor\/cristian-vazzolla\">Cristian Vazzolla<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/loadfocus.com\/\">LoadFocus<\/a> is cloud Performance, load and stress testing tool which provides the infrastructure and the ability to run all these tests in less than a few minutes, keep history of the results, compare different runs to inspect performance improvements or performance degradation.<\/p>\n<!-- pn-faq --><h2>Frequently Asked Questions<\/h2><h3>Why can I not find jmeter.properties?<\/h3><p>Because Homebrew installs under its own prefix rather than the layout the documentation assumes. The file exists, just not where the docs point.<\/p><h3>How do I locate it?<\/h3><p>Use brew &#8211;prefix to find the install path rather than guessing. Guessing usually leads to editing a file that belongs to a different installation.<\/p><h3>Will my edits survive an upgrade?<\/h3><p>Not necessarily. An upgrade can replace the properties file, so keep a copy of any changes you rely on.<\/p><!-- \/pn-faq --><!-- pn-related-reading --><h2>Related reading<\/h2><ul><li><a href=\"https:\/\/loadfocus.com\/blog\/2020\/09\/how-to-install-jmeter-on-mac\">How to Install JMeter on Mac?<\/a><\/li><li><a href=\"https:\/\/loadfocus.com\/blog\/2016\/04\/how-to-add-jmeter-to-the-path-environment-variable-on-mac-os-x\">Add JMeter to the PATH Variable on Mac OS X<\/a><\/li><li><a href=\"https:\/\/loadfocus.com\/blog\/2020\/09\/how-to-install-extra-plugins-in-jmeter-using-the-plugins-manager\">How to Install Plugins using the JMeter Plugin Manager<\/a><\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> &lt; 1<\/span> <span class=\"rt-label rt-postfix\">minute read<\/span><\/span>Key takeaways Homebrew installs JMeter under its own prefix, so the config is not where the docs say. Use brew &#8211;prefix to locate the install rather than guessing the path. Edit the properties file there, and remember an upgrade can replace it. When you choose to install JMeter using Homebrew you may find yourself a&#8230;  <a href=\"https:\/\/loadfocus.com\/blog\/2020\/09\/where-to-find-the-configuration-files-for-jmeter-when-installed-with-homebrew\" class=\"more-link\" title=\"Read Where to find the configuration files for JMeter when installed with Homebrew?\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1614,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9],"tags":[286,293,123],"class_list":["post-1631","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache-jmeter","category-load-testing","tag-jmeter-configuration","tag-jmeter-installed-by-homebrew","tag-jmeter-load-test"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts\/1631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/comments?post=1631"}],"version-history":[{"count":0,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts\/1631\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/media\/1614"}],"wp:attachment":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/media?parent=1631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/categories?post=1631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/tags?post=1631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}