获取当前TestStep发送的request信息
在当前test step的Script Assertion里添加
// Get request url def requestURL = messageExchange.getEndpoint() // Get request body def requestBody = messageExchange.getRequestContent() // Get request headers def requestHeaders = messageExchange.getRequestHeaders()