Groovy: Fails to Display Request Status
Oh, I got what you are point now.
You are trying to access the attributes of a node. The xpath is incorrect, that is why data is not shown for you.
Attributes are accessed using @Attribute
Here is another simple way of accessing xml data using XmlSlurper. If you notice, the data is accessed dot(.) after node name, then dot (.) and node name like how we see.
NOTE: you can replace printf with log.info