{"id":5447,"date":"2018-11-24T19:42:46","date_gmt":"2018-11-25T00:42:46","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=5447"},"modified":"2018-11-24T19:42:46","modified_gmt":"2018-11-25T00:42:46","slug":"download-large-files-for-jmeter-tests","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/","title":{"rendered":"Download Large Files for JMeter Tests"},"content":{"rendered":"<p>Sometimes, you need to use large files in your <a href=\"https:\/\/jmeter.apache.org\/\">JMeter<\/a> tests.\u00a0 Instead of uploading the files to RedLine13 for each test, you can store the files on your own server and download them on the load agents.\u00a0 Another advantage of hosting the files yourself is that you might have sensitive information in the file and don\u2019t want to upload it to RedLine13 servers.\u00a0 To download self-hosted files for JMeter tests, you can use the <b>JMeter File Download<\/b> plugin (similar plugins are available for custom tests and Gatling tests).<\/p>\n<h3>Setting Up The Plugin<\/h3>\n<p>The first step is to set up the plugin. To do so, go to the <b>Account \u00bb Your Plugins<\/b> page. Then find <b>JMeter File Download<\/b> in the <b>Available<\/b> list and click to add it.<\/p>\n<h3>Hosting your Files<\/h3>\n<p>You can host your files however you like.\u00a0 Some possibilities include:<\/p>\n<ul>\n<li>Starting a web server in the same <a href=\"https:\/\/aws.amazon.com\/vpc\">VPC<\/a> and use the private IP address (e.g. http:\/\/10.0.0.123\/file.tgz)<\/li>\n<li>Uploading the file to <a href=\"https:\/\/aws.amazon.com\/aws\/s3\">S3<\/a> and use a pre-signed URL to download the object.<\/li>\n<li>Upload the file to any public web server. <i>Warning: Do not use this method with sensitive information.<\/i><\/li>\n<\/ul>\n<h3>Starting a Test<\/h3>\n<p>When setting up your JMX file, be sure that you update any file references to\u00a0<code><b><span style=\"color: #800000;\">.\/downloads\/<\/span><\/b><span style=\"color: #800000;\">yourFilename.ext<\/span><\/code>.<\/p>\n<figure id=\"attachment_8237\" class=\"wp-caption aligncenter\" style=\"max-width: 731px\"><a href=\"http:\/\/54.161.25.214\/wp-content\/uploads\/2018\/11\/data_source_with_border.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8237 size-full\" src=\"http:\/\/54.161.25.214\/wp-content\/uploads\/2018\/11\/data_source_with_border.png\" alt=\"Specifying a downloaded file in JMeter as a data source\" width=\"731\" height=\"213\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2018\/11\/data_source_with_border.png 731w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2018\/11\/data_source_with_border-300x87.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/a><figcaption class=\"wp-caption-text\">Specifying a downloaded file in JMeter as a data source. Note that the file resides in the &#8220;<span style=\"color: #800000;\"><strong>.\/downloads<\/strong><\/span>&#8221; directory.<\/figcaption><\/figure>\n<p>When starting your test on RedLine13, enable the <b>JMeter File Download<\/b> plugin under &#8220;<em>Advanced JMeter Test Options<\/em>&#8220;.\u00a0 Enter the URL where the file can be downloaded. If you need multiple files, you can point to a TAR or TGZ file and check the box to extract the files before the test.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, you need to use large files in your JMeter tests.\u00a0 Instead of uploading the files to RedLine13 for each test, you can store the files on your own server and download them on the load agents.\u00a0 Another advantage of hosting the files yourself is that you might have sensitive information in the file and don\u2019t want to upload it to RedLine13 servers.\u00a0 To download self-hosted files for JMeter tests, you can use the JMeter File<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,41],"tags":[283,307,402,424],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-user","4":"post-5447","6":"format-standard","7":"category-jmeter-plugins","8":"category-plugins","9":"post_tag-jmeter","10":"post_tag-large-files","11":"post_tag-plugins","12":"post_tag-redline13"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Download Large Files for JMeter Tests - RedLine13<\/title>\n<meta name=\"description\" content=\"If you need to use large or sensitive files in JMeter tests, you can use the JMeter File Download plugin to privately host files for use on your load agent.\" \/>\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\/2018\/11\/download-large-files-for-jmeter-tests\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Download Large Files for JMeter Tests - RedLine13\" \/>\n<meta property=\"og:description\" content=\"If you need to use large or sensitive files in JMeter tests, you can use the JMeter File Download plugin to privately host files for use on your load agent.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-25T00:42:46+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/54.161.25.214\/wp-content\/uploads\/2018\/11\/data_source_with_border.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\/2018\/11\/download-large-files-for-jmeter-tests\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/\"},\"author\":{\"name\":\"RedLine13\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\"},\"headline\":\"Download Large Files for JMeter Tests\",\"datePublished\":\"2018-11-25T00:42:46+00:00\",\"dateModified\":\"2018-11-25T00:42:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/\"},\"wordCount\":291,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"JMeter\",\"large files\",\"plugins\",\"RedLine13\"],\"articleSection\":[\"JMeter-Plugins\",\"Plugins\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/\",\"name\":\"Download Large Files for JMeter Tests - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2018-11-25T00:42:46+00:00\",\"dateModified\":\"2018-11-25T00:42:46+00:00\",\"description\":\"If you need to use large or sensitive files in JMeter tests, you can use the JMeter File Download plugin to privately host files for use on your load agent.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Download Large Files for JMeter Tests\"}]},{\"@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":"Download Large Files for JMeter Tests - RedLine13","description":"If you need to use large or sensitive files in JMeter tests, you can use the JMeter File Download plugin to privately host files for use on your load agent.","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\/2018\/11\/download-large-files-for-jmeter-tests\/","og_locale":"en_US","og_type":"article","og_title":"Download Large Files for JMeter Tests - RedLine13","og_description":"If you need to use large or sensitive files in JMeter tests, you can use the JMeter File Download plugin to privately host files for use on your load agent.","og_url":"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/","og_site_name":"RedLine13","article_published_time":"2018-11-25T00:42:46+00:00","og_image":[{"url":"http:\/\/54.161.25.214\/wp-content\/uploads\/2018\/11\/data_source_with_border.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\/2018\/11\/download-large-files-for-jmeter-tests\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/"},"author":{"name":"RedLine13","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28"},"headline":"Download Large Files for JMeter Tests","datePublished":"2018-11-25T00:42:46+00:00","dateModified":"2018-11-25T00:42:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/"},"wordCount":291,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["JMeter","large files","plugins","RedLine13"],"articleSection":["JMeter-Plugins","Plugins"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/","url":"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/","name":"Download Large Files for JMeter Tests - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2018-11-25T00:42:46+00:00","dateModified":"2018-11-25T00:42:46+00:00","description":"If you need to use large or sensitive files in JMeter tests, you can use the JMeter File Download plugin to privately host files for use on your load agent.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2018\/11\/download-large-files-for-jmeter-tests\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Download Large Files for JMeter Tests"}]},{"@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\/5447","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=5447"}],"version-history":[{"count":0,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/5447\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=5447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=5447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=5447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}