JMeter Execution Order - General Rules

Q

What are general rules on the execution order of different types of test elements in JMeter?

✍: FYIcenter.com

A

Here are some general rules on the execution order of different types of test elements in JMeter:

1. The center line of test plan execution is based on Samplers. If a Sampler is not executed, all of its associated supporting elements are not executed.

2. When a Sampler is executed, its associated supporting elements are executed in the following order:

Configuration elements
Pre-Processors
Timers
Sampler
Post-Processors (unless SampleResult is null)
Assertions (unless SampleResult is null)
Listeners (unless SampleResult is null)

3. Thread groups are executed in the sequence of:

setUp Thread Groups
Thread Groups
tearDown Thread Groups

4. Multiple elements of the same type attached to the same tree node are executed sequentially.

 

JMeter Execution Order - Thread Groups

Test Plan Element Tree in JMeter

JMeter Test Elements and Execution Order

⇑⇑ Apache JMeter Tutorials

2018-08-14, 2908🔥, 0💬