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);

1 Answer 1


You can use Response Assertion configured like:

enter image description here

So if there will be error text (case insensitive) in any of Samplers that Sampler will be marked as failed

enter image description here

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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.