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,
Isana