Ok, I found solution by SoapUITestCaseRunner:
[tt:1jzbn7z6]SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setEndpoint("http://myserver:9001");
runner.setOutputFolder("target/soapui-errors");
runner.setProjectFile(projectXmlFile);
runner.setTestSuite(testSuiteName);
runner.setTestCase(testCaseName);
try {
runner.run();
} catch (Exception ex) {
throw new AssertionError(buildTestCaseReport(testCase, testRunner) + " " + ex.toString());
}[/tt:1jzbn7z6]
It's a bad solution, because I can not cache the project xml and load test takes a long time. But other solutions did not work.
Boys, it needs more documentation!
