Quantcast

Testing SOAP messages with attachment

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Testing SOAP messages with attachment

mitsm
This post has NOT been accepted by the mailing list yet.
Hello

I have a SOAP Request which takes a "gz.tar" file as input which will be uploaded to the server.

Any ideas how can this be done through jmeter?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Testing SOAP messages with attachment

glinius@live.com
This post has NOT been accepted by the mailing list yet.
Looking into Bug 53628 there is no easy way of creating such requests using JMeter. You can check out the following solutions:

 1. Custom Soap Sampler which seems to be supporting file uploads
 2. Build your request manually using HTTP Request sampler like it described in Testing REST API File Uploads in JMeter
 3. If you are able to send the request with SoapUI or equivalent - just record the corresponding request via JMeter's HTTP(S) Test Script Recorder
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Testing SOAP messages with attachment

mitsm
This post has NOT been accepted by the mailing list yet.
Thanks for quick and effective pointers gilinius.

I will quickly take a look into the suggested options and will revert back.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Testing SOAP messages with attachment

mitsm
This post has NOT been accepted by the mailing list yet.
I got this through by using the Custom SOAP Sampler.

Thanks Glinius.
Loading...