how to convert soap request to curl

Originally posted by suren343 on February 28, 2018

I am using SOAP UI 5.4.0 and would like to know, how to convert a soap request to curl command , to test it on server.

Originally posted by JHunt on March 02, 2018

Is this really a SoapUI question?

Anyway, after searching google for ‘curl soap request’, seems to describe the process for making a SOAP request.

http://dasunhegoda.com/make-soap-request-command-line-curl/596/

Do you mean that you want the curl command to call your SoapUI MockService? Just give your machines hostname or IP and the port.

Originally posted by jonas_d on March 09, 2018

I think the question was : is it possible to generate a ‘ready-to-use’ cURL request from a Soap request in SoapUI. Something like ‘copy as cURL’.

As far as I know this isn’t possible in SoapUI or ReadyAPI.

I usually use Postman to recreate my Soap request, test it and then use the ‘generate code snippets’ feature to just copy the entire request as cURL.

Originally posted by rupert_anderson on March 09, 2018

Hi,

Maybe this would be a nice plugin/extension to SoapUI, maybe add it as a feature request?

https://community.smartbear.com/t5/SoapUI-Feature-Requests/idb-p/SoapUIFeatureRequests

Thanks,

Rupert