You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by masood ghasemzadeh <ma...@gmail.com> on 2012/11/21 13:51:25 UTC

How to pass binary file to Web Service Sampler?

Hi everyone,

I'm kinda new to the mailing list and JMeter.
I'm planning to test some web-services using Web Services Sampler and as
far as I found, the only way to invoke their methods are, to generate a
SOAP request in XML format and then call them (please correct me if I'm
wrong).
Most of our web-services need binary files as the input parameters. How can
I pass these binary files to the Web Service Sample? I use SOAPUI to
generate my SOAP XML Requests.
Any idea? I will appreciate that.

Regards
-- 
Yours Faithfully,
Masood Ghasemzadeh

Re: How to pass binary file to Web Service Sampler?

Posted by sebb <se...@gmail.com>.
On 21 November 2012 12:51, masood ghasemzadeh <ma...@gmail.com> wrote:
> Hi everyone,
>
> I'm kinda new to the mailing list and JMeter.
> I'm planning to test some web-services using Web Services Sampler and as
> far as I found, the only way to invoke their methods are, to generate a
> SOAP request in XML format and then call them (please correct me if I'm
> wrong).
> Most of our web-services need binary files as the input parameters. How can
> I pass these binary files to the Web Service Sample? I use SOAPUI to
> generate my SOAP XML Requests.
> Any idea? I will appreciate that.

Use a different sampler:

http://jmeter.apache.org/usermanual/component_reference.html#SOAP/XML-RPC_Request
or
http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request

Both of the above can send arbitrary files.

> Regards
> --
> Yours Faithfully,
> Masood Ghasemzadeh

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org