Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi,
I tried the SubmitListener.afterSubmit event with the code from http://www.soapui.org/Functional-Testin ... the-rescue, and it is removing the CDATA tags for me:
I have not used the RequestFilter.afterRequest with the code you pasted. You will need one of the events disabled while running. Is there other errors occuring before getting to the event handlers?
Regards,
Marcus
SmartBear Support
I tried the SubmitListener.afterSubmit event with the code from http://www.soapui.org/Functional-Testin ... the-rescue, and it is removing the CDATA tags for me:
if( submit.response == null )
return
def content = submit.response.responseContent
content = content.replaceAll( "<!\\[CDATA\\[", "" )
content = content.replaceAll( "]]>", "" )
log.info( content )
submit.response.responseContent = content
I have not used the RequestFilter.afterRequest with the code you pasted. You will need one of the events disabled while running. Is there other errors occuring before getting to the event handlers?
Regards,
Marcus
SmartBear Support