Forum Discussion
Marc_Ludwig
18 years agoOccasional Contributor
OK. I'm implementing now.
Thanks for the pointer.
One further question.
I am wanting to execute the SoapUI Pro Test Suites both within the tool, and as part of our build/junit test suite.
I've wrapped a suite up within a JUnit Test as follows:
I can't however find away of providing the Project File without a fully qualified path, regardless of where I place the file.
Is there a way round this.
Many Thanks
Thanks for the pointer.
One further question.
I am wanting to execute the SoapUI Pro Test Suites both within the tool, and as part of our build/junit test suite.
I've wrapped a suite up within a JUnit Test as follows:
SoapUIProTestCaseRunner runner = new SoapUIProTestCaseRunner();
runner.setPassword(ApiTestParameter.getSenderPassword());
runner.setUsername(ApiTestParameter.getSenderUsername());
runner.setWssPasswordType("Text");
runner.setProjectFile("C:/blah/blah/blah/soapui/Search Integration Tests-soapui-project.xml");
runner.setEndpoint(ApiTestParameter.getWebServicesUrl() + SearchEndpointIntTest.RELATIVE_ENDPOINT);
runner.runRunner();
I can't however find away of providing the Project File without a fully qualified path, regardless of where I place the file.
Is there a way round this.
Many Thanks