Ask a Question

how to convert soap request to curl

suren343
New Contributor

how to convert soap request to curl

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.

3 REPLIES 3
JHunt
Community Hero

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.

 

jonas_d
Established Member

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.

rupert_anderson
Valued Contributor

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

Author of SoapUI Cookbook
cancel
Showing results for 
Search instead for 
Did you mean: