public class SoapUIToolRunner extends AbstractSoapUIRunner implements ToolHost, RunnerContext
For standalone usage, set the project file (with setProjectFile) and other desired properties before calling run
AbstractSoapUIRunner.SoapUIOptionsRunnerContext.RunnerStatus| Modifier and Type | Field and Description | 
|---|---|
| static String | TITLE | 
ABNORMAL_TERMINATION, log, NORMAL_TERMINATION| Constructor and Description | 
|---|
| SoapUIToolRunner() | 
| SoapUIToolRunner(String title) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | disposeContext() | 
| String | getProjectPassword() | 
| RunnerContext.RunnerStatus | getStatus() | 
| String | getTitle() | 
| protected AbstractSoapUIRunner.SoapUIOptions | initCommandLineOptions() | 
| void | log(String msg) | 
| void | logError(String msg) | 
| static void | main(String[] args)Runs the specified tool in the specified soapUI project file, see SoapUI
 xdocs for details. | 
| protected boolean | processCommandLine(org.apache.commons.cli.CommandLine cmd) | 
| void | run(ToolRunner runner) | 
| boolean | runRunner() | 
| void | runTool(Interface iface)Runs the configured tool(s) for the specified interface. | 
| void | setInterface(String iface) | 
| void | setProjectPassword(String projectPassword) | 
| void | setStatus(RunnerContext.RunnerStatus status) | 
| void | setTool(String tool)Sets the tool(s) to run, can be a comma-seperated list | 
createSoapUICore, ensureConsoleAppenderIsDefined, ensureFolder, ensureOutputFolder, getAbsoluteOutputFolder, getCommandLineOptionSubstSpace, getLog, getModelItemOutputFolder, getOutputFolder, getProjectFile, getProjectProperties, getSettingsFile, getSoapUISettingsPassword, initFromCommandLine, initGroovyLog, initProjectProperties, isEnableUI, requiresProjectArgument, run, run, runFromCommandLine, setCustomHeaders, setEnableUI, setGlobalProperties, setOutputFolder, setProjectFile, setProjectProperties, setSettingsFile, setSoapUISettingsPassword, setSystemProperties, validateCommandLineArgumentpublic static String TITLE
public SoapUIToolRunner()
public SoapUIToolRunner(String title)
public static void main(String[] args) throws Exception
args - Exceptionpublic void setTool(String tool)
tool - the tools to runpublic void setInterface(String iface)
public boolean runRunner()
                  throws Exception
runRunner in class AbstractSoapUIRunnerExceptionpublic void runTool(Interface iface)
iface - an interface that exposes an invokable operationpublic void run(ToolRunner runner) throws Exception
public RunnerContext.RunnerStatus getStatus()
getStatus in interface RunnerContextpublic String getTitle()
getTitle in interface RunnerContextpublic String getProjectPassword()
getProjectPassword in class AbstractSoapUIRunnerpublic void log(String msg)
log in interface RunnerContextpublic void logError(String msg)
logError in interface RunnerContextpublic void setStatus(RunnerContext.RunnerStatus status)
setStatus in interface RunnerContextpublic void disposeContext()
disposeContext in interface RunnerContextprotected AbstractSoapUIRunner.SoapUIOptions initCommandLineOptions()
initCommandLineOptions in class AbstractSoapUIRunnerprotected boolean processCommandLine(org.apache.commons.cli.CommandLine cmd)
processCommandLine in class AbstractSoapUIRunnerpublic void setProjectPassword(String projectPassword)
setProjectPassword in class AbstractSoapUIRunnerCopyright © 2019. All Rights Reserved.