jmeter parametric 1_User Parameters (user parameter)

Parametric : is a common technique in the automated test scripts, some input parameters may be used instead of the script, such as scene parameters passed by GET / POST request login mode, the specified range of parameters when the script runs and rules.
Script at run time, selected according to the needs of different parameter values as input, which is called a data driver test (Data Driven Test), the range parameter is referred to as a data pool (Data Pool).

 

  • A parametric manner: User Parameters User Parameters
  1. Operating path: HTTP Sampler -> Add -> Pre Processors -> User Parameters 

     

  2. Parameter settings, parameter values 

     

  3.  Sampler parameter configuration request HTTP interface 

     

  4. Thread Group configuration
    settings 2 = number of threads, i.e. virtual users 2, corresponding to the two user set User Parameters 

     

  5. Add the monitoring process execution View Results Tree
    implementation of the results after the completion of the Run:

     

     

 

Guess you like

Origin www.cnblogs.com/little-little-bai/p/11424504.html