JMeter脚本中常用标签释义

JMeter脚本中常用标签释义

<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.1.1 r1855137>





  
    
    " testclass="TestPlan" testname="Test Plan" enabled="true">
      ">
      ">false
      ">true
      ">false
      " elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
        "/>
      
      ">
    
    
      
      " testclass="SetupThreadGroup" testname="user、login线程组" enabled="true">
        ">continue
        " elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
          ">false
          ">1
        
        ">100
        ">2
        ">false
        ">
        ">
      





      
        
        " testclass="HTTPSamplerProxy" testname="users_api  Request" enabled="true">
          " elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
            "/>
          
          ">127.0.0.1
          ">8080
          ">http
          ">utf-8
          ">/users
          ">GET
          ">true
          ">false
          ">true
          ">false
          ">true
          ">
          ">
          ">
        





        
          
          " testclass="ResponseAssertion" testname="user-api Response Assertion" enabled="false">
            ">
              ">["lucky","cassic","doubleC"]
            
            ">do not matches lucky ,cassic,doublec
            ">Assertion.response_data
            ">false
            ">1
          
          





        
        
        " testclass="ResultCollector" testname="View  Request  Tree" enabled="true">
          ">false
          
            saveConfig
            ">
              
              true
              true
              true
              
              true
              true
              true
              true
              false
              true
              true
              false
              false
              false
              true
              false
              false
              false
              true
              0
              true
              true
              true
              true
              true
              true
            
          
          ">
        





        
        
        " testclass="HTTPSamplerProxy" testname="login_api Request" enabled="false">
          " elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
            ">
              " elementType="HTTPArgument">
                ">false
                ">${name}
                ">=
                ">true
                ">name
              
              pwd" elementType="HTTPArgument">
                ">false
                ">${pwd}
                ">=
                ">true
                ">pwd
              
            
          
          ">127.0.0.1
          ">8080
          ">
          ">
          ">/login
          ">POST
          ">true
          ">false
          ">true
          ">false
          ">
          ">
          ">
        





        
        
        " testclass="ResultCollector" testname="Aggregate Graph" enabled="true">
          ">false
          
            saveConfig
            ">
              
              true
              true
              true
              
              true
              true
              true
              true
              false
              true
              true
              false
              false
              false
              true
              false
              false
              false
              true
              0
              true
              true
              true
              true
              true
              true
            
          
          ">
        





        
        
        " testclass="CSVDataSet" testname="CSV Data Set Config" enabled="false">
          ">C:/Users/锋锋/Desktop/test.txt
          ">UTF-8
          ">name,pwd
          ">false
          ">,
          ">false
          ">true
          ">false
          ">shareMode.all
        





        
        
        " testclass="ResultCollector" testname="Assertion Results" enabled="false">
          ">false
          
            saveConfig
            ">
              
              true
              true
              true
              
              true
              true
              true
              true
              false
              true
              true
              false
              false
              false
              true
              false
              false
              false
              true
              0
              true
              true
              true
              true
              true
              true
            
          
          ">
        
        





      
      
      " testclass="ThreadGroup" testname="info Thread Group" enabled="true">
        ">continue
        " elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
          ">false
          ">1
        
        ">10
        ">1
        ">false
        ">
        ">
      





      
                
        " testclass="HTTPSamplerProxy" testname="info HTTP Request" enabled="true">
          " elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
            "/>
          
          ">${ip}
          ">${port}
          ">
          ">
          ">/info?name=${name}
          ">POST
          ">true
          ">false
          ">true
          ">false
          ">
          ">
          ">
        





        
          
          " testclass="ResultCollector" testname="info View Results Tree" enabled="true">
            ">false
            
              saveConfig
              ">
                
                true
                true
                true
                
                true
                true
                true
                true
                false
                true
                true
                false
                false
                false
                true
                false
                false
                false
                true
                0
                true
                true
                true
                true
                true
                true
              
            
            ">
          





          
          
          " testclass="Arguments" testname="User Defined Variables" enabled="true">
            ">
              " elementType="Argument">
                ">ip
                ">127.0.0.1
                ">服务器ip地址
                ">=
              
              " elementType="Argument">
                ">port
                ">8080
                ">服务器端口号
                ">=
              
              " elementType="Argument">
                ">name
                ">lucky every day
                ">参数
                >=</stringProp>
              </elementProp>
            </collectionProp>
          </Arguments>




        <hashTree/>
      </hashTree>
    </hashTree>
  </hashTree>
</jmeterTestPlan>

你可能感兴趣的:(JMeter脚本中常用标签释义)