I tried to send a file with a SOAP request in JMeter using dataHandler and xop. Request: <dataHandler><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:C:\\path\\to\\file"></xop:Include></dataHandler> I got error message, that request has unexpected element. I tried to use multipart/form-data for POST option, but it gives error also. As I see attachments for SOAP requests are not supported in latest version of JMeter.
The SOAP sampler has been removed from JMeter. Only HTTP Sampler which means that you have implement XOP on your own. You'd be better off with https://github.com/spinning10/JMeterSoapSampler/wiki
Custom SOAP Sampler is unstable, sometimes it sends old attachment, when it is changed. A built-in stable solution would be much more better.
(In reply to Michael Osipov from comment #1) > The SOAP sampler has been removed from JMeter. Only HTTP Sampler which means > that you have implement XOP on your own. > > You'd be better off with https://github.com/spinning10/JMeterSoapSampler/wiki Status change after last reply.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4571