Forum Discussion
HimanshuTayal
5 years agoCommunity Hero
You can use below code to get the header value and validate the same according to your need :
def expectedHeader = ["Header"] def headers = messageExchange.response.responseHeaders def actualHeader = headers['Actual Header from response'] assert expectedHeader == actualHeader
Related Content
Recent Discussions
- 6 days agoemoya