如果SOAP请求是作为HTTP POST调用提交的,则xml内容为POST正文,
prev.getSamplerData()将包含请求信息。
示例:
在beanshell后处理器中:
vars.put("requestData", prev.getSamplerData());结果是:
requestData=POST urlPOST data:<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> ... </soap:Body></soap:Envelope>



