{"id":30499,"date":"2024-01-29T13:07:47","date_gmt":"2024-01-29T12:07:47","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=30499"},"modified":"2024-01-29T13:07:47","modified_gmt":"2024-01-29T12:07:47","slug":"how-to-do-improve-your-jmeter-load-testing","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/","title":{"rendered":"How to Improve your JMeter Load Testing?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In my <a href=\"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\" target=\"_blank\" rel=\"noreferrer noopener\">previous blog post<\/a>, I presented you how to create a load testing scenario based on a recorder. While working on it, I faced small problems that required few fixes which were very repetitive (and you know I love to automate as much as possible \ud83d\ude42 ). Amount the issues I faced, there were:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Extending a scenario with extra actions<\/li>\n\n\n\n<li>Update a scenario as a new version of the application is behaving differently (different HTTP POST data and HTTP results)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog post, we will improve the existing load test scenario for <a href=\"https:\/\/www.m-files.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">M-Files<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-extend-a-scenario\">Extend a Scenario<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When extending a scenario, the HTTP requests we will add will have different session ID (sid, M-Files-Session) and thus, we must find them and do a <em>Search and Replace<\/em> again. We must repeat this every time we add an HTTP request from a different recording. This might cause problems and waste of debugging time if not done properly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A better approach would be to add a new type of object: A <mark class=\"has-inline-color has-light-green-cyan-color\">JSR223 Preprocessor<\/mark>. This code will be called before (as &#8220;pre&#8221; indicates) each call of any type of object of the scenario. With this, we will be able to modify any HTTP request before it triggers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you recall my previous blog post, I discovered a client-side generated timestamp hash based on <a href=\"https:\/\/github.com\/unshiftio\/yeast\" target=\"_blank\" rel=\"noreferrer noopener\">yeast<\/a> library:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"611\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-1024x611.png\" alt=\"\" class=\"wp-image-30505\" style=\"width:550px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-1024x611.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-300x179.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-768x458.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_.png 1242w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">&#8220;<strong>t<\/strong>&#8221; parameters in POST<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is used sometimes in URL as GET parameters, sometimes in POST. We will first focus on GET.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-http-get\">HTTP GET<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I will use a PreProcessor of type <a href=\"https:\/\/groovy-lang.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Apache Groovy<\/a> which is known to be more efficient than other languages supported by JMeter.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To avoid having the code run for all types of requests, my code will start with an if:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\nif (sampler instanceof org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy) {\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Next part of the code is to check if URL contains the &#8220;t&#8221; parameter with a regex and replace:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\n    path = sampler.getPath();\n\tfindRegex = \/&amp;t=(.+)&amp;\/;\n\tpath = path.replaceFirst(findRegex, &quot;&amp;t=&quot; + newValue + &quot;&amp;&quot;);\n    log.info(&quot;t variable updated to &quot; + newValue);\n\tsampler.setPath(path);\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Now, whenever I run the scenario, we will see a line in the logviewer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>2024-01-29 09:45:55,722 INFO o.a.j.m.J.JSR223 PreProcessor Variable Updates: t variable updated to OrKPOIA.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And that the triggered URL is different from how it was defined in the HTTP request:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"205\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-29-09_59_59-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-1024x205.png\" alt=\"\" class=\"wp-image-30516\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-29-09_59_59-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-1024x205.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-29-09_59_59-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-300x60.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-29-09_59_59-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-768x153.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-29-09_59_59-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_.png 1296w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">&#8220;<strong>t<\/strong>&#8221; variable are different<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">On the left side, we see the &#8220;<strong>t<\/strong>&#8221; value at recording time. On the right, &#8220;<strong>t<\/strong>&#8221; value at scenario runtime.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This covers the case where &#8220;<strong>t<\/strong>&#8221; variable is in the URL. Next, we must do it for POST variables.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-http-post\">HTTP POST<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For HTTP POST, we must proceed in the following order:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Check HTTP Method is POST<\/li>\n\n\n\n<li>Get arguments list<\/li>\n\n\n\n<li>Check our argument is in the list<\/li>\n\n\n\n<li>Remove it<\/li>\n\n\n\n<li>Add it back with the correct value<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This gives the following groovy code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\n\tif (sampler.getMethod() == &#039;POST&#039;) {\n\t\targuments = sampler.getArguments().getArgumentsAsMap()\n\t\tif (arguments.containsKey(&quot;t&quot;)) {\n\t\t\tsampler.getArguments().removeArgument(&quot;t&quot;)\n\t\t\tsampler.addArgument(&quot;t&quot;,newValue)\n\t\t\tlog.info(&quot;POST: t variable updated to &quot; + newValue);\n\t\t}\n\t}\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-to-improve-even-more\">What to Improve even More?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I need to make this more generic via a method which I will be able to call for any variable as I have many other variables to consider for this M-Files scenario:<\/p>\n\n\n\n<ul class=\"nv-cv-m wp-block-list\">\n<li>SID<\/li>\n\n\n\n<li>M-Files-Session<\/li>\n\n\n\n<li>Vault ID<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, for each of these, I will simply call the method:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\nupdateVariables(&quot;t&quot;, newValue)\nupdateVariables(&quot;SID&quot;, vars.get(&quot;SID&quot;))\nupdateVariables(&quot;M-Files-Session&quot;, vars.get(&quot;SID-MFILES&quot;))\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>In my previous blog post, I presented you how to create a load testing scenario based on a recorder. While working on it, I faced small problems that required few fixes which were very repetitive (and you know I love to automate as much as possible \ud83d\ude42 ). Amount the issues I faced, there were:&hellip;&nbsp;<\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4134,4180],"tags":[950,2880],"class_list":["post-30499","post","type-post","status-publish","format-standard","category-application-server","category-m-files","tag-jmeter","tag-loadtest"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Improve your JMeter Load Testing? - dbi services Blog<\/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.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Improve your JMeter Load Testing?\" \/>\n<meta property=\"og:description\" content=\"In my previous blog post, I presented you how to create a load testing scenario based on a recorder. While working on it, I faced small problems that required few fixes which were very repetitive (and you know I love to automate as much as possible \ud83d\ude42 ). Amount the issues I faced, there were:&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-29T12:07:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1242\" \/>\n\t<meta property=\"og:image:height\" content=\"741\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\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:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8a0bfec3c3bd1f27d3d452eaa592bfb8\"},\"headline\":\"How to Improve your JMeter Load Testing?\",\"datePublished\":\"2024-01-29T12:07:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/\"},\"wordCount\":477,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-1024x611.png\",\"keywords\":[\"JMeter\",\"LoadTest\"],\"articleSection\":[\"Application Server\",\"M-Files\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/\",\"name\":\"How to Improve your JMeter Load Testing? - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-1024x611.png\",\"datePublished\":\"2024-01-29T12:07:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_.png\",\"width\":1242,\"height\":741},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-do-improve-your-jmeter-load-testing\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Improve your JMeter Load Testing?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8a0bfec3c3bd1f27d3d452eaa592bfb8\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"description\":\"Posts published under the Middleware Team account are collective contributions by the dbi services middleware and enterprise content management consultants. The practice covers ECM platforms such as OpenText Documentum, Alfresco, and M-Files, as well as application servers and integration technologies including WebLogic, JBoss, Tomcat, and the Elastic Stack, from architecture and deployment to operations under service level agreements.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/middleware-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Improve your JMeter Load Testing? - dbi services Blog","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.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/","og_locale":"en_US","og_type":"article","og_title":"How to Improve your JMeter Load Testing?","og_description":"In my previous blog post, I presented you how to create a load testing scenario based on a recorder. While working on it, I faced small problems that required few fixes which were very repetitive (and you know I love to automate as much as possible \ud83d\ude42 ). Amount the issues I faced, there were:&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2024-01-29T12:07:47+00:00","og_image":[{"width":1242,"height":741,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_.png","type":"image\/png"}],"author":"Middleware Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8a0bfec3c3bd1f27d3d452eaa592bfb8"},"headline":"How to Improve your JMeter Load Testing?","datePublished":"2024-01-29T12:07:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/"},"wordCount":477,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-1024x611.png","keywords":["JMeter","LoadTest"],"articleSection":["Application Server","M-Files"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/","url":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/","name":"How to Improve your JMeter Load Testing? - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_-1024x611.png","datePublished":"2024-01-29T12:07:47+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2024\/01\/2024-01-26-22_17_56-Global-Scenario-2024-01.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_.png","width":1242,"height":741},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-do-improve-your-jmeter-load-testing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Improve your JMeter Load Testing?"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8a0bfec3c3bd1f27d3d452eaa592bfb8","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"description":"Posts published under the Middleware Team account are collective contributions by the dbi services middleware and enterprise content management consultants. The practice covers ECM platforms such as OpenText Documentum, Alfresco, and M-Files, as well as application servers and integration technologies including WebLogic, JBoss, Tomcat, and the Elastic Stack, from architecture and deployment to operations under service level agreements.","url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/30499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=30499"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/30499\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=30499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=30499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=30499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}