// get the headers of the request
def response = messageExchange.getResponseContent()
def headers = messageExchange.getResponseHeaders()
log.info headers
//get the conLength of the headers
def conLength = headers["Content-Type"]
// get the string conLength , exclude the []
log.info conLength
时间: 2024-10-09 17:49:22