Apache Jmeter Best Practices and Performance Tuning Tips

8,930 views

Published on

This presentations explains about Apache Jmeter Best Practices and Performance Tuning Tips

Published in: Technology, Business
4 Comments
23 Likes
Statistics
Notes
No Downloads
Views
Total views
8,930
On SlideShare
0
From Embeds
0
Number of Embeds
71
Actions
Shares
0
Downloads
454
Comments
4
Likes
23
Embeds 0
No embeds

No notes for slide

Apache Jmeter Best Practices and Performance Tuning Tips

  1. 1. Apache Jmeter Best Practices and Performance Tuning Tips NAVEENKUMAR NAMACHIVAYAM Founder – QAInsights.com http://QAInsights.com
  2. 2. Apache Jmeter Best Practices Do not use GUI mode use jmeter -n -t test.jmx test.jtl, add a '-l' argument before the test plan name for listeners.
  3. 3. Apache Jmeter Best Practices Use Remote and Distributed testing for larger load testing
  4. 4. Apache Jmeter Best Practices Do not load more than 300 threads per Jmeter enginer
  5. 5. Apache Jmeter Best Practices Do not add Listeners to your Jmeter test plan
  6. 6. Apache Jmeter Best Practices Do not add Graphs to your Jmeter test plan
  7. 7. Apache Jmeter Best Practices Monitor the command prompt of Jmeter during testing (non-GUI mode) Monitor the log during testing (GUI mode)
  8. 8. Apache Jmeter Best Practices Erase the local path of all the CSV Data Set config files
  9. 9. Apache Jmeter Best Practices Use naming conventions for all the elements
  10. 10. Apache Jmeter Best Practices Use JTL file name (XML format) to store the logs
  11. 11. Apache Jmeter Performance Tuning Tips Add following properties for better output jmeter.save.saveservice.output_format=csv jmeter.save.saveservice.data_type=false jmeter.save.saveservice.label=true jmeter.save.saveservice.response_code=true jmeter.save.saveservice.response_data.on_error=false jmeter.save.saveservice.response_message=false jmeter.save.saveservice.successful=true jmeter.save.saveservice.thread_name=true jmeter.save.saveservice.time=true jmeter.save.saveservice.subresults=false jmeter.save.saveservice.assertions=false jmeter.save.saveservice.latency=true jmeter.save.saveservice.bytes=true jmeter.save.saveservice.hostname=true jmeter.save.saveservice.thread_counts=true jmeter.save.saveservice.sample_count=true jmeter.save.saveservice.response_message=false jmeter.save.saveservice.assertion_results_failure_message=false jmeter.save.saveservice.timestamp_format=HH:mm:ss jmeter.save.saveservice.default_delimiter=; jmeter.save.saveservice.print_field_names=true
  12. 12. Apache Jmeter Performance Tuning Tips Add relevant Assertions and Post-processors elements only
  13. 13. Apache Jmeter Performance Tuning Tips Do not use XPATH extractor
  14. 14. Apache Jmeter Performance Tuning Tips Use JSR 223 and Groovy for scripting
  15. 15. Apache Jmeter Performance Tuning Tips Generate reports after run
  16. 16. Thank you Please visit http://qainsights.com/services for more training programs.

×