Can we capture the web service call out request and web service call out response times.I am able to see these times in debug logs.But i am unable to capture these time.Could you please help on this.
Please find below screen shot.
User-added image
Need to capture the call out request and call out response time in diffrent stings.
Could you please help on this.
-
Please add your code to your question so we can see what you've tried. – Koen Wesselman Feb 12 '15 at 11:33
Add a comment
|
You can put simple System.Now() before and after the call-out statement.
Example
public sendSMS()
{
DateTime t = System.Now();
// Do Webservice Callout
// .... callout statement
DateTime t2 = System.Now();
// perform operation according to two datetime received.
}