This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have prepared a Groovy script in soapUI. Somehow, the Groovy script fails to get XML element value; specifically, I always pick up the default file (i.e., FILE_FOUND_RESP). Whenever there is an exception (for example, document unique ID is ILLEGAL) the default file is still selected but not the ILLEGAL_RESP file. I am seeking help to find out my mistakes. Thank you very much in advance.
Here is my Groovy script in soapUI.
This Groovy script is supposed to read through a XML file (shown below) and get the value of the element <DocumentUniqueId>: