{"id":18543,"date":"2024-03-15T17:10:58","date_gmt":"2024-03-15T17:10:58","guid":{"rendered":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/"},"modified":"2024-03-21T13:33:32","modified_gmt":"2024-03-21T13:33:32","slug":"how-to-configure-remote-startup-in-jmeter","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/","title":{"rendered":"How to configure remote startup in JMeter"},"content":{"rendered":"<p>To set up JMeter for remote testing, the following steps are required:<\/p>\n<p>Install JMeter on the host: Make sure the latest version of JMeter is already installed on the host. You can download and install JMeter from the official website (https:\/\/jmeter.apache.org\/download_jmeter.cgi).<\/p>\n<p>2. Setup the host: Configure the environment variables for JMeter on the host by adding the JMeter bin directory to the PATH environment variable on the host.<\/p>\n<p>3. Configure the slave: Set up JMeter&#8217;s environment variables on the slave by adding the JMeter bin directory to the PATH environment variable.<\/p>\n<p>4. To start the JMeter Server on the slave machine, open the command line interface, navigate to the bin directory of the JMeter installation directory on the slave machine, and then execute the following command.<\/p>\n<pre class=\"post-pre\"><code>jmeter-server\r\n<\/code><\/pre>\n<p>If you need to start the JMeter Server with a specific port number, you can use the following command:<\/p>\n<pre class=\"post-pre\"><code>jmeter-server -Dserver_port=&lt;port_number&gt;\r\n<\/code><\/pre>\n<p>For example, to start the JMeter Server using port number 9000, you can run the following command:<\/p>\n<pre class=\"post-pre\"><code>jmeter-server -Dserver_port=9000\r\n<\/code><\/pre>\n<p>Start JMeter on the host: Open the command line interface and navigate to the bin directory of the JMeter installation on the host.<\/p>\n<p>6. Set up the remote host by editing the jmeter.properties file on the host. Locate the following two lines and uncomment them.<\/p>\n<pre class=\"post-pre\"><code>remote_hosts=127.0.0.1:1099\r\nclient.rmi.localport=0\r\n<\/code><\/pre>\n<p>The remote_hosts line specifies the IP address and port number of the slave machines, while the client.rmi.localport line specifies the local port number used by JMeter on the host machine.<\/p>\n<p>If there are multiple slaves, their IP addresses and port numbers can be separated by commas.<\/p>\n<p>7. Start remote testing: To initiate remote testing, run the following command on the host machine:<\/p>\n<pre class=\"post-pre\"><code>jmeter -n -t &lt;test_script.jmx&gt; -r\r\n<\/code><\/pre>\n<p>test_script.jmx is the file name of the test script to be executed.<\/p>\n<p>The flag &#8220;n&#8221; indicates running JMeter in non-GUI mode, the flag &#8220;t&#8221; specifies the test script to be run, and the flag &#8220;r&#8221; indicates starting a remote test.<\/p>\n<p>If a specific port number is assigned to the server, you can use the following command:<\/p>\n<pre class=\"post-pre\"><code>jmeter -n -t &lt;test_script.jmx&gt; -r -Dserver_port=&lt;port_number&gt;\r\n<\/code><\/pre>\n<p>For example, to start remote testing using port 9000, you can run the following command:<\/p>\n<pre class=\"post-pre\"><code>jmeter -n -t &lt;test_script.jmx&gt; -r -Dserver_port=9000\r\n<\/code><\/pre>\n<p>This allows for configuring and starting remote testing in JMeter. The slave machines will receive the test requests sent from the master machine and execute corresponding test scripts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To set up JMeter for remote testing, the following steps are required: Install JMeter on the host: Make sure the latest version of JMeter is already installed on the host. You can download and install JMeter from the official website (https:\/\/jmeter.apache.org\/download_jmeter.cgi). 2. Setup the host: Configure the environment variables for JMeter on the host by [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-18543","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to configure remote startup in JMeter - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure remote startup in JMeter\" \/>\n<meta property=\"og:description\" content=\"To set up JMeter for remote testing, the following steps are required: Install JMeter on the host: Make sure the latest version of JMeter is already installed on the host. You can download and install JMeter from the official website (https:\/\/jmeter.apache.org\/download_jmeter.cgi). 2. Setup the host: Configure the environment variables for JMeter on the host by [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-15T17:10:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-21T13:33:32+00:00\" \/>\n<meta name=\"author\" content=\"Ava Mitchell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:site\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ava Mitchell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/\"},\"author\":{\"name\":\"Ava Mitchell\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/a3e2658c2cb9fb2be95ae0a8861f4a64\"},\"headline\":\"How to configure remote startup in JMeter\",\"datePublished\":\"2024-03-15T17:10:58+00:00\",\"dateModified\":\"2024-03-21T13:33:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/\"},\"wordCount\":381,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/\",\"name\":\"How to configure remote startup in JMeter - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\"},\"datePublished\":\"2024-03-15T17:10:58+00:00\",\"dateModified\":\"2024-03-21T13:33:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.silicloud.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure remote startup in JMeter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"name\":\"Silicon Cloud Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\",\"name\":\"Silicon Cloud Blog\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"contentUrl\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"width\":1024,\"height\":1024,\"caption\":\"Silicon Cloud Blog\"},\"image\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\",\"https:\/\/twitter.com\/SiliCloudGlobal\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/a3e2658c2cb9fb2be95ae0a8861f4a64\",\"name\":\"Ava Mitchell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/15c63cd0564b4a2e07d611bcdffa296f6ea80e8db07c3091f43a84010514899d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/15c63cd0564b4a2e07d611bcdffa296f6ea80e8db07c3091f43a84010514899d?s=96&d=mm&r=g\",\"caption\":\"Ava Mitchell\"},\"url\":\"https:\/\/www.silicloud.com\/blog\/author\/avamitchell\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to configure remote startup in JMeter - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/","og_locale":"en_US","og_type":"article","og_title":"How to configure remote startup in JMeter","og_description":"To set up JMeter for remote testing, the following steps are required: Install JMeter on the host: Make sure the latest version of JMeter is already installed on the host. You can download and install JMeter from the official website (https:\/\/jmeter.apache.org\/download_jmeter.cgi). 2. Setup the host: Configure the environment variables for JMeter on the host by [&hellip;]","og_url":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/","og_site_name":"Blog - Silicon Cloud","article_publisher":"https:\/\/www.facebook.com\/SiliCloudGlobal\/","article_published_time":"2024-03-15T17:10:58+00:00","article_modified_time":"2024-03-21T13:33:32+00:00","author":"Ava Mitchell","twitter_card":"summary_large_image","twitter_creator":"@SiliCloudGlobal","twitter_site":"@SiliCloudGlobal","twitter_misc":{"Written by":"Ava Mitchell","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/#article","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/"},"author":{"name":"Ava Mitchell","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/a3e2658c2cb9fb2be95ae0a8861f4a64"},"headline":"How to configure remote startup in JMeter","datePublished":"2024-03-15T17:10:58+00:00","dateModified":"2024-03-21T13:33:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/"},"wordCount":381,"commentCount":0,"publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/","url":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/","name":"How to configure remote startup in JMeter - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/#website"},"datePublished":"2024-03-15T17:10:58+00:00","dateModified":"2024-03-21T13:33:32+00:00","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/blog\/how-to-configure-remote-startup-in-jmeter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.silicloud.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to configure remote startup in JMeter"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/blog\/#website","url":"https:\/\/www.silicloud.com\/blog\/","name":"Silicon Cloud Blog","description":"","publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.silicloud.com\/blog\/#organization","name":"Silicon Cloud Blog","url":"https:\/\/www.silicloud.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","contentUrl":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","width":1024,"height":1024,"caption":"Silicon Cloud Blog"},"image":{"@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SiliCloudGlobal\/","https:\/\/twitter.com\/SiliCloudGlobal"]},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/a3e2658c2cb9fb2be95ae0a8861f4a64","name":"Ava Mitchell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/15c63cd0564b4a2e07d611bcdffa296f6ea80e8db07c3091f43a84010514899d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/15c63cd0564b4a2e07d611bcdffa296f6ea80e8db07c3091f43a84010514899d?s=96&d=mm&r=g","caption":"Ava Mitchell"},"url":"https:\/\/www.silicloud.com\/blog\/author\/avamitchell\/"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/18543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/comments?post=18543"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/18543\/revisions"}],"predecessor-version":[{"id":52231,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/18543\/revisions\/52231"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/media?parent=18543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/categories?post=18543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/tags?post=18543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}