{"id":994,"date":"2015-09-28T21:28:19","date_gmt":"2015-09-29T01:28:19","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?page_id=994"},"modified":"2022-01-17T23:41:52","modified_gmt":"2022-01-18T04:41:52","slug":"gatling-command-line-parameters","status":"publish","type":"page","link":"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/","title":{"rendered":"Gatling Command Line Parameters"},"content":{"rendered":"<p>Under &#8216;Advanced Gatling Test Options&#8217; you can modify the Gatling command line to pass in custom properties.<\/p>\n<p>As defined in the Gatling documentation for <a href=\"http:\/\/gatling.io\/docs\/2.0.1\/cookbook\/passing_parameters.html\">passing parameters<\/a><\/p>\n<blockquote><p>You might want to pass parameters from the command line to the Simulation, for example the number of users, the duration of the ramp&#8230;<\/p>\n<p>This can be done very easily with additional <tt class=\"docutils literal\"><span class=\"pre\">JAVA_OPTS<\/span><\/tt> in the launch script:<\/p>\n<p><span class=\"pre\">JAVA_OPTS=&#8221;-Dusers=500<\/span> <span class=\"pre\">-Dramp=3600&#8243;<\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>In the advanced settings we provide a way to manage the JAVA_OPTS by defining the string you want passed\u00a0through.<\/p>\n<p>As seen in the user interface<\/p>\n<p><a href=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/09\/Screen-Shot-2015-09-28-at-9.26.33-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-995\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/09\/Screen-Shot-2015-09-28-at-9.26.33-PM.png\" alt=\"Screen Shot 2015-09-28 at 9.26.33 PM\" width=\"711\" height=\"169\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/09\/Screen-Shot-2015-09-28-at-9.26.33-PM.png 711w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/09\/Screen-Shot-2015-09-28-at-9.26.33-PM-300x71.png 300w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/a><\/p>\n<p>Which would produced in the command line<\/p>\n<blockquote><p>JAVA_OPTS=&#8221;-Dusers=500 -Dramp=3600&#8243;<\/p><\/blockquote>\n<p>This is an advanced feature and should be used with caution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Under &#8216;Advanced Gatling Test Options&#8217; you can modify the Gatling command line to pass in custom properties. As defined in the Gatling documentation for passing parameters You might want to pass parameters from the command line to the Simulation, for example the number of users, the duration of the ramp&#8230; This can be done very easily with additional JAVA_OPTS in the launch script: JAVA_OPTS=&#8221;-Dusers=500 -Dramp=3600&#8243; &nbsp; In the advanced settings we provide a way to manage<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":23,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["entry","page","publish","author-user","post-994"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Gatling Command Line Parameters - RedLine13<\/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.redline13.com\/blog\/gatling-command-line-parameters\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gatling Command Line Parameters - RedLine13\" \/>\n<meta property=\"og:description\" content=\"Under &#8216;Advanced Gatling Test Options&#8217; you can modify the Gatling command line to pass in custom properties. As defined in the Gatling documentation for passing parameters You might want to pass parameters from the command line to the Simulation, for example the number of users, the duration of the ramp&#8230; This can be done very easily with additional JAVA_OPTS in the launch script: JAVA_OPTS=&#8221;-Dusers=500 -Dramp=3600&#8243; &nbsp; In the advanced settings we provide a way to manageRead More &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-18T04:41:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/09\/Screen-Shot-2015-09-28-at-9.26.33-PM.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/\",\"name\":\"Gatling Command Line Parameters - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2015-09-29T01:28:19+00:00\",\"dateModified\":\"2022-01-18T04:41:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gatling Command Line Parameters\"}]},{\"@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\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gatling Command Line Parameters - RedLine13","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\/gatling-command-line-parameters\/","og_locale":"en_US","og_type":"article","og_title":"Gatling Command Line Parameters - RedLine13","og_description":"Under &#8216;Advanced Gatling Test Options&#8217; you can modify the Gatling command line to pass in custom properties. As defined in the Gatling documentation for passing parameters You might want to pass parameters from the command line to the Simulation, for example the number of users, the duration of the ramp&#8230; This can be done very easily with additional JAVA_OPTS in the launch script: JAVA_OPTS=&#8221;-Dusers=500 -Dramp=3600&#8243; &nbsp; In the advanced settings we provide a way to manageRead More &rarr;","og_url":"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/","og_site_name":"RedLine13","article_modified_time":"2022-01-18T04:41:52+00:00","og_image":[{"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/09\/Screen-Shot-2015-09-28-at-9.26.33-PM.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/","url":"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/","name":"Gatling Command Line Parameters - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2015-09-29T01:28:19+00:00","dateModified":"2022-01-18T04:41:52+00:00","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/gatling-command-line-parameters\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Gatling Command Line Parameters"}]},{"@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\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/pages\/994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"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=994"}],"version-history":[{"count":0,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/pages\/994\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}