Global verification function in JMeter
Can we put global verification function in JMeter script as like in load runner
web_global_verification("Text/IC=ERROR", "Fail=Found", "Search=Body", LAST);
carriann last edited by
You can use Response Assertion configured like:
So if there will be
errortext (case insensitive) in any of Samplers that Sampler will be marked as failed
JMeter Assertions obey JMeter Scoping Rules therefore you need to either place it at the same level as the Samplers you would like to check or a level higher. If you make the assertion a child of the Sampler - it will be applied to that sampler only.