1

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 imageenter image description here Need to capture the call out request and call out response time in diffrent stings. Could you please help on this.

1
  • Please add your code to your question so we can see what you've tried. Commented Feb 12, 2015 at 11:33

1 Answer 1

2

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.
    }

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .