In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Jmeter is an open source lightweight tool. With the development of the Internet, jmeter is used more and more widely. In addition to automating our interfaces, we can also complete the performance tests we need.
With the application and upgrade of jmeter, the previous difference with lr is getting smaller and smaller. Now let's test the performance by setting the rendezvous point in jmeter's Synchronizing Timer.
First, add a collection point:
1. Right-click on the thread group and select a timer
2. Select Synchronizing Timer in the timer
3. Set Number of Simulated Users to Group by
4. Set Timeout in milliseconds
Second, the description of the assembly point:
1. Number of Simulated Users to Group by: the number of threads released at a time. If set to 0, it is equivalent to the number of threads set to the thread rent.
2. Timeout in milliseconds: if set to 0, the timer will wait for the number of threads to reach the value set in "Number of Simultaneous Users to Group" before releasing. If it is greater than 0, then if the maximum wait time (in milliseconds) set in Timeout in milliseconds is exceeded and the value set in "Number of Simultaneous Users to Group" is not reached, Timer will no longer wait and release the thread that has arrived. Default is 0
Note:
1. If Timeout in milliseconds is set to 0 and the number of threads cannot reach the value set in "Number of Simultaneous Users to Group by", then Test will wait indefinitely unless terminated manually.
Synchronizing timer only works on threads in the same JVM, so if you use concurrent tests, make sure that the value set in "Number of Simultaneous Users to Group by" is not greater than the number of users contained in its thread group.
2. Synchronizing Timer is executed before each sampler, not after. No matter whether the timer is placed after or before the sampler, as follows, synchronous timers are executed before HTTP request 1 and HTTP request 2 are executed.
3. Scope: timers in the same scope as sampler will be executed before a sampler is executed
4. If you want the timer to be applied to only one of the sampler, add the timer as a child node, as shown in the following figure
The timer works only on HTTP request 2, that is, the timer is executed only before HTTP request 2 is executed, regardless of HTTP request 1
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: 0
*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.