WsdlProject project = new WsdlProject ("C: \ Users \ maheshwar.bhale \ Desktop \ Mahesh \ WebSerivces Soap и Rest API \ RESTProjectLibrary-soapui-project. xml");
WsdlTestSuite testSuite = project.getTestSuiteByName("LibraryTestSuite");
System.out.println(testSuite.getTestCaseCount());
for(int i=0;i<testSuite.getTestCaseCount();i++) {
WsdlTestCase testCase = testSuite.getTestCaseAt(i);
TestRunner runner = testCase.run(new PropertiesMap(), false);
System.out.println("To know status Finishd is @@@@"+Status.FINISHED);
System.out.println("To know status runner ::"+runner.getStatus().toString());
//Assert.assertEquals(runner.getStatus().toString().trim(),Status.FINISHED.toString().trim());
Assert.assertEquals(Status.FINISHED, runner.getStatus());