use of com.eviware.soapui.tools.SoapUITestCaseRunner in project jag-pcss-civil by bcgov.
the class TestService method runAllCivilTests.
public File runAllCivilTests() throws IOException {
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setProjectFile("JusticePCSSsecure-soapui-project.xml");
try {
runner.run();
} catch (Exception ignored) {
}
try {
runner.setProjectFile("PCSSCivil-soapui-project.xml");
runner.run();
} catch (Exception Ignore) {
}
return zipAndReturnErrors();
}
use of com.eviware.soapui.tools.SoapUITestCaseRunner in project iesi by metadew.
the class SOAPUIIntegration method main.
public static void main(String[] args) {
try {
getTestSuite();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.exit(0);
// https://www.soapui.org/test-automation/junit/junit-integration.html#_ga=2.157007227.1117033134.1563254348-690893157.1557407813
// out-app-analytics-provider-5.5.0.jar causes issues in eclipse on the build
// path
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setProjectFile("c:/Data/ApiCase-soapui-project.xml");
try {
runner.run();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
WsdlProject project;
try {
project = new WsdlProject("c:/Data/ApiCase-soapui-project.xml");
TestSuite testSuite = project.getTestSuiteByName("https://sandbox.api.belfius.be:8443 TestSuite");
// TestCase testCase = testSuite.getTestCaseByName( "Test Conversions" );
// create empty properties and run synchronously
TestRunner runner2 = testSuite.run(new PropertiesMap(), false);
System.out.println(runner2.getStatus());
} catch (XmlException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SoapUIException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
use of com.eviware.soapui.tools.SoapUITestCaseRunner in project jag-pcss-civil by bcgov.
the class TestService method runAllCommonTests.
public File runAllCommonTests() throws IOException {
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
try {
runner.setProjectFile("PCSSCommon-soapui-project.xml");
runner.run();
} catch (Exception Ignore) {
}
try {
runner.setProjectFile("PCSSCommonSecure-soapui-project.xml");
runner.run();
} catch (Exception Ignore) {
}
return zipAndReturnErrors();
}
use of com.eviware.soapui.tools.SoapUITestCaseRunner in project jag-pcss-civil by bcgov.
the class TestService method runAllCriminalTests.
public File runAllCriminalTests() throws IOException {
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
try {
runner.setProjectFile("PCSS-CRIMINAL-soapui-project.xml");
runner.run();
} catch (Exception Ignore) {
}
try {
runner.setProjectFile("pcssCriminalSecure-soapui-project.xml");
runner.run();
} catch (Exception Ignore) {
}
return zipAndReturnErrors();
}
Aggregations