Forum Discussion
SmartBear_Suppo
11 years agoSmartBear Alumni (Retired)
Hi,
Remove the CDATA in the response tab follow this link,
http://www.soapui.org/Functional-Testin ... the-rescue
This link will remove CDATA and update the response,
Open the Project window, select the "Events" tab and add a RequestFilter.afterRequest handler. Set its content to:
//Script if( request.response == null )
return
def content = context.httpResponse.responseContent
content = content.replaceAll( "<!\\[CDATA\\[", "" )
content = content.replaceAll( "]]>", "" )
//log.info( content )
context.httpResponse.responseContent = content
This will fix the issue.
Thanks,
Jeshtha
Remove the CDATA in the response tab follow this link,
http://www.soapui.org/Functional-Testin ... the-rescue
This link will remove CDATA and update the response,
Open the Project window, select the "Events" tab and add a RequestFilter.afterRequest handler. Set its content to:
//Script if( request.response == null )
return
def content = context.httpResponse.responseContent
content = content.replaceAll( "<!\\[CDATA\\[", "" )
content = content.replaceAll( "]]>", "" )
//log.info( content )
context.httpResponse.responseContent = content
This will fix the issue.
Thanks,
Jeshtha
Related Content
- 3 years ago
Recent Discussions
- 6 days ago
- 10 days ago