Best Practices

JMeter has some limitations especially when it is run in a distributed environment. Following these guidelines will assist in creating a real and continuous load:
  1. Do not use the Console to create your load . You can use the console for debugging purposes or to run a small load from it to make sure the script is running correctly. The GUI consumes a lot of memory under heavy load, therefore the console server by itself can not sustain a heavy load.
  2. Use the remote servers to create the load . Use the “Remote Start All” or “Remote Start” individual servers.
  3. Limit the number of threads per engine to 300 . This means the total number of threads generated by your test plan should be less than 300. The overall number of threads running from BlazeMeter will be the total number of threads multiplied by the number of JMeterEngines. For example, a test plan with 200 threads and 4 JMeterEngines, will generate a load of 800 threads.
  4. Disable the “View Result Tree” listener as it consumes a lot of memory and can result in the console freezing or JMeter running out of memory. It is, however, safe to use the “View Result Tree” listener with only “Errors” checked.
  5. Disable all JMeter graphs as they consume a lot of memory. You can view all of the real time graphs using the JTLs tab in your web interface.
  6. Monitor the logs . Any errors in the test plan or the test itself will appear in the log files that are available online under the Logs tab. For example: Out of Memory, disconnections etc.
  7. Do not forget to erase the local path from CSV Data Set Config if used.
  8. File names should include only alphanumeric characters, underscores or hyphens: [0-9],[aA-zZ],[_-]. File names should always include an extension .
  9. Clean the Files tab prior to every test run.

Best Practice Using JTL files

If you are using JTL files, we recommend following these guidelines:

  1. Assign a meaningful JTL file name . For example: 150210-4000t-1.jtl. Do not use spaces in the JTL file name.
  2. Make sure that the JTL file is saved in XML format and not CSV.
  3. Visit the JTLs tab at least once to generate the real-time reports.
  4. Use short and meaningful names for labels identifying controllers and samplers (for example HTTP requests). If you use long names, the names themselves will take the better part of the graphs generated using the JTLs tab.

How do I?

  1. Adding a New JMeter Test
  2. Adding a Test
  3. Best Practices
  4. Customize JTL Properties
  5. Do you provide dedicated IPs?
  6. Download files from the Files tab
  7. How BlazeMeter simplifies maintaining JMeter scripts
  8. How can I download my site report.
  9. How can I make my report more detailed and present also embedded resources statistics
  10. How to override basic JMeter properties from the test dashboard?
  11. How to run 1000 concurrent users using the BASIC plan
  12. How to setup different CSV file for each JMeterEngine?
  13. How to simulate .htaccess login
  14. I have short test iterations. Can I run different scripts using the same test in a single test hour?
  15. If I have a test just run 10 minutes, does it count for one hour? or I can run 5 tests in one hour?
  16. Ignore Requests in the Reports
  17. IP spoofing / Hosts file modification
  18. JTL files and Real Time Reports
  19. Monitoring the JMeterEngine(s) Vital Signs
  20. Post Test Actions
  21. Presenting JTL files in BazeMeter
  22. Recording HTTP traffic in the Cloud
  23. Restart a Test
  24. Select the Number of JMeter Engines
  25. Set JMeterEngine Command Line Arguments
  26. Set Load Geographical Origin
  27. Set the Console Command Line Arguments
  28. Set the JMeter Version
  29. Simulating logged in session using BlazeMeter
  30. Synchronize and Aggregate the Results from Several Test Sessions in to a Single Aggregated Test
  31. The Load Reports
  32. Upload Files
  33. Upload Proprietary JAR file
  34. Upload user.properties and system.properties Files
  35. Upload your JMeter Script
  36. Use Dedicated IP Addresses
  37. Use Selenium for User-Experience Monitoring
  38. USER EXPERIENCE MONITORING WITH SELENIUM
  39. User Experience Monitoring with Selenium
  40. Using Concurrent Pool Size - JMeter 2.5+
  41. Using Include Conrtoller
  42. Using non-standard port. Unable to verify my site. Any workaround?
  43. Using the Auto Scripting Feature with BlazeMeter
  44. Viewing Reports in GUI Mode

Knowledge Base and Helpdesk