{"id":70771,"date":"2020-01-07T14:50:46","date_gmt":"2020-01-07T09:20:46","guid":{"rendered":"https:\/\/www.vskills.in\/certification\/tutorial\/?p=70771"},"modified":"2024-04-12T14:22:20","modified_gmt":"2024-04-12T08:52:20","slug":"understanding-jmeter","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/","title":{"rendered":"Understanding JMeter"},"content":{"rendered":"<h1><strong>Understanding JMeter<\/strong><\/h1>\n<figure style=\"width: 430px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg\" alt=\"Understanding JMeter\" width=\"430\" height=\"321\" \/><figcaption class=\"wp-caption-text\">Understanding JMeter<\/figcaption><\/figure>\n<p>In this section, we will be understanding JMeter. Therefore, let&#8217;s begin.<\/p>\n<p>The Apache JMeter\u2122 application is open-source software. It is a 100% pure Java application which test functional behavior and measure performance. Moreover, it evaluates performance on static as well as dynamic resources.<\/p>\n<p>Further, JMeter can help you regression test your application by letting you create test scripts with assertions to validate that your application is returning the results you expect.<\/p>\n<p>Apache JMeter features include:<\/p>\n<ul>\n<li>Firstly, Ability to load and performance test many different applications\/server\/protocol types:<\/li>\n<li>Secondly, Web &#8211; HTTP, HTTPS (Java, NodeJS, PHP, ASP.NET, \u2026)<\/li>\n<li>In addition, SOAP \/ REST Webservices<\/li>\n<li>Moreover, Database via JDBC<\/li>\n<li>Further, LDAP<\/li>\n<li>Lastly, Message-oriented middleware (MOM) via JMS<\/li>\n<\/ul>\n<h2><strong>Understanding JMeter Running<\/strong><\/h2>\n<p>To run JMeter, run the jmeter.bat (for Windows) or JMeter (for Unix) file. You can find these files in the bin dictionary.<\/p>\n<p>It may be necessary to set a few environment variables to configure the JVM used by JMeter. JVM_ARGS=&#8221;-Xms1024m -Xmx1024m&#8221; jmeter -t test.jmx [etc.]\n<p>will override the HEAP settings in the script.<\/p>\n<p>To set those variables permanently, you can place them in a file called setenv.sh in the bin directory. An example for bin\/setenv.sh could look like:<\/p>\n<p>Firstly, # This is the file bin\/setenv.sh,<\/p>\n<p>Secondly, # it will have its source in bin\/jmeter<\/p>\n<p>After that, # Use a bigger heap, but a smaller metaspace, than the default<\/p>\n<p>export HEAP=&#8221;-Xms1G -Xmx1G -XMaxMetaspaceSize=192m&#8221;<\/p>\n<p># Try to guess the locale from the OS. Space as value is on purpose!<\/p>\n<p>export JMETER_LANGUAGE=&#8221;<\/p>\n<ul>\n<li>GC_ALGO &#8211; Java runtime options to specify JVM garbage collection algorithm. Defaults to -XX:+UseG1GC -XX:MaxGCPauseMillis=250 -XX:G1ReservePercent=20<\/li>\n<li>HEAP &#8211; Java runtime options for memory management used when JMeter is started. Defaults to -Xms1g -Xmx1g -X:MaxMetaspaceSize=256m<\/li>\n<li>JAVA_HOME &#8211; Must point at your Java Development Kit installation. Required to run the with the &#8220;debug&#8221; argument. On some OSes it JMeter will try its best to guess the location of the JVM.<\/li>\n<li>JMETER_COMPLETE_ARGS &#8211; If set indicates, that JVM_ARGS and JMETER_OPTS are to be used, only. All other options like HEAP and GC_ALGO will be ignored. Default is empty.<\/li>\n<li>JMETER_HOME &#8211; May point to your JMeter install dir. If empty it will be set relative to the jmeter script.<\/li>\n<li>JMETER_LANGUAGE &#8211; Java runtime options to specify used language. Defaults to -Duser.language=en -Duser.region=EN<\/li>\n<li>JMETER_OPTS &#8211; Java runtime options used when JMeter is started. Special options for operating systems might be added by JMeter.<\/li>\n<\/ul>\n<h3><strong>Create Test Plan from Template<\/strong><\/h3>\n<p>Firstly, you have the ability to create a new Test Plan from the existing template. To do so you use the menu File \u2192 Templates\u2026 or Templates icon:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-144229 aligncenter\" src=\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2019\/12\/Image-8-2.png\" alt=\"\" width=\"471\" height=\"160\" \/><\/p>\n<p class=\"VSKILLbodytext\">After that, a popup appears you can then choose a template among the list:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-144231 aligncenter\" src=\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2019\/12\/Image-9-2.png\" alt=\"\" width=\"555\" height=\"369\" \/><\/p>\n<p>Lastly, documentation for each template explains what to do once the test plan is created from the template.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Get certified and unlock more opportunities. Practice and Validate your skills to become a\u00a0<a href=\"https:\/\/www.vskills.in\/certification\/testing\/agile-testing-certification\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/www.vskills.in\/certification\/testing\/agile-testing-certification&amp;source=gmail&amp;ust=1579152864978000&amp;usg=AFQjCNEu1fdFuLWPniR55uUanyQjB80Z8w\">Certified Agile Testing Professional<\/a>\u00a0Now!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Understanding JMeter In this section, we will be understanding JMeter. Therefore, let&#8217;s begin. The Apache JMeter\u2122 application is open-source software. It is a 100% pure Java application which test functional behavior and measure performance. Moreover, it evaluates performance on static as well as dynamic resources. Further, JMeter can help you regression test your application by&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[8156],"tags":[7163],"class_list":["post-70771","page","type-page","status-publish","hentry","category-agile-testing","tag-jmeter"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Understanding JMeter - Vskills Tutorial<\/title>\n<meta name=\"description\" content=\"Enrich your profile with advanced learning skills and expert tutorials on understanding JMeter. Prepare and become Certified Agile Testing Professional Now!\" \/>\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.vskills.in\/certification\/tutorial\/understanding-jmeter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding JMeter - Vskills Tutorial\" \/>\n<meta property=\"og:description\" content=\"Enrich your profile with advanced learning skills and expert tutorials on understanding JMeter. Prepare and become Certified Agile Testing Professional Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vskills.in\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-12T08:52:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/\",\"name\":\"Understanding JMeter - Vskills Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg\",\"datePublished\":\"2020-01-07T09:20:46+00:00\",\"dateModified\":\"2024-04-12T08:52:20+00:00\",\"description\":\"Enrich your profile with advanced learning skills and expert tutorials on understanding JMeter. Prepare and become Certified Agile Testing Professional Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#primaryimage\",\"url\":\"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg\",\"contentUrl\":\"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding JMeter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"name\":\"Tutorial\",\"description\":\"Vskills - A initiative in elearning and certification\",\"publisher\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\",\"name\":\"Vskills\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"width\":73,\"height\":55,\"caption\":\"Vskills\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vskills.in\/\",\"https:\/\/x.com\/vskills_in\",\"https:\/\/www.linkedin.com\/company-beta\/1371554\/\",\"https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding JMeter - Vskills Tutorial","description":"Enrich your profile with advanced learning skills and expert tutorials on understanding JMeter. Prepare and become Certified Agile Testing Professional Now!","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.vskills.in\/certification\/tutorial\/understanding-jmeter\/","og_locale":"en_US","og_type":"article","og_title":"Understanding JMeter - Vskills Tutorial","og_description":"Enrich your profile with advanced learning skills and expert tutorials on understanding JMeter. Prepare and become Certified Agile Testing Professional Now!","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2024-04-12T08:52:20+00:00","og_image":[{"url":"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg","type":"","width":"","height":""}],"twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/","name":"Understanding JMeter - Vskills Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#primaryimage"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#primaryimage"},"thumbnailUrl":"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg","datePublished":"2020-01-07T09:20:46+00:00","dateModified":"2024-04-12T08:52:20+00:00","description":"Enrich your profile with advanced learning skills and expert tutorials on understanding JMeter. Prepare and become Certified Agile Testing Professional Now!","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#primaryimage","url":"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg","contentUrl":"https:\/\/flood.io\/wp-content\/uploads\/2018\/10\/apachejmeter-442x330.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/understanding-jmeter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Understanding JMeter"}]},{"@type":"WebSite","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","name":"Tutorial","description":"Vskills - A initiative in elearning and certification","publisher":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization","name":"Vskills","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","width":73,"height":55,"caption":"Vskills"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vskills.in\/","https:\/\/x.com\/vskills_in","https:\/\/www.linkedin.com\/company-beta\/1371554\/","https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw"]}]}},"_links":{"self":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/70771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/comments?post=70771"}],"version-history":[{"count":6,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/70771\/revisions"}],"predecessor-version":[{"id":76890,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/70771\/revisions\/76890"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=70771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=70771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=70771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}