{"id":71,"date":"2014-04-09T06:29:30","date_gmt":"2014-04-09T12:29:30","guid":{"rendered":"http:\/\/blog.cigniti.com\/?p=71"},"modified":"2018-10-11T11:42:17","modified_gmt":"2018-10-11T06:12:17","slug":"jmeter-tips-and-tricks-part1","status":"publish","type":"post","link":"https:\/\/coforge.site\/cigniti\/blog\/jmeter-tips-and-tricks-part1\/","title":{"rendered":"JMeter tips and tricks &#8211; Part 1"},"content":{"rendered":"<p>We plan to create a series of blog posts around Jmeter tips and tricks thatwill help performance testers to design some of the complex features using open source tool than having dependency on licensed tool . These posts will talk about the tips and tricks in using popular &amp; open source load testing tool JMeter.<\/p>\n<p><b><\/b><b>How to simulate bandwidth in JMeter?<\/b><\/p>\n<ul>\n<li>Go to JMeter_HOME\/bin folder, open <b>jmeter.properties <\/b><\/li>\n<li>Search for <b>httpclient.socket.http.cps=0<\/b><\/li>\n<li>Uncomment that line and enter your desired bandwidth to simulate<\/li>\n<li>If application is under https protocol then uncomment <b>httpclient.socket.https.cps=0<\/b><\/li>\n<li>Before entering your value in CPS (Character per second), use the below formula to convert kbps to cps.<b><\/b><\/li>\n<\/ul>\n<p><b>Formula: <\/b>(desired bandwidth*1024)\/8<\/p>\n<p>E.g. if desired bandwidth is 100 kbps, then cps would be 12800<\/p>\n<p><b>Summary<\/b>: \u00a0\u00a0When we want to run test on local LAN but need simulation of internet bandwidth or wireless bandwidth, the above solution is helpful.<\/p>\n<p>Stay tuned to this blog for more tricks and tips.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We plan to create a series of blog posts around Jmeter tips and tricks thatwill help performance testers to design some of the complex features using open source tool than having dependency on licensed tool . These posts will talk about the tips and tricks in using popular &amp; open source load testing tool JMeter. [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":13134,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[51,50,52,49],"ppma_author":[3740],"class_list":["post-71","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-performance-testing","tag-jmeter-load-testing","tag-jmeter-testing","tag-jmeter-testing-tool","tag-jmeter-tips"],"authors":[{"term_id":3740,"user_id":11,"is_guest":0,"slug":"rahul-goel","display_name":"Rahul Goel","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/88007255e345325e0434071b111f1b5e9569e19d8703b3f010ca8320361bf43d?s=96&d=mm&r=g","author_category":"","user_url":"http:\/\/www.cigniti.com","last_name":"Goel","first_name":"Rahul","job_title":"","description":""}],"_links":{"self":[{"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":0,"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/media\/13134"}],"wp:attachment":[{"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/tags?post=71"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/coforge.site\/cigniti\/blog\/wp-json\/wp\/v2\/ppma_author?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}