Caught: groovy.lang.MissingPropertyException: No such property: log for class: xmlParse1groovy.lang.MissingPropertyException: No such property: log for class: xmlParse1
My example works with the above response string or any other combination of documents if dates are in the same format. Is the latest response exactly the same?
Result is the correct dates array [10.10.2010, 13.05.2015, 23.03.2016]
Reverse sorting by date the result is 23.03.2016 for the first element so you don't need to find index 7
Just copy the code into a script assertion with no other lines.
Thank you guys for helping, both scrpits are working.