{"id":6336,"date":"2019-04-16T17:26:12","date_gmt":"2019-04-16T21:26:12","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=6336"},"modified":"2019-04-16T17:26:12","modified_gmt":"2019-04-16T21:26:12","slug":"the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/","title":{"rendered":"The JMeter Plugin Parallel Controller is very helpful for a number of different testing scenarios"},"content":{"rendered":"<p>The JMeter Plugin Parallel Controller is very helpful for a number of different testing scenarios.<\/p>\n<p>For example, if you have to log in to a website and then have to fetch data. You may have created one thread group and created two HTTP requests, one for login and one to fetch data. But you want the login HTTP request to hit one time and data fetching to hit for many virtual users. How will this work if there is one common thread group for both?<\/p>\n<p>If you need to run all requests after login in parallel, you can use the JMeter Plugin\u00a0<a href=\"https:\/\/github.com\/Blazemeter\/jmeter-bzm-plugins\/blob\/master\/parallel\/Parallel.md\">Parallel Controller<\/a> plugin:<\/p>\n<ol>\n<li>Install JMeter Plugin Manager: Download <a href=\"https:\/\/jmeter-plugins.org\/get\/\">plugins-manager.jar<\/a> and put it into lib\/ext directory, then restart JMeter.<\/li>\n<li>Open menu Options -&gt; Plugins Manager<\/li>\n<li>Install Parallel Controller &amp; Sampler plugin.<\/li>\n<li>Add the Parallel Controller to the Test Plan: Right click on Thread Group -&gt; Add -&gt; Logic Controller -&gt; bzm &#8211; Parallel Controller<\/li>\n<li>Add your request samplers inside Parallel Controller.<\/li>\n<\/ol>\n<p>Choose your <a href=\"https:\/\/www.redline13.com\/blog\/2018\/05\/guide-jmeter-thread-groups\/\">Thread Group<\/a> and set the number of threads (users) and loop count.<\/p>\n<p>Each thread will execute the test plan in its entirety and completely independently of other test threads. Multiple threads are used to simulate concurrent connections to your server application.<\/p>\n<p>So, if you want to run login sampler just once, set:<\/p>\n<ul>\n<li>Number of Threads (users) to 1<\/li>\n<li>Loop Count to 1<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6337\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/number-of-threads-users.png\" alt=\"Thread Group and the JMeter Plugin Parallel Controller\" width=\"967\" height=\"549\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/number-of-threads-users.png 967w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/number-of-threads-users-300x170.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/number-of-threads-users-768x436.png 768w\" sizes=\"auto, (max-width: 967px) 100vw, 967px\" \/><\/p>\n<p>There are also different types of Thread Groups. Check the <a href=\"https:\/\/jmeter.apache.org\/usermanual\/component_reference.html#Thread_Group\">official documentation<\/a> for more information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The JMeter Plugin Parallel Controller is very helpful for a number of different testing scenarios. For example, if you have to log in to a website and then have to fetch data. You may have created one thread group and created two HTTP requests, one for login and one to fetch data. But you want the login HTTP request to hit one time and data fetching to hit for many virtual users. How will this work<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4171,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,7],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-user","4":"post-6336","6":"format-standard","7":"has-post-thumbnail","8":"category-blog","9":"category-jmeter"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The JMeter Plugin Parallel Controller is a big help - RedLine13<\/title>\n<meta name=\"description\" content=\"The JMeter Plugin Parallel Controller helps in different testing scenarios. For example, if you need to run all requests after login in parallel.\" \/>\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.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The JMeter Plugin Parallel Controller is a big help - RedLine13\" \/>\n<meta property=\"og:description\" content=\"The JMeter Plugin Parallel Controller helps in different testing scenarios. For example, if you need to run all requests after login in parallel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-16T21:26:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2017\/02\/apache-jmeter-redline13-load-testing.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"611\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"RedLine13\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"RedLine13\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/\"},\"author\":{\"name\":\"RedLine13\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\"},\"headline\":\"The JMeter Plugin Parallel Controller is very helpful for a number of different testing scenarios\",\"datePublished\":\"2019-04-16T21:26:12+00:00\",\"dateModified\":\"2019-04-16T21:26:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/\"},\"wordCount\":260,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"articleSection\":[\"Blog\",\"JMeter\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/\",\"name\":\"The JMeter Plugin Parallel Controller is a big help - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2019-04-16T21:26:12+00:00\",\"dateModified\":\"2019-04-16T21:26:12+00:00\",\"description\":\"The JMeter Plugin Parallel Controller helps in different testing scenarios. For example, if you need to run all requests after login in parallel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The JMeter Plugin Parallel Controller is very helpful for a number of different testing scenarios\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"name\":\"RedLine13\",\"description\":\"(Almost) Free Load Testing in the Cloud\",\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.redline13.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\",\"name\":\"RedLine13\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"contentUrl\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"width\":300,\"height\":68,\"caption\":\"RedLine13\"},\"image\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\",\"name\":\"RedLine13\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g\",\"caption\":\"RedLine13\"},\"sameAs\":[\"http:\/\/127.0.0.1\"],\"url\":\"https:\/\/www.redline13.com\/blog\/author\/user\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The JMeter Plugin Parallel Controller is a big help - RedLine13","description":"The JMeter Plugin Parallel Controller helps in different testing scenarios. For example, if you need to run all requests after login in parallel.","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.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/","og_locale":"en_US","og_type":"article","og_title":"The JMeter Plugin Parallel Controller is a big help - RedLine13","og_description":"The JMeter Plugin Parallel Controller helps in different testing scenarios. For example, if you need to run all requests after login in parallel.","og_url":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/","og_site_name":"RedLine13","article_published_time":"2019-04-16T21:26:12+00:00","og_image":[{"width":1000,"height":611,"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2017\/02\/apache-jmeter-redline13-load-testing.png","type":"image\/png"}],"author":"RedLine13","twitter_card":"summary_large_image","twitter_misc":{"Written by":"RedLine13","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/"},"author":{"name":"RedLine13","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28"},"headline":"The JMeter Plugin Parallel Controller is very helpful for a number of different testing scenarios","datePublished":"2019-04-16T21:26:12+00:00","dateModified":"2019-04-16T21:26:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/"},"wordCount":260,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"articleSection":["Blog","JMeter"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/","url":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/","name":"The JMeter Plugin Parallel Controller is a big help - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2019-04-16T21:26:12+00:00","dateModified":"2019-04-16T21:26:12+00:00","description":"The JMeter Plugin Parallel Controller helps in different testing scenarios. For example, if you need to run all requests after login in parallel.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2019\/04\/the-jmeter-plugin-parallel-controller-is-very-helpful-for-a-number-of-different-testing-scenarios\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The JMeter Plugin Parallel Controller is very helpful for a number of different testing scenarios"}]},{"@type":"WebSite","@id":"https:\/\/www.redline13.com\/blog\/#website","url":"https:\/\/www.redline13.com\/blog\/","name":"RedLine13","description":"(Almost) Free Load Testing in the Cloud","publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.redline13.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.redline13.com\/blog\/#organization","name":"RedLine13","url":"https:\/\/www.redline13.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","contentUrl":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","width":300,"height":68,"caption":"RedLine13"},"image":{"@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28","name":"RedLine13","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g","caption":"RedLine13"},"sameAs":["http:\/\/127.0.0.1"],"url":"https:\/\/www.redline13.com\/blog\/author\/user\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/6336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=6336"}],"version-history":[{"count":0,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/6336\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media\/4171"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=6336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=6336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=6336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}