Você está na página 1de 11

Thread Group

Introduction
Thread group elements are the beginning points of any test plan.
All controllers and samplers must be under a thread group.
Other elements, e.g. Listeners, may be placed directly under the test
plan.
Thread group element controls the number of threads JMeter will
use to execute your test.
controls for a thread group allow you to set:
number of threads
ramp-up period
number of times to execute the test.

Ramp Up Periode
Each thread will execute the test plan in its entirety and completely
independently of other test threads.
Ramp Up Periode : If 10 threads are used, and the ramp-up period
is 100 seconds, then JMeter will take 100 seconds to get all 10
threads up and running. Each thread will start 10 (100/10) seconds
after the previous thread was begun.
Loop Count Defines the number of times to execute the test.

Action to be taken after sampler error


Continue : Continue the test even after a sampler error.
Start Next Thread group :Start execute next thread gruop after is
any sampler error occurs.

Stop Thread : Stop executing test immediate if error occurs.


Sheduler Configuration
You can configure the start and end time of running the test.

Other Thread Group Elements


jp@gc - Stepping Thread Group.
jp@gc - Ultimate Thread Group.
setUp Thread Group.
tearDown Thread Group.
bzm - Arrivals Thread Group.

bzm - Free-Form Arrivals Thread Group.


bzm - Concurrency Thread Group.

Stepping Thread Group

This is a custom Thread Group.


Preview Graph.
Increase and Decrese load by portions.
Initial threads can be delayed.

Ultimate Thread Group

Infinite number of schedule records.


Separate ramp-up time, shutdown time, flight time for each shedule
record
Load preview graph

Concurrency Thread Group


Maintain the level of concurrency.
Unlike standard Thread Group, it won't create all the threads upfront,
so extra memory won't be used

Arrivals Thread Group

This TG also use to achive the concurrency

Free-Form Arrivals Thread Group

Provide idea of "arriving users" .


free-form schedule capabilities.

SetUp and TearDown Thread


setUp Thread Group

tearDown Thread Group

A special type of ThreadGroup


that can be utilized to perform
Pre-Test Actions. The behavior
of these threads is exactly like a
normal Thread Group element.
The difference is that these type
of threads execute before the
test proceeds to the executing of
regular Thread Groups.

A special type of ThreadGroup


that can be utilized to perform
Post-Test Actions. The behavior of
these threads is exactly like a
normal Thread Group element.
The difference is that these type
of threads execute after the test
has finished executing its regular
Thread Groups.

Você também pode gostar