Angus Robertson 574 Posted Monday at 11:32 AM Public property RespDateDT Angus Share this post Link to post
KBazX 0 Posted Monday at 12:14 PM I'm sorry, I phrased the question incorrectly. I meant the duration of the request execution by the server. Share this post Link to post
FPiette 384 Posted Monday at 01:47 PM 1 hour ago, KBazX said: I'm sorry, I phrased the question incorrectly. I meant the duration of the request execution by the server. You have to see that at server side. Anything you measure at client side will include transport time and some processing by the receiver. I the server can't tell you the execution time, you can get an approximation by using a network sniffer such as Wireshark. Using this tool you can get the timestamp of the request and the timestamp of the response. The difference gives you the execution by the server. Share this post Link to post
KBazX 0 Posted 8 hours ago On 11/25/2024 at 4:47 PM, FPiette said: You have to see that at server side. Anything you measure at client side will include transport time and some processing by the receiver. I the server can't tell you the execution time, you can get an approximation by using a network sniffer such as Wireshark. Using this tool you can get the timestamp of the request and the timestamp of the response. The difference gives you the execution by the server. I just need the total time it takes to get a response from the web service. That is, taking into account network delays, web server delays, etc. Share this post Link to post
Angus Robertson 574 Posted 7 hours ago Just keep the time or tick count before you make the request, and again afterwards. The component can do this internally for sessions, bur not single requests. Angus Share this post Link to post
KBazX 0 Posted 7 hours ago 24 minutes ago, Angus Robertson said: Just keep the time or tick count before you make the request, and again afterwards. The component can do this internally for sessions, bur not single requests. I'm doing this in the OnStateChange-event for now. I'm tracking states httpDnsLookupDone and httpBodyReceived. Share this post Link to post
FPiette 384 Posted 2 hours ago 6 hours ago, KBazX said: I just need the total time it takes to get a response from the web service. That is, taking into account network delays, web server delays, etc. Always ask the good question so that we don't waste our time answering something unwanted. See Angus answer. Share this post Link to post