com.eviware.soapui.tools
Class SoapUIMockServiceRunner
java.lang.Object
com.eviware.soapui.tools.AbstractSoapUIRunner
com.eviware.soapui.tools.SoapUIMockServiceRunner
public class SoapUIMockServiceRunner
- extends AbstractSoapUIRunner
Standalone tool-runner used from maven-plugin, can also be used from
command-line (see xdocs) or directly from other classes.
For standalone usage, set the project file (with setProjectFile) and other
desired properties before calling run
- Author:
- Ole.Matzura
Field Summary |
static java.lang.String |
TITLE
|
Methods inherited from class com.eviware.soapui.tools.AbstractSoapUIRunner |
createSoapUICore, ensureFolder, ensureOutputFolder, getAbsoluteOutputFolder, getCommandLineOptionSubstSpace, getModelItemOutputFolder, getOutputFolder, getProjectFile, getSettingsFile, getSoapUISettingsPassword, initFromCommandLine, initGroovyLog, initProjectProperties, isEnableUI, run, runFromCommandLine, setEnableUI, setGlobalProperties, setOutputFolder, setProjectFile, setProjectProperties, setSettingsFile, setSoapUISettingsPassword, setSystemProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TITLE
public static java.lang.String TITLE
SoapUIMockServiceRunner
public SoapUIMockServiceRunner()
SoapUIMockServiceRunner
public SoapUIMockServiceRunner(java.lang.String title)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Runs the specified MockService in the specified soapUI project file, see
soapUI xdocs for details.
- Parameters:
args
-
- Throws:
java.lang.Exception
setMockService
public void setMockService(java.lang.String mockService)
setPath
public void setPath(java.lang.String path)
setPort
public void setPort(java.lang.String port)
runRunner
public boolean runRunner()
throws java.lang.Exception
- Specified by:
runRunner
in class AbstractSoapUIRunner
- Throws:
java.lang.Exception
initProject
protected void initProject()
throws java.lang.Exception
- Throws:
java.lang.Exception
exportReports
protected void exportReports()
throws java.lang.Exception
- Throws:
java.lang.Exception
runMockService
public void runMockService(WsdlMockService mockService)
- Runs the specified MockService
- Parameters:
mockService
-
initCommandLineOptions
protected AbstractSoapUIRunner.SoapUIOptions initCommandLineOptions()
- Specified by:
initCommandLineOptions
in class AbstractSoapUIRunner
processCommandLine
protected boolean processCommandLine(org.apache.commons.cli.CommandLine cmd)
- Specified by:
processCommandLine
in class AbstractSoapUIRunner
setProjectPassword
public void setProjectPassword(java.lang.String projectPassword)
getProjectPassword
public java.lang.String getProjectPassword()
setBlock
public void setBlock(boolean block)
setSaveAfterRun
public void setSaveAfterRun(boolean saveAfterRun)
getProject
public WsdlProject getProject()
stopAll
public void stopAll()
Copyright © 2005-2010 eviware.com. All Rights Reserved.