| java.lang.Object com.eviware.soapui.tools.AbstractSoapUIRunner com.eviware.soapui.tools.SoapUILoadTestRunner
SoapUILoadTestRunner | public class SoapUILoadTestRunner extends AbstractSoapUIRunner implements LoadTestRunListener(Code) | | Standalone test-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 |
Method Summary | |
public void | afterLoadTest(LoadTestRunner loadTestRunner, LoadTestRunContext context) | public void | afterTestCase(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestRunner testRunner, TestRunContext runContext) | public void | afterTestStep(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestRunner testRunner, TestRunContext runContext, TestStepResult testStepResult) | public void | beforeLoadTest(LoadTestRunner loadTestRunner, LoadTestRunContext context) | public void | beforeTestCase(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestRunner testRunner, TestRunContext runContext) | public void | beforeTestStep(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestRunner testRunner, TestRunContext runContext, TestStep testStep) | protected SoapUIOptions | initCommandLineOptions() | public void | loadTestStarted(LoadTestRunner loadTestRunner, LoadTestRunContext context) | public void | loadTestStopped(LoadTestRunner loadTestRunner, LoadTestRunContext context) | public static void | main(String[] args) Runs the loadtests in the specified soapUI project file, see soapUI xdocs for details. | protected boolean | processCommandLine(CommandLine cmd) | public void | run() | public void | runSuite(TestSuite suite) | public void | setDomain(String domain) | public void | setEndpoint(String endpoint) | public void | setHost(String host) | public void | setLoadTest(String loadTest) | public void | setOutputFolder(String outputFolder) | public void | setPassword(String password) | public void | setPrintReport(boolean printReport) | public void | setTestCase(String testCase) | public void | setTestSuite(String testSuite) Sets the TestSuite to run. | public void | setUsername(String username) | public void | setWssPasswordType(String wssPasswordType) Sets the WSS password-type to use for any authentications. |
SoapUILoadTestRunner | public SoapUILoadTestRunner()(Code) | | |
SoapUILoadTestRunner | public SoapUILoadTestRunner(String title)(Code) | | |
initCommandLineOptions | protected SoapUIOptions initCommandLineOptions()(Code) | | |
main | public static void main(String[] args)(Code) | | Runs the loadtests in the specified soapUI project file, see soapUI xdocs for details.
Parameters: args - throws: Exception - |
processCommandLine | protected boolean processCommandLine(CommandLine cmd)(Code) | | |
run | public void run() throws Exception(Code) | | Runs the testcases as configured with setXXX methods
throws: Exception - thrown if any tests fail |
runSuite | public void runSuite(TestSuite suite)(Code) | | Run tests in the specified TestSuite
Parameters: suite - the TestSuite to run |
setDomain | public void setDomain(String domain)(Code) | | Sets the domain to use for any authentications
Parameters: domain - the domain to use for any authentications |
setEndpoint | public void setEndpoint(String endpoint)(Code) | | Sets the endpoint to use for all test requests
Parameters: endpoint - the endpoint to use for all test requests |
setHost | public void setHost(String host)(Code) | | Sets the host to use by all test-requests, the existing endpoint port and path will be used
Parameters: host - the host to use by all requests |
setOutputFolder | public void setOutputFolder(String outputFolder)(Code) | | |
setPassword | public void setPassword(String password)(Code) | | Sets the password to use for any authentications
Parameters: domain - the password to use for any authentications |
setPrintReport | public void setPrintReport(boolean printReport)(Code) | | |
setTestCase | public void setTestCase(String testCase)(Code) | | Sets the testcase to run
Parameters: testCase - the testcase to run |
setTestSuite | public void setTestSuite(String testSuite)(Code) | | Sets the TestSuite to run. If not set all TestSuites in the specified project file are run
Parameters: testSuite - the testSuite to run. |
setUsername | public void setUsername(String username)(Code) | | Sets the username to use for any authentications
Parameters: domain - the username to use for any authentications |
setWssPasswordType | public void setWssPasswordType(String wssPasswordType)(Code) | | Sets the WSS password-type to use for any authentications. Setting this will result
in the addition of WS-Security UsernamePassword tokens to any outgoing request containing
the specified username and password.
Parameters: wssPasswordType - the wss-password type to use, either 'Text' or 'Digest' |
Fields inherited from com.eviware.soapui.tools.AbstractSoapUIRunner | protected static Logger log(Code)(Java Doc)
|
|
|