Jmeter stepped pressure measurement report sub-step polymerization bundling

Needs analysis
1, in a stepped ramp, threads measuring performance during compression, since the polymerization results are reported to generate a summary of the results of sub-step mode is not the measurement results are summarized pressure, which causes the polymerization can not compare different reports generated in accordance with step mode, TPS, in response to the actual, the error trend
2, the above requirements, it is necessary to achieve the following effects, such as 1 to 50 concurrent users to the current pressure measurement results are summarized in a thread group to 1-50, 51-100 concurrent pressure measured at the user, the current pressure measurement results are summarized in the 51-100 thread group
3, after careful study, the effect can be achieved by getting the currently active thread, this demo uses 15 threads

First, add a ladder thread group

  1. Test Plan "add" Threads "jp @ gc - Stepping Thread Group (deprecated)
    Jmeter stepped pressure measurement report sub-step polymerization bundling
  2. Thread ladder mode specific settings
    Jmeter stepped pressure measurement report sub-step polymerization bundling
  3. Right-click the Thread Group "Add" Sample "BeanShell Sampler
    • The realization of java statements to obtain the total number of active threads, and then assigned to a thread based on the total number of active threads, and finally to the transaction name calling, java statement is as follows
      Jmeter stepped pressure measurement report sub-step polymerization bundling
  4. Then add various requests, the transaction request is placed in a controller, the controller calls the transaction variable
    Jmeter stepped pressure measurement report sub-step polymerization bundling
    Second, perform pressure measurement task
    1, this pressing load measured using 30S 5 per user, total of 15 users, perform the following results
    • 1-5 concurrent users of real-time results
      Jmeter stepped pressure measurement report sub-step polymerization bundling
    • 6-10 concurrent users of real-time results
      Jmeter stepped pressure measurement report sub-step polymerization bundling
    • 11-15 concurrent users of real-time results
      Jmeter stepped pressure measurement report sub-step polymerization bundling
    • According to the log output, you can know that this effect in line with expectations
      Jmeter stepped pressure measurement report sub-step polymerization bundling

   If the article help you, you can click in the bottom right corner focus on functionality, welcome to forward, brick, I will continue to introduce articles related to testing, testing technology to share with you, each one original article is carefully written to prevent plagiarism copy , micro-channel public number 51cto articles and synchronization, facilitate access

Micro-channel two-dimensional code number of public attention:
Jmeter stepped pressure measurement report sub-step polymerization bundling
after attention, resources download reply, I can get a variety of shared resources Download


Jmeter stepped pressure measurement report sub-step polymerization bundling

Guess you like

Origin blog.51cto.com/6183574/2427480
Recommended