如何使用Jmeter for SOAP上载附加文件
我需要使用jmeter上传一个文件(xml)。我知道如何做休息电话。但这是用于SOAP请求的。 请求xml看起来像如何使用Jmeter for SOAP上载附加文件,soap,file-upload,wsdl,jmeter,Soap,File Upload,Wsdl,Jmeter,我需要使用jmeter上传一个文件(xml)。我知道如何做休息电话。但这是用于SOAP请求的。 请求xml看起来像 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://wsdl.api.doc.cdp.ipt.homeoffice.org/"> <soapenv:Header/> <soapenv:Body>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://wsdl.api.doc.cdp.ipt.homeoffice.org/">
<soapenv:Header/>
<soapenv:Body>
<wsdl:createDocument>
<input>
<instanceId>999</instanceId>
<sessionId>999</sessionId>
<content>file:aaa.xml</content>
<mimetype>xml</mimetype>
</input>
</wsdl:createDocument>
</soapenv:Body>
</soapenv:Envelope>
999
999
文件:aaa.xml
xml
您可以使用web服务soap请求采样器发布它(检查),也可以尝试Http请求采样器,请检查是否处理它