1. Introduction

  2. Defining the Test Scope
    1. Know your scenario and put it into words/flowchart
    2. Define your goals
    3. Get the amount of your daily users
    4. Understand your application spike hours
    5. Know you KPIs
  3. Building your script
    1. Choose the right Thread group for your scenario
    2. Use Default HTTP request to control your HTTPs requests Server/IP, Protocol, Implementation etc..
    3. Verify you added a cookie manager
    4. Check you fetch every dynamic values (e.g form_build_id) and use a RegEx and a variable for it
    5. User Define Variables VS User parameters preprocess - know which to use and when
    6. Use assertion when you can't count on the HTTP response code (login for example)
    7. Use the header manager to control your requests headers (user-agent) and change the values if needed
  4. Preparation toward your load test
    1. Debug your script, make sure all files and plugins are there.
    2. Verify you have your APM installed and configured.
    3. Use the latest JMeter stable version
    4. Optimize your script
      1. Use JSR233 + Groovy + compilation key instead of BSF
      2. Disable your script listeners
      3. Run in non-gui mode
      4. Optimize your Java configuration to meet your needs
      5. Use CSV as your output format
      6. Prefer using Regular extractor instead of XPath
    5. Use the rampup wisely
    6. Check your distributed configuration and verify it works
  5. What to notice in your load report
    1. The right way to scale up (look here )
    2. Identify your bottlenecks and errors