{"id":30450,"date":"2024-01-25T16:41:55","date_gmt":"2024-01-25T15:41:55","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=30450"},"modified":"2024-09-10T17:59:25","modified_gmt":"2024-09-10T15:59:25","slug":"load-test-m-files-server-with-jmeter","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/","title":{"rendered":"Load Test M-Files Server with JMeter"},"content":{"rendered":"\n<p>Creating load test scenario on a web application might look easy:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Record a scenario<\/li>\n\n\n\n<li>Replay it<\/li>\n<\/ol>\n\n\n\n<p>In practice, it is much more complex than that when you want to manage variables elements like usernames, session IDs, and, in case of M-Files, a Vault ID.<\/p>\n\n\n\n<p>Also, JMeter does not manage client-side java script and, if application requires it, you must &#8220;emulate&#8221; it with some code. Luckily, JMeter can run code with JSR223 Sampler. This requires coding skills to understand what the application does with help of <em>Web Developer Tools<\/em> provided with your favourite browser.<\/p>\n\n\n\n<p>The first scenario will look like this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Login<\/li>\n\n\n\n<li>Search<\/li>\n\n\n\n<li>Select first element in the result page<\/li>\n\n\n\n<li>Thinking time<\/li>\n\n\n\n<li>Logout<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-recording\">Recording<\/h2>\n\n\n\n<p>To record, I need a simple scenario with one <em>Thread group<\/em> with a <em>Recording Controller<\/em> and a <em>HTTPS Test Script Recorder<\/em> with a <em>View Results Tree<\/em> listener. When record is done, you will end up with something like this (a transaction controller for each named steps and as many HTTP request as recorded):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"1024\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--602x1024.png\" alt=\"\" class=\"wp-image-30462\" style=\"width:400px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--602x1024.png 602w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--176x300.png 176w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--768x1306.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png 770w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-variables\">Variables<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-search-and-find\">Search and Find<\/h3>\n\n\n\n<p>First job is to find what are the variable parts of these queries. Before that, you must have the following Managers defined:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTTP Cookie<\/li>\n\n\n\n<li>HTTP Authorization<\/li>\n\n\n\n<li>DNS Cache<\/li>\n\n\n\n<li><\/li>\n<\/ul>\n\n\n\n<p>The first time we will replay the scenario, it is likely it will fail at a step where a variable part exists. This can be a method to find them.<\/p>\n\n\n\n<p>By looking at each HTTP request parameters, we can also find the variables:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"564\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_03_35-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1024x564.png\" alt=\"\" class=\"wp-image-30463\" style=\"width:700px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_03_35-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1024x564.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_03_35-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--300x165.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_03_35-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--768x423.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_03_35-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png 1381w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">sid is a variable<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-replace\">Replace<\/h3>\n\n\n\n<p>Next, we must search where is this <mark class=\"has-inline-color has-luminous-vivid-orange-color\">sid<\/mark> used and where also where to get the value from. So, let&#8217;s do a simple search on the recorded value (ie. 36_jWG4pMmwxCVuGAAEk):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"476\" height=\"1024\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_05_29-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--476x1024.png\" alt=\"\" class=\"wp-image-30465\" style=\"width:400px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_05_29-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--476x1024.png 476w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_05_29-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--139x300.png 139w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_05_29-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--713x1536.png 713w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_05_29-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png 765w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><figcaption class=\"wp-element-caption\">Several HTTP requests match the search<\/figcaption><\/figure>\n\n\n\n<p>Searching in <em>Record Controller<\/em> will give you all the requests where it is used, but not which one provided the value at first place. Nevertheless, we can still do the string replacement:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"548\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_10_09-Search-Tree-1024x548.png\" alt=\"\" class=\"wp-image-30467\" style=\"width:520px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_10_09-Search-Tree-1024x548.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_10_09-Search-Tree-300x161.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_10_09-Search-Tree-768x411.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_10_09-Search-Tree.png 1111w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">4 occurrences of the <strong><em>sid <\/em><\/strong>were found and replaced by ${SID}<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-extract\">Extract<\/h3>\n\n\n\n<p>To find which request return the SID to use, the search must be conducted in the <em>View Result Tree<\/em>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"346\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_12_05-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1024x346.png\" alt=\"\" class=\"wp-image-30468\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_12_05-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1024x346.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_12_05-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--300x101.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_12_05-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--768x260.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_12_05-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1536x519.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_12_05-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--2048x692.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next step is to add a <em>Regular Expression Extractor<\/em> to populate SID variable for later query use:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_15_30-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1024x506.png\" alt=\"\" class=\"wp-image-30470\" style=\"width:500px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_15_30-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1024x506.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_15_30-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--300x148.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_15_30-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--768x379.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_15_30-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png 1164w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Finally, we can run the scenario and analyse how it behaves. After this second run, I found another kind of session ID specific to M-Files:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"324\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_21_00-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1024x324.png\" alt=\"\" class=\"wp-image-30471\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_21_00-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1024x324.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_21_00-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--300x95.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_21_00-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--768x243.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_21_00-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--1536x486.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_21_00-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png 2040w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Similarly, as <em>sid<\/em>, I search and replace that value with a variable name (ie. M-FILES-SID) in recording controller and search where it comes from in <em>View Result Tree<\/em>. As it provided in the body of a HTTP request in JSON format, I can use JSON Extractor:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"542\" height=\"231\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_28_29-Global-Scenario.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_Global-S.png\" alt=\"\" class=\"wp-image-30472\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_28_29-Global-Scenario.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_Global-S.png 542w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_28_29-Global-Scenario.jmx-C__Users_ols_Documents_Technical_Load-Test_M-Files_Global-S-300x128.png 300w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/figure>\n\n\n\n<p>During third run of scenario, I discovered that this M-FILES-SID changed just after the login which prevent scenario to complete. Adding a copy of the JSON Extractor where the new M-FILES-SID is returned will do the trick.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-diving-in-the-javascript-code\">Diving in the JavaScript Code<\/h2>\n\n\n\n<p>Did you notice the &#8220;<strong>t<\/strong>&#8221; variable in the first screenshot of an HTTP request? I did notice it, but it does not cause any problem to my scenario runs. I also notice that there are many calls to \/socket.io URL to the M-Files server. With help of browser Web Developer Tools, I was able to find which part of the code is generating this variable:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"152\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-16_32_17-M-Files-\u2014-Mozilla-Firefox-Private-Browsing-1024x152.png\" alt=\"\" class=\"wp-image-30477\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-16_32_17-M-Files-\u2014-Mozilla-Firefox-Private-Browsing-1024x152.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-16_32_17-M-Files-\u2014-Mozilla-Firefox-Private-Browsing-300x45.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-16_32_17-M-Files-\u2014-Mozilla-Firefox-Private-Browsing-768x114.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-16_32_17-M-Files-\u2014-Mozilla-Firefox-Private-Browsing-1536x228.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-16_32_17-M-Files-\u2014-Mozilla-Firefox-Private-Browsing.png 1785w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>So, I did more digging and found what it is used for:<\/p>\n\n\n\n<p>It is a way to avoid browser to use cache when it should not. This technique is called <mark class=\"has-inline-color has-luminous-vivid-orange-color\">cache busting<\/mark>. It allows to control when a browser should reload the file or, even to avoid any cache at all.<\/p>\n\n\n\n<p>By looking at <a href=\"https:\/\/github.com\/socketio\/socket.io\" target=\"_blank\" rel=\"noreferrer noopener\">socket.io<\/a> code, I was able to find <a href=\"https:\/\/github.com\/socketio\/socket.io\/blob\/e36062ca2df0b1a4adcf986bafc3fd92675d3896\/client-dist\/socket.io.js#L1041\" target=\"_blank\" rel=\"noreferrer noopener\">how<\/a> this &#8220;<strong>t<\/strong>&#8221; variable is generated and replicate in the JMeter scenario to get even closer to browser behaviour. It comes from <a href=\"https:\/\/github.com\/unshiftio\/yeast\" target=\"_blank\" rel=\"noreferrer noopener\">yeast<\/a> github repository where I also found the <a href=\"https:\/\/github.com\/unshiftio\/yeast\/blob\/443a08ea08a10133b6f8a9db536b0d6e52c6bfe1\/index.js#L51\" target=\"_blank\" rel=\"noreferrer noopener\">code<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n\n\n\n<p>As you have seen, load testing is not a &#8220;long quiet river&#8221; and require coding skills as well as tenacity. Do you feel scared by that? No problem, we are here to help with our <a href=\"https:\/\/www.dbi-services.com\/expertises\/application-servers\/\" target=\"_blank\" rel=\"noreferrer noopener\">expertise<\/a> on load testing of web applications.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating load test scenario on a web application might look easy: In practice, it is much more complex than that when you want to manage variables elements like usernames, session IDs, and, in case of M-Files, a Vault ID. Also, JMeter does not manage client-side java script and, if application requires it, you must &#8220;emulate&#8221; [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,525],"tags":[3236,950,2880,3190],"type_dbi":[],"class_list":["post-30450","post","type-post","status-publish","format-standard","hentry","category-application-integration-middleware","category-enterprise-content-management","tag-cache-busting","tag-jmeter","tag-loadtest","tag-m-files"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Load Test M-Files Server with JMeter - dbi 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\/load-test-m-files-server-with-jmeter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Load Test M-Files Server with JMeter\" \/>\n<meta property=\"og:description\" content=\"Creating load test scenario on a web application might look easy: In practice, it is much more complex than that when you want to manage variables elements like usernames, session IDs, and, in case of M-Files, a Vault ID. Also, JMeter does not manage client-side java script and, if application requires it, you must &#8220;emulate&#8221; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-25T15:41:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T15:59:25+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--602x1024.png\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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=\"5 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\\\/load-test-m-files-server-with-jmeter\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"Load Test M-Files Server with JMeter\",\"datePublished\":\"2024-01-25T15:41:55+00:00\",\"dateModified\":\"2024-09-10T15:59:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/\"},\"wordCount\":684,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/01\\\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--602x1024.png\",\"keywords\":[\"Cache-Busting\",\"JMeter\",\"LoadTest\",\"M-Files\"],\"articleSection\":[\"Application integration &amp; Middleware\",\"Enterprise content management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/\",\"name\":\"Load Test M-Files Server with JMeter - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/01\\\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--602x1024.png\",\"datePublished\":\"2024-01-25T15:41:55+00:00\",\"dateModified\":\"2024-09-10T15:59:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/01\\\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/01\\\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png\",\"width\":770,\"height\":1309},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/load-test-m-files-server-with-jmeter\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Load Test M-Files Server with JMeter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"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\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\",\"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\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/middleware-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Load Test M-Files Server with JMeter - dbi 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\/load-test-m-files-server-with-jmeter\/","og_locale":"en_US","og_type":"article","og_title":"Load Test M-Files Server with JMeter","og_description":"Creating load test scenario on a web application might look easy: In practice, it is much more complex than that when you want to manage variables elements like usernames, session IDs, and, in case of M-Files, a Vault ID. Also, JMeter does not manage client-side java script and, if application requires it, you must &#8220;emulate&#8221; [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/","og_site_name":"dbi Blog","article_published_time":"2024-01-25T15:41:55+00:00","article_modified_time":"2024-09-10T15:59:25+00:00","og_image":[{"url":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--602x1024.png","type":"","width":"","height":""}],"author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"Load Test M-Files Server with JMeter","datePublished":"2024-01-25T15:41:55+00:00","dateModified":"2024-09-10T15:59:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/"},"wordCount":684,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/#primaryimage"},"thumbnailUrl":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--602x1024.png","keywords":["Cache-Busting","JMeter","LoadTest","M-Files"],"articleSection":["Application integration &amp; Middleware","Enterprise content management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/","url":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/","name":"Load Test M-Files Server with JMeter - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/#primaryimage"},"thumbnailUrl":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx--602x1024.png","datePublished":"2024-01-25T15:41:55+00:00","dateModified":"2024-09-10T15:59:25+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/01\/2024-01-25-15_02_02-RECORDER.jmx-C__Users_ols_Documents_Technical_Load-Test_JMeter_RECORDER.jmx-.png","width":770,"height":1309},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/load-test-m-files-server-with-jmeter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Load Test M-Files Server with JMeter"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","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":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","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"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/30450","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=30450"}],"version-history":[{"count":12,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/30450\/revisions"}],"predecessor-version":[{"id":30481,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/30450\/revisions\/30481"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=30450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=30450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=30450"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=30450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}