{"id":84,"date":"2014-05-05T18:04:58","date_gmt":"2014-05-06T00:04:58","guid":{"rendered":"http:\/\/blog.cigniti.com\/?p=84"},"modified":"2018-10-11T11:34:56","modified_gmt":"2018-10-11T06:04:56","slug":"jmeter-tips-and-tricks-part-2","status":"publish","type":"post","link":"https:\/\/www.cigniti.com\/blog\/jmeter-tips-and-tricks-part-2\/","title":{"rendered":"JMeter tips and tricks – Part 2"},"content":{"rendered":"
Further to our previous blog here is the next one:<\/p>\n
How to run JMeter test plan for specified amount of time?<\/b><\/p>\n
There are two ways to specifying certain amount of time to run a JMeter test plan.<\/p>\n
Technique 1:<\/b><\/p>\n <\/p>\n \u00a0\u00a0Technique 2:<\/b><\/p>\n Add -> Sampler -> Test Action<\/b><\/p>\n <\/p>\n Select Target<\/b> as Current Thread<\/b> and Action<\/b> as Pause<\/b> and enter 1800000<\/b><\/p>\n Milliseconds (30 minutes duration). This sampler acts as a Pause.<\/p>\n Select Target<\/b> as All Threads<\/b> and Action<\/b> as Stop<\/b>. This sampler stops the<\/p>\n Execution once it reaches the specified duration<\/p>\n Summary<\/b>: <\/b>When we want to execute the load test for specified amount of time i.e. 2 hrs. Then we go for above either of two techniques.<\/p>\n","protected":false},"excerpt":{"rendered":" Further to our previous blog here is the next one: How to run JMeter test plan for specified amount of time? There are two ways to specifying certain amount of time to run a JMeter test plan. Technique 1: In the Thread Group Element, Check scheduler and specify the Duration in seconds. If you want […]<\/p>\n","protected":false},"author":11,"featured_media":13135,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[51,50,52,49],"ppma_author":[3740],"authors":[{"term_id":3740,"user_id":11,"is_guest":0,"slug":"rahul-goel","display_name":"Rahul Goel","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/9b02d9e2da29eb534f8564e296ec4df7?s=96&d=mm&r=g","user_url":"http:\/\/www.cigniti.com","last_name":"Goel","first_name":"Rahul","job_title":"","description":""}],"_links":{"self":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts\/84"}],"collection":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":0,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/media\/13135"}],"wp:attachment":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/tags?post=84"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
\n
\n
\n
\n