Create new file
vim curl-format.txt
paste below format
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
———-\n
time_total: %{time_total}\n
Make request with -w “@curl-format.txt” option as below
curl -w “@curl-format.txt” -v -X GET http://xxxxxxxxxxxxxxxxxxxxx.xml -H “Content-Type: application/xml”