def value = messageExchange.responseHeaders["#status#"]
def httpResponseHeaders = context.testCase.testSteps["MarketsWidget"].testRequest.response.responseHeaders def httpStatus = httpResponseHeaders["#status#"] def httpStatusCode = (httpStatus =~ "[1-5]\d\d")[0] log.info httpStatusCode