This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am very new to groovy , and I have a input request that is one of the test step of a test suite/Test case in soap UI 4.5.1, the requirement is to remove a node based on some conditional check and write back to the test step, here is the XML:
And I want to remove the node <Cover key="2"> So I wrote this groovy script in soapUIPro 4.5.1:
It prints done,but I don't see anything happening, so obviously I need to set the context or request? but did not find the right API docs for that, please kindly help anyone.
Joined: Sep 03, 2010
Never mind. removeNodes do not work for some reason. So, I switched to XmlParser.