How to work with XML in groovy Scripts

ReadyAPI can be used for testing both SOAP and REST services. Output format of them is mainly XML / JSON. Hence it is important to know how to parse them into corresponding objects. Parsing XML Consider a scenario where output for a SOAP service or JDBC call is returning a XML containing list of person information, which we need to convert to objects. XML format is like below, which available as a response content of a ReadyAPI Step ...

February 24, 2022