public class SoapUIMockServiceRunner extends AbstractSoapUIRunner
For standalone usage, set the project file (with setProjectFile) and other desired properties before calling run
Modifier and Type | Class and Description |
---|---|
class |
SoapUIMockServiceRunner.LogListener |
AbstractSoapUIRunner.SoapUIOptions
Modifier and Type | Field and Description |
---|---|
static String |
TITLE |
ABNORMAL_TERMINATION, log, NORMAL_TERMINATION
Constructor and Description |
---|
SoapUIMockServiceRunner() |
SoapUIMockServiceRunner(String title) |
Modifier and Type | Method and Description |
---|---|
protected void |
exportReports() |
WsdlProject |
getProject() |
String |
getProjectPassword() |
protected AbstractSoapUIRunner.SoapUIOptions |
initCommandLineOptions() |
protected void |
initProject() |
static void |
main(String[] args)
Runs the specified MockService in the specified SoapUI project file, see
SoapUI xdocs for details.
|
protected boolean |
processCommandLine(org.apache.commons.cli.CommandLine cmd) |
void |
runMockService(MockService mockService)
Runs the specified MockService
|
boolean |
runRunner() |
void |
setBlock(boolean block) |
void |
setMockService(String mockService) |
void |
setPath(String path) |
void |
setPort(String port) |
void |
setProjectPassword(String projectPassword) |
void |
setSaveAfterRun(boolean saveAfterRun) |
void |
stopAll() |
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, validateCommandLineArgument
public static String TITLE
public SoapUIMockServiceRunner()
public SoapUIMockServiceRunner(String title)
public static void main(String[] args) throws Exception
args
- Exception
public void setMockService(String mockService)
public void setPath(String path)
public void setPort(String port)
public boolean runRunner() throws Exception
runRunner
in class AbstractSoapUIRunner
Exception
public void runMockService(MockService mockService)
mockService
- protected AbstractSoapUIRunner.SoapUIOptions initCommandLineOptions()
initCommandLineOptions
in class AbstractSoapUIRunner
protected boolean processCommandLine(org.apache.commons.cli.CommandLine cmd)
processCommandLine
in class AbstractSoapUIRunner
public void setProjectPassword(String projectPassword)
setProjectPassword
in class AbstractSoapUIRunner
public String getProjectPassword()
getProjectPassword
in class AbstractSoapUIRunner
public void setBlock(boolean block)
public void setSaveAfterRun(boolean saveAfterRun)
public WsdlProject getProject()
public void stopAll()
Copyright © 2019. All Rights Reserved.