log.info "...first line.........."
testRunner.cancel( "Stop the testRunner" )
return
log.info "...second line.........."
Another way I found was to have an end step, say called "End". In there I just have a log message saying something like :
log.info "test complete"
In the conditional I can then simply do the following:
testRunner.gotoStepByName("End")
Any of the interim test steps are skipped over. Just another way of cracking the nut.