Forum Discussion
tristaanogre
8 years agoEsteemed Contributor
I think this is supposed to be posted to the SoapUI community.
- groovyguy8 years agoCommunity Hero
I am not sure you can just get the status of a groovy script. IE, I think the script has to run and then you can get the status. If you're checking this via groovy script you'd want something similar to:
def result = context.testCase.testSteps["GC"].run(testRunner, context).getStatus().toString(); if ( result == "OK") { log.info("Test Script passed.") } else { log.info("Test Script failed."); }
Related Content
- 4 years ago
- 2 years ago
Recent Discussions
- 6 days ago
- 10 days ago