Collections:
JMeter Execution Order - Listeners
In what order Listeners are executed in JMeter?
✍: FYIcenter.com
Listeners of all types
are executed in the order described in the rules below:
Let's create the following Test Plan tree, JMeter-Execution-Order-6.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 | |- Listener J | |- Assertion BB | |- Sampler 21 | |- Sampler 22 | |- If Controller (2==2) | |- Sampler 23 | |- Assertion CC | |- Listener K | |- PostProcessor C | |- PreProcessor 3 |- PreProcessor 1 |- PostProcessor A |- Listener I |- Assertion AA
Run the above Test Plan. You see the following execution order:
PreProcessor 1 Sampler A PostProcessor A Assertion AA Listener I - Rule 2 applied PreProcessor 1 Sampler 11 PostProcessor A Assertion AA Listener I - Rule 2 applied PreProcessor 1 Sampler 12 PostProcessor A Assertion AA Listener I - Rule 2 applied PreProcessor 2 PreProcessor 1 Sampler 21 PostProcessor B PostProcessor A Assertion BB Assertion AA Listener J - Rule 3 applied Listener I PreProcessor 2 PreProcessor 1 Sampler 22 PostProcessor B PostProcessor A Assertion BB Assertion AA Listener J - Rule 3 applied Listener I PreProcessor 2 PreProcessor 1 PreProcessor 3 Sampler 23 PostProcessor B PostProcessor A PostProcessor C Assertion CC Assertion BB Assertion AA Listener K - Rule 4 applied Listener J - Rule 3 applied Listener I PreProcessor 1 Sampler Z PostProcessor A Assertion AA Listener I - Rule 2 applied
⇒ JMeter Execution Order - Configurations
⇐ JMeter Execution Order - Assertions
2018-10-13, 2392🔥, 0💬
Popular Posts:
What are JMeter command line options? You can get see JMeter command line options by running this co...
How to set Content-Type to application/json? The server requires the Content-Type to be application/...
How to generate IP Addresses? To help you to obtain some IP addresses for testing purpose, FYIcenter...
Where to find tutorials on Test Management? I want to know how to manage software testing documents ...
How to access Response Status Code 400 as Success? My sampler failed, because the server returns the...