12 Ekim 2023 Perşembe

JMeter Thread Group

Giriş
Açıklaması şöyle
JMeter stands out from other testing tools due to its exceptional concurrency model, which governs how it executes requests in parallel. The concurrency model of JMeter relies on Thread Pools, widely recognized as the standard method for parallel processing in Java and several other programming languages. However, as with any advantage, there comes a significant trade-off: the resource-intensive nature of JMeter’s concurrency model.

In JMeter, each thread corresponds to a Java thread, further utilizing an Operating System (OS) thread for its execution. OS threads, although effective in accomplishing concurrent tasks, carry a certain level of weightiness, manifested in terms of memory consumption and CPU usage during context switching. This attribute poses a noteworthy challenge to JMeter’s performance. Moreover, certain operating systems enforce strict limitations on the total number of threads that can be generated, imposing implicit restrictions on JMeter’s capabilities.
Virtual Thread Group
Project Loom ile artık Virtual Thread kullanılıyor. Şeklen şöyle

Özellikler şöyle



Open Model Thread Group
Open Model Thread Group JMeter 5.5 ile geliyor. Açıklaması burada

Parametreler
Açıklaması şöyle
Number of Threads (users): The number of users that JMeter will attempt to simulate.
Ramp-Up Period (in seconds): The duration of time that JMeter will distribute the start of the threads over.
Loop Count: The number of times to execute the test.
Şeklen şöyle. Burada Ramp Up Time yani 1 dakika içinde Target Concurrent yani 1000 tane thread açılıyor.

Hiç yorum yok:

Yorum Gönder