'Jmeter assertions on random controller
Will there be a difference in results when we add response assertion, duration assertion to controllers instead of thread?
Solution 1:[1]
I don't know what "thread" is in your world, but Assertions obey JMeter Scoping Rules so you can apply one or more assertions to:
- a single Sampler
- several Samplers
- all Samplers in the Thread Group
- all Samplers in the Test Plan
Here is the image from the How to Use JMeter Assertions in Three Easy Steps article showing how do scoping rules work:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dmitri T |

