Solved

Getting cfhttp execution time

Posted on 2011-09-08
2
428 Views
Last Modified: 2012-08-14
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
0
Comment
Question by:Lmillard
2 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 36502786
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
 

Author Closing Comment

by:Lmillard
ID: 36502950
Thanks for that, looks like it will do what I need.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question