Contributions
Re: Remove Empty Content
Hello Markus Thank you for your feedback. But it doesnt work. What am I doing wrong? I created an event RequestFilter.filterRequest and in "Target" I put the script you have mentioned: def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def stepName = context.getCurrentStep().getLabel() def holder = groovyUtils.getXmlHolder( stepName + "#Request" ) for( item in holder.getDomNodes( "//*[. = '']" )){ holder.removeDomNodes("//"+item.nodeName) } // update request holder.updateProperty() // write updated request back to teststep context.requestContent = holder.xml Now the data from my xls are not read anymore from the Datasource. The request ist sent with the syntax the parameters as a string value. For example: <callContext> <caller>${DataSource_P#caller}</caller> <user>${DataSource_P#user}</user> <uuid>${DataSource_P#uuid}</uuid> </callContext> instead of: <callContext> <caller>T1</caller> <user>hausi</user> <uuid>uuidT1_1</uuid> </callContext> regards, Isana11 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.3KViews0likes0CommentsRe: Remove Empty Content
Hello! I've just started testing with SoapUI and I have exactly the same problem to remove the empty content... I see it is in the "backlog SOAPUI-4059". I use SoapUI Pro 4.6.0. and what I've read about 4.6.1 and 4.6.2, it is not implemented, isn't it? Please, has somebody found another way to solve it (Groovy, etc)? Or is there "combination of tools" in 4.6.1 or 4.6.2, that would help? Regards Isana11 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.3KViews0likes0Comments