Contributions
Active enviroment of other project in current project using groovy
HI Team, I am trying to access active environment of a project into my current project but it always return me default environment even though environment is not default. Code is below: project = new WsdlProject(projectPath+"/SharedService-readyapi-project.xml"); log.info project.getActiveEnvironment().getName()1.7KViews0likes4CommentsHow to run SoapUI project(wsdl) from eclipse
Following code invokes project and run it. But i am getting error when it executes groovy.test step at line - def responseAsXml = context.expand( '${AIR Search (BEAPI)#ResponseAsXml#declare namespace ns1=\'http://iapi.tbotechnology.in/BookingEngineServices/BEAirService/BapiAirServiceImpl.svc/rest/search/\'; //ns1:Response[1]/ns1:Response[1]/ns1:Results[1]}' ) Eclipse code: WsdlProject project=new WsdlProject("E:\\IAPI\\Automation\\BookingEngineAir-soapui-project.xml"); //Grab the Test suite in the project WsdlTestSuite testsuite=project.getTestSuiteByName("TestSuite"); //Grab the testcases present in test suite //for(int i=0;i<testsuite.getTestCaseCount();i++) //{ // WsdlTestCase testCase =testsuite.getTestCaseAt(i); WsdlTestCase testCase =testsuite.getTestCaseByName("LCC Domestic Oneway Direct Flight"); WsdlTestCaseRunner runner=testCase.run(new PropertiesMap(), false); Assert.assertEquals(Status.FINISHED, runner.getStatus());Solved4 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.4KViews0likes8CommentsRe: How to run SoapUI project(wsdl) from eclipse
I tried that too. On running command it asks me for license. I don't have it on that server. Thats why thought of running soapUI project as java project in eclipse. Can't it be done ?4 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews0likes2Comments