问题
I wanted to stop jmeter if my conditional logic is false,suppose if one of my conditions gets failed then i need to stop immediately all my threads(jmeter) during run time,so that is there any way stop it running time through code not manually(not thru action to be taken after a sampler error)
Thanks, in advance
回答1:
There is 2 options for you:
- If your condition can be expressed in If Controller, then use standard Test Action Component to stop test
- If you want to stop test when response time or error rate increases some threshod, then use custom AutoStop Component
来源:https://stackoverflow.com/questions/15288200/how-to-stop-jmeter-during-runtime-based-on-coditions