return <https://www.w3schools.com/java/ref_keyword_return.asp> keyword will stop the sampler execution once it's reached.
If you add a string like: > return 'A' the JSR223 Sampler result will be *A* no lines after the *return* keyword will be executed. More information on Groovy scripting in JMeter: Apache Groovy - Why and How You Should Use It <https://www.blazemeter.com/blog/groovy-new-black> -- Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
