Stepping Thread Group

Reference

blazemeter


What it is

The Stepping Thread Group lets us:

  • Determine the same parameters as the standard Thread Group
  • Increase thread load by portions
  • Configure hold target load time
  • Decrease load by portions.
Stepping Thread Group_第1张图片


Example

scenario:

  • 1,000 threads as target load
  • 0 seconds waiting after the test starts
  • 0 threads run at the immediate beginning of the test
  • 100 threads are added every 30 seconds with a ramp-up (or step transition time) of 10 seconds
  • The target load is held for 300 seconds (5 minutes)
  • Finally, 10 threads are stopped every 3 seconds.

This means that:

  • The test begins immediately when JMeter starts, since there is 0 seconds waiting.
  • Every 30 seconds 100 users will be added, until we reach 1,000 users. The first step is 1-100, the second 101-200, etc., because we defined 0 threads to run at the beginning. If we defined 50 threads to run the first step would be 51 - 150, the second 151 - 250, etc. and the test would be completed faster.
  • It will take each of the steps (with 100 users each) 10 seconds to complete. After that JMeter waits 30 seconds before starting the next step.
  • After reaching 1,000 threads all of them will continue running and hitting the server together for 5 minutes.
  • At the end, 10 threads will stop every 3 seconds.


  
    
      
      false
      false
      
        
      
      
    
    
      
        continue
        1000
        0
        100
        0
        30
        10
        3
        300
        10
        
          false
          -1
        
      
      
        
          
            
          
          www.zhibo8.cc
          
          
          
          
          
          
          GET
          true
          false
          true
          false
          false
          
        
        
      
      
        false
        
          saveConfig
          
            
            true
            true
            true
            
            true
            true
            true
            true
            false
            true
            true
            false
            false
            true
            true
            false
            false
            false
            true
            0
            true
            true
            true
            true
            true
          
        
        
        500
        false
        
        
        
        
        false
        false
      
      
    
  



你可能感兴趣的:(Stepping Thread Group)