Forum Discussion
sburkard
11 years agoOccasional Contributor
If you want to find out if soapui was called from the GUI or not, you can also check if the workspace is null:
def workspace = testRunner.testCase.testSuite.project.getWorkspace()
if(workspace != null) {
// called by GUI
} else {
// called by command line
}