Collections:
JMeter Execution Order - Assertions
In what order Assertions are executed in JMeter?
✍: FYIcenter.com
Assertions of all types are executed in the order described in the rules below:
Let's create the following Test Plan tree, JMeter-Execution-Order-5.jmx, to verify these rules:
Test Plan |- setUp Thread Group | |- Sampler Z |- tearDown Thread Group | |- Sampler A |- Thread Group 1 | |- Sampler 11 | |- Sampler 12 | |- If Controller (1==2) | |- Sampler 13 |- Thread Group 2 | |- PreProcessor 2 | |- PostProcessor B | |- Assertion BB | |- Sampler 21 | |- Sampler 22 | |- If Controller (2==2) | |- Sampler 23 | |- Assertion CC | |- PostProcessor C | |- PreProcessor 3 |- PreProcessor 1 |- PostProcessor A |- Assertion AA
Run the above Test Plan. You see the following execution order:
PreProcessor 1 Sampler A PostProcessor A Assertion AA - Rule 2 applied PreProcessor 1 Sampler 11 PostProcessor A Assertion AA - Rule 2 applied PreProcessor 1 Sampler 12 PostProcessor A Assertion AA - Rule 2 applied PreProcessor 2 PreProcessor 1 Sampler 21 PostProcessor B PostProcessor A Assertion BB - Rule 3 applied Assertion AA PreProcessor 2 PreProcessor 1 Sampler 22 PostProcessor B PostProcessor A Assertion BB - Rule 3 applied Assertion AA PreProcessor 2 PreProcessor 1 PreProcessor 3 Sampler 23 PostProcessor B PostProcessor A PostProcessor C Assertion CC - Rule 4 applied Assertion BB - Rule 3 applied Assertion AA PreProcessor 1 Sampler Z PostProcessor A Assertion AA - Rule 2 applied
⇒ JMeter Execution Order - Listeners
⇐ JMeter Execution Order - PostProcessors
2020-07-07, 3587🔥, 2💬
Popular Posts:
How to call JMeter command in a Windows batch file? I want to create a single batch job to run JMete...
How to generate test fractional numbers? Test fractional numbers are numbers with fractions that are...
How to generate test fractional numbers? Test fractional numbers are numbers with fractions that are...
How to valid IP addresses? In order to help your programming or testing tasks, FYIcenter.com has des...
How to convert a date and time to a standard format? Date and time can be displayed in a number of s...