Sanjay Sharma wrote:
Hi,

We have around 500+ APIs, and we want to apply  different response
assertions for all the APIs.. Is there any way we can apply assertions in
one place and it will be applied to all the child APIs?


Thanks

Yes, JMeter Assertions obey JMeter Scoping Rules <https://jmeter.apache.org/usermanual/test_plan.html#scoping_rules> so if you place an Assertion at the same level as several Samplers <https://jmeter.apache.org/usermanual/component_reference.html#samplers> - it will be executed after each of them and applied to each of them.

More information: How to Use JMeter Assertions in Three Easy Steps <https://www.blazemeter.com/blog/jmeter-assertions>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to