Getting cfhttp execution time

Hi,

I would like to log the execution time for a cfhttp post I am doing to a client api without using getTickCount() does anyone know if the execution time exists within the output?

Cheers
Leigh
LmillardAsked:
Who is Participating?
 
SidFishesConnect With a Mentor Commented:
Don't believe there is.

the only variables returned are:
cfhttp.charSet
cfhttp.errorDetail
cfhttp.fileContent
cfhttp.header
cfhttp.mimeType
cfhttp.responseHeader
cfhttp.statusCode
cfhttp.text


CF_http5 which is a $50 replacement for cfhttp does offer this (and a whole lot more) with it's HTTPTIME (The value of this variable is the total request execution time in milliseconds.  This time includes all overhead added by the tag.) function

http://www.cftagstore.com/?page=viewTag&tagId=146

0
 
LmillardAuthor Commented:
Thanks for that, looks like it will do what I need.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.