Contributions
Re: Update definition of interface
Thanks for your response. But it does not work in my side, could you please help to check? I cannot run:updateWsdl.updateRequests() It got error:org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.eviware.soapui.impl.rest.RestService@50705e1b' with class 'com.eviware.soapui.impl.rest.RestService' to class 'com.eviware.soapui.impl.wsdl.WsdlInterface' Thanks in advance. Thanks, Linh7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes4CommentsUpdate definition of interface
Hi all, I'm finding solution for the problem, but still not finish yet. Could you please help me? I want to update definition of interface and including checking on option: Update TestRequests Please refer to this document for more detail about update definition;https://www.soapui.org/soap-and-wsdl/reference/wsdl-interface.html Here is script I use: myInterface=(WsdlInterface) testRunner.testCase.testSuite.project.getInterfaceByName("interfacename"); myInterface.updateDefinition(url, false) recreateRequests(myInterface,false,false,false,false); recreateTestRequests(myInterface,false,false,false,false); updateTestRequests(myInterface,true,true,true,true); Thanks in advance. Best regards, Linh2.4KViews0likes7Comments