In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Demand analysis
1. In the process of step-by-step incremental performance stress testing using step-by-step threads, because the result generated by the aggregation report is a summary result, the test results will not be summarized in step-by-step mode, which leads to the failure to compare the changing trends of tps, response reality and error under different step-by-step modes according to the generated aggregation report.
2. Based on the above requirements, the following effects need to be achieved. For example, under 1-50 concurrent users, the current stress test results are summarized into 1-50 thread groups, and under 51-100 concurrent users, the current stress test results are summarized into 51-100 thread groups.
3. After research, this effect can be achieved by getting the current active thread. This demonstration uses 15 threads.
Add a ladder thread group
Test Plan "add" Threads "jp@gc-Stepping Thread Group (deprecated)
Ladder mode specific thread setting
Right-click the thread group "add" Sample "BeanShell Sampler this time's java statement to get the total number of active threads, then assign a value to a thread based on the total number of active threads, and finally call the transaction name. The java statement is as follows
Then add various requests and place them in a transaction controller, which invokes the variable
2. Perform pressure test tasks
1. This stress test uses 5 users per 30s for a total of 15 users. The execution results are as follows: real-time results with 1-5 users
Real-time results with 6-10 concurrent users
Real-time results with concurrent users of 11-15
According to the output log, we can know that the effect is in line with the expectation.
if the article is helpful to you, you can click on the follow function in the lower right corner. Welcome to forward and clap the brick. I will continue to launch articles related to the test and share the testing technology with you. Every original article is written attentively to put an end to plagiarism and copying. The official Wechat account is synchronized with the articles on this platform for easy reference.
QQ technology exchange group: please enter the verification information 51CTO to add the group.
Wechat QR code follow official account:
After following, reply to the resource download, and you can get the download address of all kinds of resources shared by yourself.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 216
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.