Forum Discussion
GiscardN
11 years agoFrequent Contributor
Hi, you can use a script in a RequestFilter.filterRequest event to remove empty nodes from your
request. You can learn more how to work with event handlers here:
http://www.soapui.org/Scripting‐Properties/custom‐event‐handlers.html
You could further customize your script to run in a loop and check whether there are (still) empty parent nodes once an empty (child) node has been removed. Custom Groovy solutions are outside of the scope of our support, but I hope this can get you started.
Please see this post in our forum also:http://forum.soapui.org/viewtopic.php?f=2&t=21175&sid=b8f0f8db79324a37670e432dc5b5ced9&sid=b8f0f8db79324a37670e432dc5b5ced9#p48766
Thanks,
Giscard
SmartBear Software
request. You can learn more how to work with event handlers here:
http://www.soapui.org/Scripting‐Properties/custom‐event‐handlers.html
You could further customize your script to run in a loop and check whether there are (still) empty parent nodes once an empty (child) node has been removed. Custom Groovy solutions are outside of the scope of our support, but I hope this can get you started.
Please see this post in our forum also:http://forum.soapui.org/viewtopic.php?f=2&t=21175&sid=b8f0f8db79324a37670e432dc5b5ced9&sid=b8f0f8db79324a37670e432dc5b5ced9#p48766
Thanks,
Giscard
SmartBear Software
Related Content
- 6 years ago
- 14 years ago
Recent Discussions
- 21 hours ago
- 4 days ago