|Summary:||XOP support to handle SOAP requests with attachments|
|Component:||Main||Assignee:||JMeter issues mailing list <issues>|
Description kovacsakos 2017-11-07 09:04:53 UTC
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.
Comment 1 Michael Osipov 2018-12-04 16:11:09 UTC
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
Comment 2 kovacsakos 2018-12-05 08:47:34 UTC
Custom SOAP Sampler is unstable, sometimes it sends old attachment, when it is changed. A built-in stable solution would be much more better.
Comment 3 kovacsakos 2019-02-05 11:38:47 UTC
(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.