?
Solved

Getting cfhttp execution time

Posted on 2011-09-08
2
Medium Priority
?
447 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 2000 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

765 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