{"id":504,"date":"2019-12-04T15:50:58","date_gmt":"2019-12-04T10:20:58","guid":{"rendered":"http:\/\/http:\/\/artoftesting.com\/\/?p=504"},"modified":"2020-01-07T12:58:15","modified_gmt":"2020-01-07T07:28:15","slug":"correlation","status":"publish","type":"post","link":"https:\/\/artoftesting.com\/correlation","title":{"rendered":"Correlation in JMeter"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-flat ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">Content<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/artoftesting.com\/correlation\/#What_is_correlation_and_why_it_is_required\" title=\"What is correlation and why it is required?\">What is correlation and why it is required?<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/artoftesting.com\/correlation\/#A_brief_insight_to_regular_expressions\" title=\"A brief insight to regular expressions\">A brief insight to regular expressions<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/artoftesting.com\/correlation\/#Regular_Expression_Extractor\" title=\"Regular Expression Extractor\">Regular Expression Extractor<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_correlation_and_why_it_is_required\"><\/span>What is correlation and why it is required?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Correlation is the most important aspect of scripting. It usually includes fetching dynamic data from preceding requests\/calls and posting it to the subsequent requests.<br>Let&#8217;s take an example to find out why exactly we need correlation. Suppose we have recorded a scenario in which-<br>-&gt;User enters login details and click OK button<br>-&gt;Home page opens and user take further actions<br><br>Now, if we just playback this script, the test will fail even for a single user. This is because of the authentication mechanism used. When we login to a website, session variables are dynamically created. These session variables are passed to the subsequent requests and help validation &amp; authentication of the actions performed. So, one cannot just record and playback the requests having these variables. Here, we need to correlate the web requests with the dynamic variables. And for correlation, we need to use the &#8220;Regular Expression Extractor&#8221; which makes use of regular expressions. So, before going deep into Correlation, let&#8217;s first understand &#8220;Regular Expressions&#8221;.<br><br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"A_brief_insight_to_regular_expressions\"><\/span>A brief insight to regular expressions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Regular expressions are used to fetch data from a string based on a search pattern. Basically, in order to extract any value (generally a dynamically created value) from a string response, we define a left bound of the variable then some wildcard characters and then a right bound-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>(Left Bound)(Wildcard Characters)(Right Bound)<\/strong><\/pre>\n\n\n\n<p>E.g. if we have text response like-<em>&#8230;__EVENTVALIDATION&#8221;value=&#8221;weriudflsdfspdfusdjhsdihffgdfgpdfjsdjfpj&#8221; \/&gt;&#8230;<\/em><br><\/p>\n\n\n\n<p>And we need to extract the value of Event validation variable using regular expressions; the regular expression for the same will be-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>__EVENTVALIDATION\" value=\"(.+?)\" \/&gt;<\/strong>\n where, Left Bound = __EVENTVALIDATION\" value=\"\n Wildcard characters = (.+?)\n Right Bound = \" \/&gt;<\/pre>\n\n\n\n<p>If you do not want to get deeper into regular expressions, then the wildcard characters (.+?) would suffice in most of the cases. For more information on regular expressions and meaning of each wild card character visit&nbsp;<a href=\"http:\/\/www.regular-expressions.info\/tutorialcnt.html\">Regular-Expression info Website<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Regular_Expression_Extractor\"><\/span>Regular Expression Extractor<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Coming back to JMeter, consider an example where we have two operations-<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>User launch website<\/li><li>User fill details and click on OK button<\/li><\/ol>\n\n\n\n<p>Now, the call &#8220;User launch website&#8221; creates a dynamic variable &#8211; &#8216;eventVvalidation&#8217; that we can check in Response Data tab of &#8220;View Result Tree&#8221; listener for the call. The value of this variable is then passed to subsequent calls related to &#8220;User fill details and click on OK button&#8221; as Http post parameter.<br><\/p>\n\n\n\n<p>Steps for correlating the Event validation values-<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Run the script containing the both the above stated operations.<\/li><li>Go to Response tab (Text mode) in &#8220;View Result Tree&#8221; listener of &#8220;User launch website&#8221; operation. Refer to the below image, we can see that the second operation &#8220;User fill details and click on OK button&#8221; is in red because it is not yet correlated.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"775\" height=\"441\" src=\"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation1.jpg\" alt=\"\" class=\"wp-image-505\" srcset=\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation1.jpg 775w, https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation1-300x171.jpg 300w, https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation1-768x437.jpg 768w\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" \/><\/figure>\n\n\n\n<p>3. Create a Regular expression for extracting the value of Event validation variable&#8217;s value. As stated above the R.E. for this will be-<br>__EVENTVALIDATION&#8221; value=&#8221;(.+?)&#8221; \/&gt;<\/p>\n\n\n\n<p>4. Go to http request under &#8220;User Launch Website&#8221; transaction controller-&gt; Add -&gt; Post Processor -&gt; Regular Expression Extractor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"422\" src=\"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation2.jpg\" alt=\"\" class=\"wp-image-506\" srcset=\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation2.jpg 688w, https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation2-300x184.jpg 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/figure>\n\n\n\n<p>Adding &#8220;Regular Expression Extractor&#8221; control<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"367\" src=\"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation3.jpg\" alt=\"\" class=\"wp-image-507\" srcset=\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation3.jpg 672w, https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation3-300x164.jpg 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/figure>\n\n\n\n<p>R.E. Extractor Parameters Filled<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>5. The reference name inserted is the name of the variable created that will capture the Event validation value generated by the http request under &#8220;User launch website&#8221; operation.<\/p>\n\n\n\n<p>6. Now pass this variable to the subsequent http request under &#8220;User fill details and click on OK button&#8221; as post request- overriding the already present hard-coded value of Event Validation variable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"346\" src=\"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation4.jpg\" alt=\"\" class=\"wp-image-508\" srcset=\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation4.jpg 669w, https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation4-300x155.jpg 300w\" sizes=\"auto, (max-width: 669px) 100vw, 669px\" \/><\/figure>\n\n\n\n<p>Request without correlation (Hardcoded values)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"579\" height=\"338\" src=\"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation5.jpg\" alt=\"\" class=\"wp-image-509\" srcset=\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation5.jpg 579w, https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation5-300x175.jpg 300w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/figure>\n\n\n\n<p>Request with correlation (Dynamic values)<\/p>\n\n\n\n<p>7. Run the test plan again. All green! That&#8217;s it.<br>This was all about correlation. In order to get a good understanding of correlation (or scripting for that matter), we need to have a good understanding of two things- the knowledge of the dynamic variables generated by the programming languages\/platform and Regular expressions. Thanks for reading!!<br><\/p>\n\n\n\n<p><br><em>That\u2019s all we have in this section, please share it with your friends and colleagues. Check out the complete JMeter tutorial below.<\/em><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><a href=\"http:\/\/artoftesting.com\/jmeter-tutorial\">JMeter Tutorial<\/a><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>What is correlation and why it is required? Correlation is the most important aspect of scripting. It usually includes fetching dynamic data from preceding requests\/calls and posting it to the subsequent requests.Let&rsquo;s take an example to find out why exactly we need correlation. Suppose we have recorded a scenario in which&#8211;&gt;User enters login details and &#8230; <a title=\"Correlation in JMeter\" class=\"read-more\" href=\"https:\/\/artoftesting.com\/correlation\" aria-label=\"Read more about Correlation in JMeter\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":1573,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-504","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jmeter"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Correlation in JMeter using Regular Expressions - ArtOfTesting<\/title>\n<meta name=\"description\" content=\"Correlation in JMeter involves fetching dynamic data from preceding requests and posting it to the subsequent requests using regular expression extractor.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/artoftesting.com\/correlation\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Correlation in JMeter using Regular Expressions - ArtOfTesting\" \/>\n<meta property=\"og:description\" content=\"Correlation in JMeter involves fetching dynamic data from preceding requests and posting it to the subsequent requests using regular expression extractor.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/artoftesting.com\/correlation\" \/>\n<meta property=\"og:site_name\" content=\"ArtOfTesting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/artoftesting\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-04T10:20:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-07T07:28:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kuldeep Rana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@theartoftesting\" \/>\n<meta name=\"twitter:site\" content=\"@theartoftesting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kuldeep Rana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/artoftesting.com\/correlation#article\",\"isPartOf\":{\"@id\":\"https:\/\/artoftesting.com\/correlation\"},\"author\":{\"name\":\"Kuldeep Rana\",\"@id\":\"https:\/\/artoftesting.com\/#\/schema\/person\/7846d06225b52c778d160becf65996a5\"},\"headline\":\"Correlation in JMeter\",\"datePublished\":\"2019-12-04T10:20:58+00:00\",\"dateModified\":\"2020-01-07T07:28:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/artoftesting.com\/correlation\"},\"wordCount\":655,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/artoftesting.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/artoftesting.com\/correlation#primaryimage\"},\"thumbnailUrl\":\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg\",\"articleSection\":[\"JMeter\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/artoftesting.com\/correlation#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/artoftesting.com\/correlation\",\"url\":\"https:\/\/artoftesting.com\/correlation\",\"name\":\"Correlation in JMeter using Regular Expressions - ArtOfTesting\",\"isPartOf\":{\"@id\":\"https:\/\/artoftesting.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/artoftesting.com\/correlation#primaryimage\"},\"image\":{\"@id\":\"https:\/\/artoftesting.com\/correlation#primaryimage\"},\"thumbnailUrl\":\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg\",\"datePublished\":\"2019-12-04T10:20:58+00:00\",\"dateModified\":\"2020-01-07T07:28:15+00:00\",\"description\":\"Correlation in JMeter involves fetching dynamic data from preceding requests and posting it to the subsequent requests using regular expression extractor.\",\"breadcrumb\":{\"@id\":\"https:\/\/artoftesting.com\/correlation#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/artoftesting.com\/correlation\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/artoftesting.com\/correlation#primaryimage\",\"url\":\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg\",\"contentUrl\":\"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg\",\"width\":700,\"height\":400,\"caption\":\"correlation in jmeter\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/artoftesting.com\/correlation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/artoftesting.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Performance Testing\",\"item\":\"https:\/\/artoftesting.com\/category\/performance-testing\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JMeter\",\"item\":\"https:\/\/artoftesting.com\/category\/performance-testing\/jmeter\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Correlation in JMeter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/artoftesting.com\/#website\",\"url\":\"https:\/\/artoftesting.com\/\",\"name\":\"ArtOfTesting\",\"description\":\"A Beginners Guide to Testing\",\"publisher\":{\"@id\":\"https:\/\/artoftesting.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/artoftesting.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/artoftesting.com\/#organization\",\"name\":\"ArtOfTesting\",\"url\":\"https:\/\/artoftesting.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/artoftesting.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Artoftesting_logo.png\",\"contentUrl\":\"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Artoftesting_logo.png\",\"width\":400,\"height\":60,\"caption\":\"ArtOfTesting\"},\"image\":{\"@id\":\"https:\/\/artoftesting.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/artoftesting\",\"https:\/\/x.com\/theartoftesting\",\"https:\/\/www.linkedin.com\/groups\/4797819\/\",\"https:\/\/in.pinterest.com\/artoftesting\/\",\"https:\/\/www.youtube.com\/channel\/UCQ9PUVenvvyrUdDQ9yKn31Q\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/artoftesting.com\/#\/schema\/person\/7846d06225b52c778d160becf65996a5\",\"name\":\"Kuldeep Rana\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/artoftesting.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb5979a4b81ca7739c75080e473fad391a8665364e72abaddec9002dd4553326?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cb5979a4b81ca7739c75080e473fad391a8665364e72abaddec9002dd4553326?s=96&d=mm&r=g\",\"caption\":\"Kuldeep Rana\"},\"description\":\"Kuldeep is the founder and lead author of ArtOfTesting. He is skilled in test automation, performance testing, big data, and CI-CD. He brings his decade of experience to his current role where he is dedicated to educating the QA professionals.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Correlation in JMeter using Regular Expressions - ArtOfTesting","description":"Correlation in JMeter involves fetching dynamic data from preceding requests and posting it to the subsequent requests using regular expression extractor.","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:\/\/artoftesting.com\/correlation","og_locale":"en_US","og_type":"article","og_title":"Correlation in JMeter using Regular Expressions - ArtOfTesting","og_description":"Correlation in JMeter involves fetching dynamic data from preceding requests and posting it to the subsequent requests using regular expression extractor.","og_url":"https:\/\/artoftesting.com\/correlation","og_site_name":"ArtOfTesting","article_publisher":"https:\/\/facebook.com\/artoftesting","article_published_time":"2019-12-04T10:20:58+00:00","article_modified_time":"2020-01-07T07:28:15+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg","type":"image\/jpeg"}],"author":"Kuldeep Rana","twitter_card":"summary_large_image","twitter_creator":"@theartoftesting","twitter_site":"@theartoftesting","twitter_misc":{"Written by":"Kuldeep Rana","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/artoftesting.com\/correlation#article","isPartOf":{"@id":"https:\/\/artoftesting.com\/correlation"},"author":{"name":"Kuldeep Rana","@id":"https:\/\/artoftesting.com\/#\/schema\/person\/7846d06225b52c778d160becf65996a5"},"headline":"Correlation in JMeter","datePublished":"2019-12-04T10:20:58+00:00","dateModified":"2020-01-07T07:28:15+00:00","mainEntityOfPage":{"@id":"https:\/\/artoftesting.com\/correlation"},"wordCount":655,"commentCount":0,"publisher":{"@id":"https:\/\/artoftesting.com\/#organization"},"image":{"@id":"https:\/\/artoftesting.com\/correlation#primaryimage"},"thumbnailUrl":"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg","articleSection":["JMeter"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/artoftesting.com\/correlation#respond"]}]},{"@type":"WebPage","@id":"https:\/\/artoftesting.com\/correlation","url":"https:\/\/artoftesting.com\/correlation","name":"Correlation in JMeter using Regular Expressions - ArtOfTesting","isPartOf":{"@id":"https:\/\/artoftesting.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/artoftesting.com\/correlation#primaryimage"},"image":{"@id":"https:\/\/artoftesting.com\/correlation#primaryimage"},"thumbnailUrl":"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg","datePublished":"2019-12-04T10:20:58+00:00","dateModified":"2020-01-07T07:28:15+00:00","description":"Correlation in JMeter involves fetching dynamic data from preceding requests and posting it to the subsequent requests using regular expression extractor.","breadcrumb":{"@id":"https:\/\/artoftesting.com\/correlation#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/artoftesting.com\/correlation"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/artoftesting.com\/correlation#primaryimage","url":"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg","contentUrl":"https:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Correlation-in-JMeter.jpg","width":700,"height":400,"caption":"correlation in jmeter"},{"@type":"BreadcrumbList","@id":"https:\/\/artoftesting.com\/correlation#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/artoftesting.com\/"},{"@type":"ListItem","position":2,"name":"Performance Testing","item":"https:\/\/artoftesting.com\/category\/performance-testing"},{"@type":"ListItem","position":3,"name":"JMeter","item":"https:\/\/artoftesting.com\/category\/performance-testing\/jmeter"},{"@type":"ListItem","position":4,"name":"Correlation in JMeter"}]},{"@type":"WebSite","@id":"https:\/\/artoftesting.com\/#website","url":"https:\/\/artoftesting.com\/","name":"ArtOfTesting","description":"A Beginners Guide to Testing","publisher":{"@id":"https:\/\/artoftesting.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/artoftesting.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/artoftesting.com\/#organization","name":"ArtOfTesting","url":"https:\/\/artoftesting.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/artoftesting.com\/#\/schema\/logo\/image\/","url":"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Artoftesting_logo.png","contentUrl":"http:\/\/artoftesting.com\/wp-content\/uploads\/2019\/12\/Artoftesting_logo.png","width":400,"height":60,"caption":"ArtOfTesting"},"image":{"@id":"https:\/\/artoftesting.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/artoftesting","https:\/\/x.com\/theartoftesting","https:\/\/www.linkedin.com\/groups\/4797819\/","https:\/\/in.pinterest.com\/artoftesting\/","https:\/\/www.youtube.com\/channel\/UCQ9PUVenvvyrUdDQ9yKn31Q"]},{"@type":"Person","@id":"https:\/\/artoftesting.com\/#\/schema\/person\/7846d06225b52c778d160becf65996a5","name":"Kuldeep Rana","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/artoftesting.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cb5979a4b81ca7739c75080e473fad391a8665364e72abaddec9002dd4553326?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cb5979a4b81ca7739c75080e473fad391a8665364e72abaddec9002dd4553326?s=96&d=mm&r=g","caption":"Kuldeep Rana"},"description":"Kuldeep is the founder and lead author of ArtOfTesting. He is skilled in test automation, performance testing, big data, and CI-CD. He brings his decade of experience to his current role where he is dedicated to educating the QA professionals."}]}},"_links":{"self":[{"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/posts\/504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/comments?post=504"}],"version-history":[{"count":0,"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/posts\/504\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/media\/1573"}],"wp:attachment":[{"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/media?parent=504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/categories?post=504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artoftesting.com\/wp-json\/wp\/v2\/tags?post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}