How to stop thread If response assertion fails in Jmeter

后端 未结 2 1920
天命终不由人
天命终不由人 2021-02-19 05:52

I want to implement error handling in my script (like textcheck in LR).

I’m able to validate the Text using Response Assertion.

But my question is how to stop th

2条回答
  •  情深已故
    2021-02-19 06:47

    In Thread group, choose Stop Thread under Action to be taken after a sample error. This will stop the test once assertion fails

提交回复
热议问题