Forum Discussion
Hi Steve,
With below code created in junit i am abe to create test case.
But do not know why tes case are not reflecting in soap gui?
import com.eviware.soapui.model.workspace.Workspace;
import com.eviware.soapui.support.SoapUIException;
import com.eviware.soapui.support.action.SoapUIAction;
import com.eviware.soapui.model.project.ProjectFactoryRegistry;
import org.apache.xmlbeans.*;
public class Helloo extends javafx.application.Application
{
@SuppressWarnings({ "unchecked", "deprecation" })
test
public void testSoapUI() throws IOException, InterruptedException {
System.out.println("Hello Wrld");
try {
WsdlProject project = new WsdlProject();
boolean createRequests = true;
project.importWsdl("http://api.bing.net/search.wsdl", createRequests);
project.setName("p");
System.out.println(""+project.getPath());
WsdlInterface[] inter = WsdlInterfaceFactory.importWsdl(project, "http://api.bing.net/search.wsdl", true);
project.addNewTestSuite("ram").addNewTestCase("case1");
TestSuite testSuite = project.getTestSuiteByName( "ram" );
TestCase testCase = testSuite.getTestCaseByName( "case1" );
TestRunner runner = testCase.run( new PropertiesMap(), false );
} catch (Exception e) {
e.printStackTrace();
}
}
@Override
public void start(Stage primaryStage) throws Exception {
// TODO Auto-generated method stub
}
}
Hello ,is there any one who can help me in achieving the above scenario discussed?
- steveKubik8 years agoOccasional ContributorHi All, I am also facing same issue and could you please anyone help us on this
- punter8 years agoContributorHi Steve,
Did u get your resolution?- punter8 years agoContributorIs there any one who can help us on this issue?
- punter8 years agoContributor
Hello All ,
I have impemented that soap ui automation using Eclipse.
But i want to take screen shots of soap ui response using auto it or sikuli during run time of soap test cases.
Can anyone help me on that?
- punter8 years agoContributor
Hello All ,
I have impemented that soap ui automation using Eclipse.
But i want to take screen shots of soap ui response using auto it or sikuli during run time of soap test cases.
Can anyone help me on that?
Related Content
- 4 years ago
Recent Discussions
- 15 years ago