2

We have a web service that is called by a third party. Third party's rules are that the service must return a response within 10 seconds.

We log all of the processing time, from when we receive the request, to when the web method exits.

Our problem: our third party is telling us that we are taking over 10 seconds, but according to our logs, we are finished processing well within time limit.

I suspect that the third party is having a connectivity problem, and that the time is lost after we complete processing, but while the response is coming down the wire. Our in-application logging can't captuer that timing (that I know of) because our web method has already returned.

Is there any IIS logging feature that we could use capture the time spent returning the response?

4

1 に答える 1

3

The time-taken entry in your logs accounts for the time it takes for the client to send the acknowledgment back to the server or reset the connection.

http://blogs.msdn.com/b/mike/archive/2008/11/13/time-vs-time-taken-fields-in-iis-logging.aspx

You'll want to also make use of the win32-status to determine when there is an issue.

于 2013-05-02T02:52:34.563 に答える