您的位置:首页 > 其它

jmeter: Execution order, jmeter test plan执行顺序

2010-02-24 16:46 309 查看
Execution order, jmeter test plan执行顺序

Configuration elements

Pre-Processors

Timers

Sampler

Post-Processors (unless SampleResult is null)

Assertions (unless SampleResult is null)

Listeners (unless SampleResult is null)

Please note that Timers, Assertions, Pre- and Post-Processors are only processed if there is a sampler to which they apply. Logic Controllers and Samplers are processed in the order in which they appear in the tree. Other test elements are processed according to the scope in which they are found, and the type of test element. [Within a type, elements are processed in the order in which they appear in the tree].
For example, in the following test plan:

Controller

Post-Processor 1

Sampler 1

Sampler 2

Timer 1

Assertion 1

Pre-Processor 1

Timer 2

Post-Processor 2

The order of execution would be:
Pre-Processor 1
Timer 1Timer 2
Sampler 1
Post-Processor 1
Post-Processor 2
Assertion 1

Pre-Processor 1
Timer 1
Timer 2
Sampler 2
Post-Processor 1
Post-Processor 2
Assertion 1

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: