I am trying to capture web service response via Groovy client, I have to check for duplicate header keys in response. I am capturing response headers using messageExchage.responseHeaders(), but since it returns map, It gives me each key only once, even though it is present twice in a response. is there a way to get this in Array or some other data structure ?
Share
1 Answer