Soap UI vs Curl Response tIme Difference

A soap service built using spring was organized in one of our data centers. When I test through the SOAP interface, I get a response in 1 second or less. However, when I run the same request through CURL, it takes more than 30 seconds to complete. I execute both commands from the same machine. What could be the reason for this difference?

curl  -H "Content-Type: text/xml; charset=utf-8" -H "SOAPAction:"  -d @request.xml <endpoint>
+4
source share
1 answer

A few things to consider:

, curl :

curl -H 'Content-Type: application/soap+xml; charset=UTF-8' \
     -H 'SOAPAction: Some-Action' \
     --data-binary @request.xml \
     <endpoint>
+3

Source: https://habr.com/ru/post/1689417/


All Articles